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 | ### | |
11ad66c2 MW |
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. | |
6b6ad670 | 16 | ### |
11ad66c2 MW |
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. | |
6b6ad670 MW |
21 | ### |
22 | ### You should have received a copy of the GNU General Public License | |
11ad66c2 | 23 | ### along with TrIPE. If not, see <https://www.gnu.org/licenses/>. |
6b6ad670 MW |
24 | |
25 | include $(top_srcdir)/vars.am | |
26 | ||
27 | sbin_PROGRAMS = | |
5febc302 | 28 | noinst_LIBRARIES = |
19220671 | 29 | noinst_PROGRAMS = |
6b6ad670 MW |
30 | man_MANS = |
31 | ||
530f09cb | 32 | LDADD = $(libcommon) $(libpriv) \ |
971e5689 | 33 | $(catacomb_LIBS) $(ADNS_LIBS) |
7bd7331e | 34 | |
6b6ad670 MW |
35 | ###-------------------------------------------------------------------------- |
36 | ### The main server. | |
37 | ||
5febc302 MW |
38 | ## Build a library, for special effects. |
39 | noinst_LIBRARIES += libtripe.a | |
40 | libtripe_a_SOURCES = | |
6b6ad670 MW |
41 | |
42 | ## Main header file. | |
5febc302 | 43 | libtripe_a_SOURCES += tripe.h |
6b6ad670 MW |
44 | |
45 | ## Main sources. | |
5febc302 MW |
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 | |
6b6ad670 MW |
58 | |
59 | ## Tunnel drivers. | |
5febc302 MW |
60 | libtripe_a_SOURCES += tun-std.c |
61 | libtripe_a_SOURCES += tun-slip.c | |
62 | ||
63 | ## The main server. | |
64 | sbin_PROGRAMS += tripe | |
65 | tripe_SOURCES = standalone.c | |
66 | tripe_LDADD = libtripe.a $(LDADD) | |
6b6ad670 MW |
67 | |
68 | ## Server manual page. | |
0647ba7c MW |
69 | man_MANS += tripe.8tripe |
70 | CLEANFILES += tripe.8tripe | |
6b6ad670 MW |
71 | EXTRA_DIST += tripe.8.in |
72 | ||
6b6ad670 | 73 | ## The admin protocol manual page. |
0647ba7c MW |
74 | man_MANS += tripe-admin.5tripe |
75 | CLEANFILES += tripe-admin.5tripe | |
a62f8e8a | 76 | EXTRA_DIST += tripe-admin.5.in |
6b6ad670 | 77 | |
97f898fb MW |
78 | ## Services manual page. |
79 | man_MANS += tripe-service.7tripe | |
80 | CLEANFILES += tripe-service.7tripe | |
81 | EXTRA_DIST += tripe-service.7.in | |
82 | ||
19220671 MW |
83 | ###-------------------------------------------------------------------------- |
84 | ### Unit-test program. | |
85 | ||
86 | noinst_PROGRAMS += tripe-test | |
19220671 | 87 | tripe_test_SOURCES = test.c |
5febc302 | 88 | tripe_test_LDADD = libtripe.a $(LDADD) |
19220671 | 89 | |
6b6ad670 | 90 | ###----- That's all, folks -------------------------------------------------- |