chiark / gitweb /
Merge branch 'privsep'
[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
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 LDADD                    = $(libtripe) $(libpriv) $(catacomb_LIBS)
32
33 ###--------------------------------------------------------------------------
34 ### The main server.
35
36 sbin_PROGRAMS           += tripe
37
38 tripe_SOURCES            =
39
40 ## Main header file.
41 tripe_SOURCES           += tripe.h
42
43 ## Main sources.
44 tripe_SOURCES           += servutil.c
45 tripe_SOURCES           += addrmap.c
46 tripe_SOURCES           += keymgmt.c
47 tripe_SOURCES           += keyset.c
48 tripe_SOURCES           += keyexch.c
49 tripe_SOURCES           += chal.c
50 tripe_SOURCES           += peer.c
51 tripe_SOURCES           += privsep.c
52 tripe_SOURCES           += admin.c
53 tripe_SOURCES           += tripe.c
54
55 ## Tunnel drivers.
56 tripe_SOURCES           += tun-unet.c
57 tripe_SOURCES           += tun-bsd.c
58 tripe_SOURCES           += tun-linux.c
59 tripe_SOURCES           += tun-slip.c
60
61 ## Server manual page.
62 man_MANS                += tripe.8
63 CLEANFILES              += tripe.8
64 EXTRA_DIST              += tripe.8.in
65
66 ## The admin protocol manual page.
67 man_MANS                += tripe-admin.5
68 CLEANFILES              += tripe-admin.5
69 EXTRA_DIST              += tripe-admin.5.in make-summary
70
71 tripe-admin.5: tripe-admin.5.in make-summary $(mandefs)
72         awk -f $(srcdir)/make-summary <$(srcdir)/tripe-admin.5.in >$@.tmp
73         $(mansubst) $@.tmp >$@.new
74         rm -f $@.tmp
75         mv $@.new $@
76
77 ###----- That's all, folks --------------------------------------------------