chiark / gitweb /
More support scripts and other cool stuff.
[tripe] / Makefile.am
... / ...
CommitLineData
1## -*-makefile-*-
2##
3## $Id$
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
28AUTOMAKE_OPTIONS = foreign
29SUBDIRS = doc @DIRS@
30configdir = @configdir@
31socketdir = @socketdir@
32logdir = @logdir@
33
34CATACOMB_LIBS = @CATACOMB_LIBS@
35tun = @tun@
36
37sbin_PROGRAMS = tripe
38bin_PROGRAMS = tripectl tripe-mitm pkstream
39noinst_SCRIPTS = tripe-init
40bin_SCRIPTS = @pyscripts@ @pygtkscripts@
41PYTHONSCRIPTS = tripe-keys
42PYGTKSCRIPTS = tripemon
43EXTRA_SCRIPTS = ${PYTHONSCRIPTS} ${PYGTKSCRIPTS}
44tripe_SOURCES = \
45 tripe.c tripe.h tripe-protocol.h \
46 admin.c peer.c \
47 keymgmt.c keyexch.c keyset.c \
48 servutil.c util.c util.h \
49 tun-unet.c tun-bsd.c tun-linux.c tun-slip.c
50tripe_LDADD = $(CATACOMB_LIBS)
51tripectl_SOURCES = \
52 client.c util.c util.h
53tripe_mitm_SOURCES = \
54 mallory.c
55tripe_mitm_LDADD = $(CATACOMB_LIBS)
56pkstream_SOURCES = \
57 pkstream.c
58
59install-hook:
60 for i in "$(configdir)" "$(socketdir)"; do \
61 case "$$i" in /*) $(mkinstalldirs) $(DESTDIR)$$i;; esac; \
62 done
63
64EXTRA_DIST = tripe.conf \
65 debian/rules debian/control debian/changelog debian/copyright \
66 debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm \
67 tripe-keys.in
68
69##----- That's all, folks ---------------------------------------------------