3 ### Makefile for TrIPE server
5 ### (c) 2001 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of Trivial IP Encryption (TrIPE).
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.
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
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/>.
25 include $(top_srcdir)/vars.am
32 LDADD = $(libcommon) $(libpriv) \
33 $(catacomb_LIBS) $(ADNS_LIBS)
35 ###--------------------------------------------------------------------------
38 ## Build a library, for special effects.
39 noinst_LIBRARIES += libtripe.a
43 libtripe_a_SOURCES += tripe.h
46 libtripe_a_SOURCES += servutil.c
47 libtripe_a_SOURCES += addrmap.c
48 libtripe_a_SOURCES += keymgmt.c
49 libtripe_a_SOURCES += bulkcrypto.c
50 libtripe_a_SOURCES += dh.c
51 libtripe_a_SOURCES += keyset.c
52 libtripe_a_SOURCES += keyexch.c
53 libtripe_a_SOURCES += chal.c
54 libtripe_a_SOURCES += peer.c
55 libtripe_a_SOURCES += privsep.c
56 libtripe_a_SOURCES += admin.c
57 libtripe_a_SOURCES += tripe.c
60 libtripe_a_SOURCES += tun-std.c
61 libtripe_a_SOURCES += tun-slip.c
64 sbin_PROGRAMS += tripe
65 tripe_SOURCES = standalone.c
66 tripe_LDADD = libtripe.a $(LDADD)
68 ## Server manual page.
69 man_MANS += tripe.8tripe
70 CLEANFILES += tripe.8tripe
71 EXTRA_DIST += tripe.8.in
73 ## The admin protocol manual page.
74 man_MANS += tripe-admin.5tripe
75 CLEANFILES += tripe-admin.5tripe
76 EXTRA_DIST += tripe-admin.5.in
78 ## Services manual page.
79 man_MANS += tripe-service.7tripe
80 CLEANFILES += tripe-service.7tripe
81 EXTRA_DIST += tripe-service.7.in
83 ###--------------------------------------------------------------------------
84 ### Unit-test program.
86 noinst_PROGRAMS += tripe-test
87 tripe_test_SOURCES = test.c
88 tripe_test_LDADD = libtripe.a $(LDADD)
90 ###----- That's all, folks --------------------------------------------------