410c8acf |
1 | ## -*-makefile-*- |
2 | ## |
3cdc3f3a |
3 | ## $Id$ |
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 | |
410c8acf |
28 | AUTOMAKE_OPTIONS = foreign |
7631176f |
29 | SUBDIRS = doc @DIRS@ |
ef4a1ab7 |
30 | configdir = @configdir@ |
31 | socketdir = @socketdir@ |
32 | logdir = @logdir@ |
410c8acf |
33 | |
15ae42e7 |
34 | CATACOMB_LIBS = @CATACOMB_LIBS@ |
410c8acf |
35 | tun = @tun@ |
36 | |
0fa31a96 |
37 | sbin_PROGRAMS = tripe |
38 | bin_PROGRAMS = tripectl tripe-mitm pkstream |
39 | noinst_SCRIPTS = tripe-init |
410c8acf |
40 | tripe_SOURCES = \ |
ef4a1ab7 |
41 | tripe.c tripe.h tripe-protocol.h \ |
410c8acf |
42 | admin.c peer.c tun-$(tun).c \ |
43 | keymgmt.c keyexch.c keyset.c \ |
7631176f |
44 | servutil.c util.c util.h |
fd528bde |
45 | EXTRA_tripe_SOURCES = \ |
b9066fbb |
46 | tun-unet.c tun-bsd.c tun-linux.c tun-slip.c |
15ae42e7 |
47 | tripe_LDADD = $(CATACOMB_LIBS) |
410c8acf |
48 | tripectl_SOURCES = \ |
49 | client.c util.c util.h |
15ae42e7 |
50 | tripe_mitm_SOURCES = \ |
7631176f |
51 | mallory.c |
15ae42e7 |
52 | tripe_mitm_LDADD = $(CATACOMB_LIBS) |
07212ba4 |
53 | pkstream_SOURCES = \ |
54 | pkstream.c |
410c8acf |
55 | |
ef4a1ab7 |
56 | install-hook: |
57 | for i in "$(configdir)" "$(socketdir)"; do \ |
58 | case "$$i" in /*) $(mkinstalldirs) $(DESTDIR)$$i;; esac; \ |
59 | done |
60 | |
61 | EXTRA_DIST = tripe.conf \ |
62 | debian/rules debian/control debian/changelog debian/copyright \ |
63 | debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm |
0fa31a96 |
64 | |
410c8acf |
65 | ##----- That's all, folks --------------------------------------------------- |