chiark / gitweb /
configure: Fix formatting.
[tripe] / Makefile.am
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
28 AUTOMAKE_OPTIONS = foreign
29 SUBDIRS = doc @DIRS@
30 configdir = @configdir@
31 socketdir = @socketdir@
32 logdir = @logdir@
33
34 CATACOMB_LIBS = @CATACOMB_LIBS@
35 tun = @tun@
36
37 sbin_PROGRAMS = tripe
38 bin_PROGRAMS = tripectl tripe-mitm pkstream
39 noinst_SCRIPTS = tripe-init
40 bin_SCRIPTS = @pyscripts@ @pygtkscripts@
41 PYTHONSCRIPTS = tripe-keys
42 PYGTKSCRIPTS = tripemon
43 EXTRA_SCRIPTS = ${PYTHONSCRIPTS} ${PYGTKSCRIPTS}
44 tripe_SOURCES = \
45         tripe.c tripe.h tripe-protocol.h \
46         admin.c peer.c \
47         keymgmt.c keyexch.c keyset.c chal.c \
48         servutil.c util.c util.h \
49         tun-unet.c tun-bsd.c tun-linux.c tun-slip.c
50 tripe_LDADD = $(CATACOMB_LIBS)
51 tripectl_SOURCES = \
52         client.c util.c util.h
53 tripe_mitm_SOURCES = \
54         mallory.c
55 tripe_mitm_LDADD = $(CATACOMB_LIBS)
56 pkstream_SOURCES = \
57         pkstream.c
58
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 \
66         debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm \
67         tripe-keys.in
68
69 ##----- That's all, folks ---------------------------------------------------