410c8acf |
1 | ## -*-makefile-*- |
2 | ## |
ef4a1ab7 |
3 | ## $Id: Makefile.am,v 1.9 2003/11/29 23:49:32 mdw Exp $ |
410c8acf |
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 $ |
ef4a1ab7 |
31 | ## Revision 1.9 2003/11/29 23:49:32 mdw |
32 | ## Debianization. |
33 | ## |
7631176f |
34 | ## Revision 1.8 2003/10/15 09:31:24 mdw |
35 | ## Remove buf, and add Ethereal analysis. |
36 | ## |
0fa31a96 |
37 | ## Revision 1.7 2003/05/17 11:04:38 mdw |
38 | ## Ship new configuration and startup kit. |
39 | ## |
07212ba4 |
40 | ## Revision 1.6 2003/04/23 12:53:28 mdw |
41 | ## New pkstream program. |
42 | ## |
15ae42e7 |
43 | ## Revision 1.5 2001/06/19 22:12:57 mdw |
44 | ## Build new proxy program. |
45 | ## |
9bb1a373 |
46 | ## Revision 1.4 2001/02/22 09:07:28 mdw |
47 | ## Build documents now. |
48 | ## |
6805d64f |
49 | ## Revision 1.3 2001/02/16 21:42:02 mdw |
50 | ## Only link the server against Catacomb. |
51 | ## |
fd528bde |
52 | ## Revision 1.2 2001/02/05 19:48:18 mdw |
53 | ## Initial support for BSD tunnel devices. |
54 | ## |
410c8acf |
55 | ## Revision 1.1 2001/02/03 20:26:37 mdw |
56 | ## Initial checkin. |
57 | ## |
58 | |
59 | AUTOMAKE_OPTIONS = foreign |
7631176f |
60 | SUBDIRS = doc @DIRS@ |
ef4a1ab7 |
61 | configdir = @configdir@ |
62 | socketdir = @socketdir@ |
63 | logdir = @logdir@ |
410c8acf |
64 | |
15ae42e7 |
65 | CATACOMB_LIBS = @CATACOMB_LIBS@ |
410c8acf |
66 | tun = @tun@ |
67 | |
0fa31a96 |
68 | sbin_PROGRAMS = tripe |
69 | bin_PROGRAMS = tripectl tripe-mitm pkstream |
70 | noinst_SCRIPTS = tripe-init |
410c8acf |
71 | tripe_SOURCES = \ |
ef4a1ab7 |
72 | tripe.c tripe.h tripe-protocol.h \ |
410c8acf |
73 | admin.c peer.c tun-$(tun).c \ |
74 | keymgmt.c keyexch.c keyset.c \ |
7631176f |
75 | servutil.c util.c util.h |
fd528bde |
76 | EXTRA_tripe_SOURCES = \ |
77 | tun-unet.c tun-bsd.c |
15ae42e7 |
78 | tripe_LDADD = $(CATACOMB_LIBS) |
410c8acf |
79 | tripectl_SOURCES = \ |
80 | client.c util.c util.h |
fd528bde |
81 | tun-unet.c tun-bsd.c |
15ae42e7 |
82 | tripe_mitm_SOURCES = \ |
7631176f |
83 | mallory.c |
15ae42e7 |
84 | tripe_mitm_LDADD = $(CATACOMB_LIBS) |
07212ba4 |
85 | pkstream_SOURCES = \ |
86 | pkstream.c |
410c8acf |
87 | |
ef4a1ab7 |
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 |
0fa31a96 |
96 | |
410c8acf |
97 | ##----- That's all, folks --------------------------------------------------- |