## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.8 2003/10/15 09:31:24 mdw Exp $
+## $Id: Makefile.am,v 1.9 2003/11/29 23:49:32 mdw Exp $
##
## Makefile for TrIPE
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## Revision 1.9 2003/11/29 23:49:32 mdw
+## Debianization.
+##
## Revision 1.8 2003/10/15 09:31:24 mdw
## Remove buf, and add Ethereal analysis.
##
AUTOMAKE_OPTIONS = foreign
SUBDIRS = doc @DIRS@
+configdir = @configdir@
+socketdir = @socketdir@
+logdir = @logdir@
CATACOMB_LIBS = @CATACOMB_LIBS@
tun = @tun@
bin_PROGRAMS = tripectl tripe-mitm pkstream
noinst_SCRIPTS = tripe-init
tripe_SOURCES = \
- tripe.c tripe.h \
+ tripe.c tripe.h tripe-protocol.h \
admin.c peer.c tun-$(tun).c \
keymgmt.c keyexch.c keyset.c \
servutil.c util.c util.h
pkstream_SOURCES = \
pkstream.c
-EXTRA_DIST = tripe.conf
+install-hook:
+ for i in "$(configdir)" "$(socketdir)"; do \
+ case "$$i" in /*) $(mkinstalldirs) $(DESTDIR)$$i;; esac; \
+ done
+
+EXTRA_DIST = tripe.conf \
+ debian/rules debian/control debian/changelog debian/copyright \
+ debian/tripe.postinst debian/tripe.prerm debian/tripe.postrm
##----- That's all, folks ---------------------------------------------------