chiark / gitweb /
9a2419dbc5d2306b365553fe0336662c2b7ea45a
[tripe] / Makefile.am
1 ## -*-makefile-*-
2 ##
3 ## $Id: Makefile.am,v 1.9 2003/11/29 23:49:32 mdw Exp $
4 ##
5 ## Makefile for TrIPE
6 ##
7 ## (c) 2001 Straylight/Edgeware
8 ##
9
10 ##----- Licensing notice ----------------------------------------------------
11 ##
12 ## This file is part of Trivial IP Encryption (TrIPE).
13 ##
14 ## TrIPE is free software; you can redistribute it and/or modify
15 ## it under the terms of the GNU General Public License as published by
16 ## the Free Software Foundation; either version 2 of the License, or
17 ## (at your option) any later version.
18 ## 
19 ## TrIPE is distributed in the hope that it will be useful,
20 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 ## GNU General Public License for more details.
23 ## 
24 ## You should have received a copy of the GNU General Public License
25 ## along with TrIPE; if not, write to the Free Software Foundation,
26 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
28 ##----- Revision history ----------------------------------------------------
29 ##
30 ## $Log: Makefile.am,v $
31 ## Revision 1.9  2003/11/29 23:49:32  mdw
32 ## Debianization.
33 ##
34 ## Revision 1.8  2003/10/15 09:31:24  mdw
35 ## Remove buf, and add Ethereal analysis.
36 ##
37 ## Revision 1.7  2003/05/17 11:04:38  mdw
38 ## Ship new configuration and startup kit.
39 ##
40 ## Revision 1.6  2003/04/23 12:53:28  mdw
41 ## New pkstream program.
42 ##
43 ## Revision 1.5  2001/06/19 22:12:57  mdw
44 ## Build new proxy program.
45 ##
46 ## Revision 1.4  2001/02/22 09:07:28  mdw
47 ## Build documents now.
48 ##
49 ## Revision 1.3  2001/02/16 21:42:02  mdw
50 ## Only link the server against Catacomb.
51 ##
52 ## Revision 1.2  2001/02/05 19:48:18  mdw
53 ## Initial support for BSD tunnel devices.
54 ##
55 ## Revision 1.1  2001/02/03 20:26:37  mdw
56 ## Initial checkin.
57 ##
58
59 AUTOMAKE_OPTIONS = foreign
60 SUBDIRS = doc @DIRS@
61 configdir = @configdir@
62 socketdir = @socketdir@
63 logdir = @logdir@
64
65 CATACOMB_LIBS = @CATACOMB_LIBS@
66 tun = @tun@
67
68 sbin_PROGRAMS = tripe
69 bin_PROGRAMS = tripectl tripe-mitm pkstream
70 noinst_SCRIPTS = tripe-init
71 tripe_SOURCES = \
72         tripe.c tripe.h tripe-protocol.h \
73         admin.c peer.c tun-$(tun).c \
74         keymgmt.c keyexch.c keyset.c \
75         servutil.c util.c util.h
76 EXTRA_tripe_SOURCES = \
77         tun-unet.c tun-bsd.c
78 tripe_LDADD = $(CATACOMB_LIBS)
79 tripectl_SOURCES = \
80         client.c util.c util.h
81         tun-unet.c tun-bsd.c
82 tripe_mitm_SOURCES = \
83         mallory.c
84 tripe_mitm_LDADD = $(CATACOMB_LIBS)
85 pkstream_SOURCES = \
86         pkstream.c
87
88 install-hook:
89         for i in "$(configdir)" "$(socketdir)"; do \
90           case "$$i" in /*) $(mkinstalldirs) $(DESTDIR)$$i;; esac; \
91         done
92
93 EXTRA_DIST = tripe.conf \
94         debian/rules debian/control debian/changelog debian/copyright \
95         debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm
96
97 ##----- That's all, folks ---------------------------------------------------