Commit | Line | Data |
---|---|---|
6b6ad670 MW |
1 | ### -*-makefile-*- |
2 | ### | |
3 | ### Makefile for TrIPE server | |
4 | ### | |
5 | ### (c) 2001 Straylight/Edgeware | |
6 | ### | |
7 | ||
8 | ###----- Licensing notice --------------------------------------------------- | |
9 | ### | |
10 | ### This file is part of Trivial IP Encryption (TrIPE). | |
11 | ### | |
12 | ### TrIPE is free software; you can redistribute it and/or modify | |
13 | ### it under the terms of the GNU General Public License as published by | |
14 | ### the Free Software Foundation; either version 2 of the License, or | |
15 | ### (at your option) any later version. | |
16 | ### | |
17 | ### TrIPE is distributed in the hope that it will be useful, | |
18 | ### but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | ### GNU General Public License for more details. | |
21 | ### | |
22 | ### You should have received a copy of the GNU General Public License | |
23 | ### along with TrIPE; if not, write to the Free Software Foundation, | |
24 | ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
25 | ||
26 | include $(top_srcdir)/vars.am | |
27 | ||
28 | sbin_PROGRAMS = | |
29 | man_MANS = | |
30 | ||
31 | ###-------------------------------------------------------------------------- | |
32 | ### The main server. | |
33 | ||
34 | sbin_PROGRAMS += tripe | |
35 | ||
36 | tripe_SOURCES = | |
37 | tripe_LDADD = $(libtripe) $(catacomb_LIBS) | |
38 | ||
39 | ## Main header file. | |
40 | tripe_SOURCES += tripe.h | |
41 | ||
42 | ## Main sources. | |
43 | tripe_SOURCES += servutil.c | |
44 | tripe_SOURCES += keymgmt.c | |
45 | tripe_SOURCES += keyset.c | |
46 | tripe_SOURCES += keyexch.c | |
47 | tripe_SOURCES += chal.c | |
48 | tripe_SOURCES += peer.c | |
49 | tripe_SOURCES += admin.c | |
50 | tripe_SOURCES += tripe.c | |
51 | ||
52 | ## Tunnel drivers. | |
53 | tripe_SOURCES += tun-unet.c | |
54 | tripe_SOURCES += tun-bsd.c | |
55 | tripe_SOURCES += tun-linux.c | |
56 | tripe_SOURCES += tun-slip.c | |
57 | ||
58 | ## Server manual page. | |
59 | man_MANS += tripe.8 | |
60 | CLEANFILES += tripe.8 | |
61 | EXTRA_DIST += tripe.8.in | |
62 | ||
63 | tripe.8: tripe.8.in Makefile | |
64 | $(confsubst) $(srcdir)/tripe.8.in >$@.new $(SUBSTITUTIONS) && \ | |
65 | mv $@.new $@ | |
66 | ||
67 | ## The admin protocol manual page. | |
68 | man_MANS += tripe-admin.5 | |
69 | EXTRA_DIST += tripe-admin.5.in make-summary | |
70 | CLEANFILES += tripe-admin.5 | |
71 | ||
72 | tripe-admin.5: tripe-admin.5.in make-summary | |
73 | awk -f $(srcdir)/make-summary <$(srcdir)/tripe-admin.5.in >$@.new | |
74 | mv $@.new $@ | |
75 | ||
76 | ###----- That's all, folks -------------------------------------------------- |