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