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 |
060ca767 |
40 | bin_SCRIPTS = @pyscripts@ @pygtkscripts@ |
41 | PYTHONSCRIPTS = tripe-keys |
42 | PYGTKSCRIPTS = tripemon |
43 | EXTRA_SCRIPTS = ${PYTHONSCRIPTS} ${PYGTKSCRIPTS} |
410c8acf |
44 | tripe_SOURCES = \ |
ef4a1ab7 |
45 | tripe.c tripe.h tripe-protocol.h \ |
42da2a58 |
46 | admin.c peer.c \ |
37941236 |
47 | keymgmt.c keyexch.c keyset.c chal.c \ |
42da2a58 |
48 | servutil.c util.c util.h \ |
b9066fbb |
49 | tun-unet.c tun-bsd.c tun-linux.c tun-slip.c |
15ae42e7 |
50 | tripe_LDADD = $(CATACOMB_LIBS) |
410c8acf |
51 | tripectl_SOURCES = \ |
52 | client.c util.c util.h |
15ae42e7 |
53 | tripe_mitm_SOURCES = \ |
7631176f |
54 | mallory.c |
15ae42e7 |
55 | tripe_mitm_LDADD = $(CATACOMB_LIBS) |
07212ba4 |
56 | pkstream_SOURCES = \ |
57 | pkstream.c |
410c8acf |
58 | |
ef4a1ab7 |
59 | install-hook: |
60 | for i in "$(configdir)" "$(socketdir)"; do \ |
61 | case "$$i" in /*) $(mkinstalldirs) $(DESTDIR)$$i;; esac; \ |
62 | done |
63 | |
64 | EXTRA_DIST = tripe.conf \ |
65 | debian/rules debian/control debian/changelog debian/copyright \ |
060ca767 |
66 | debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm \ |
67 | tripe-keys.in |
0fa31a96 |
68 | |
410c8acf |
69 | ##----- That's all, folks --------------------------------------------------- |