server/tripe.c, server/standalone.c: Split `main' out into a seprate file.
[tripe] / server / Makefile.am
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 it under
13 ### the terms of the GNU General Public License as published by the Free
14 ### Software Foundation; either version 3 of the License, or (at your
15 ### option) any later version.
16 ###
17 ### TrIPE is distributed in the hope that it will be useful, but WITHOUT
18 ### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 ### for more details.
21 ###
22 ### You should have received a copy of the GNU General Public License
23 ### along with TrIPE. If not, see <https://www.gnu.org/licenses/>.
24
25 include $(top_srcdir)/vars.am
26
27 sbin_PROGRAMS =
28 noinst_PROGRAMS =
29 man_MANS =
30
31 LDADD = $(libcommon) $(libpriv) \
32 $(catacomb_LIBS) $(ADNS_LIBS)
33
34 ###--------------------------------------------------------------------------
35 ### The main server.
36
37 sbin_PROGRAMS += tripe
38
39 tripe_SOURCES =
40
41 ## Main header file.
42 tripe_SOURCES += tripe.h
43
44 ## Main sources.
45 tripe_SOURCES += servutil.c
46 tripe_SOURCES += addrmap.c
47 tripe_SOURCES += keymgmt.c
48 tripe_SOURCES += bulkcrypto.c
49 tripe_SOURCES += dh.c
50 tripe_SOURCES += keyset.c
51 tripe_SOURCES += keyexch.c
52 tripe_SOURCES += chal.c
53 tripe_SOURCES += peer.c
54 tripe_SOURCES += privsep.c
55 tripe_SOURCES += admin.c
56 tripe_SOURCES += tripe.c
57 tripe_SOURCES += standalone.c
58
59 ## Tunnel drivers.
60 tripe_SOURCES += tun-std.c
61 tripe_SOURCES += tun-slip.c
62
63 ## Server manual page.
64 man_MANS += tripe.8tripe
65 CLEANFILES += tripe.8tripe
66 EXTRA_DIST += tripe.8.in
67
68 ## The admin protocol manual page.
69 man_MANS += tripe-admin.5tripe
70 CLEANFILES += tripe-admin.5tripe
71 EXTRA_DIST += tripe-admin.5.in
72
73 ## Services manual page.
74 man_MANS += tripe-service.7tripe
75 CLEANFILES += tripe-service.7tripe
76 EXTRA_DIST += tripe-service.7.in
77
78 ###--------------------------------------------------------------------------
79 ### Unit-test program.
80
81 noinst_PROGRAMS += tripe-test
82
83 tripe_test_SOURCES = test.c
84
85 tripe_test_SOURCES += admin.c
86 tripe_test_SOURCES += addrmap.c
87 tripe_test_SOURCES += bulkcrypto.c
88 tripe_test_SOURCES += chal.c
89 tripe_test_SOURCES += dh.c
90 tripe_test_SOURCES += keyexch.c
91 tripe_test_SOURCES += keymgmt.c
92 tripe_test_SOURCES += keyset.c
93 tripe_test_SOURCES += peer.c
94 tripe_test_SOURCES += privsep.c
95 tripe_test_SOURCES += servutil.c
96 tripe_test_SOURCES += tripe.c
97
98 tripe_test_SOURCES += tun-std.c
99 tripe_test_SOURCES += tun-slip.c
100
101 ###----- That's all, folks --------------------------------------------------