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 | |
c8e02c8a | 44 | tripe_SOURCES += addrmap.c |
6b6ad670 MW |
45 | tripe_SOURCES += keymgmt.c |
46 | tripe_SOURCES += keyset.c | |
47 | tripe_SOURCES += keyexch.c | |
48 | tripe_SOURCES += chal.c | |
49 | tripe_SOURCES += peer.c | |
50 | tripe_SOURCES += admin.c | |
51 | tripe_SOURCES += tripe.c | |
52 | ||
53 | ## Tunnel drivers. | |
54 | tripe_SOURCES += tun-unet.c | |
55 | tripe_SOURCES += tun-bsd.c | |
56 | tripe_SOURCES += tun-linux.c | |
57 | tripe_SOURCES += tun-slip.c | |
58 | ||
59 | ## Server manual page. | |
60 | man_MANS += tripe.8 | |
61 | CLEANFILES += tripe.8 | |
62 | EXTRA_DIST += tripe.8.in | |
63 | ||
6b6ad670 MW |
64 | ## The admin protocol manual page. |
65 | man_MANS += tripe-admin.5 | |
6b6ad670 | 66 | CLEANFILES += tripe-admin.5 |
fc916a09 | 67 | EXTRA_DIST += tripe-admin.5.in make-summary |
6b6ad670 | 68 | |
fc916a09 MW |
69 | tripe-admin.5: tripe-admin.5.in make-summary $(mandefs) |
70 | awk -f $(srcdir)/make-summary <$(srcdir)/tripe-admin.5.in >$@.tmp | |
71 | $(mansubst) $@.tmp >$@.new | |
72 | rm -f $@.tmp | |
6b6ad670 MW |
73 | mv $@.new $@ |
74 | ||
75 | ###----- That's all, folks -------------------------------------------------- |