chiark / gitweb /
server/tripe.h: Allow `break' from FOREACH_PEER.
[tripe] / server / Makefile.am
index 08af0e45489d00c174d4aa124c875e28328cc9b2..4bebcd9e68517ad7f531cb1559a9d4d52916cef6 100644 (file)
@@ -1,40 +1,71 @@
-## -*-makefile-*-
-##
-## Makefile for TrIPE server
-##
-## (c) 2001 Straylight/Edgeware
-##
-
-##----- Licensing notice ----------------------------------------------------
-##
-## This file is part of Trivial IP Encryption (TrIPE).
-##
-## TrIPE is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; either version 2 of the License, or
-## (at your option) any later version.
-##
-## TrIPE is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with TrIPE; if not, write to the Free Software Foundation,
-## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-AUTOMAKE_OPTIONS = foreign
-INCLUDES = -I$(top_srcdir)/common -I$(top_builddir)/common
-LDADD = ../common/libtripe.a $(catacomb_LIBS)
-configdir = @configdir@
-tun = @tun@
-
-sbin_PROGRAMS = tripe
-
-tripe_SOURCES = \
-       tripe.h \
-       servutil.c \
-       tripe.c admin.c peer.c keymgmt.c keyexch.c keyset.c chal.c \
-       tun-unet.c tun-bsd.c tun-linux.c tun-slip.c
-
-##----- That's all, folks ---------------------------------------------------
+### -*-makefile-*-
+###
+### Makefile for TrIPE server
+###
+### (c) 2001 Straylight/Edgeware
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of Trivial IP Encryption (TrIPE).
+###
+### TrIPE is free software; you can redistribute it and/or modify
+### it under the terms of the GNU General Public License as published by
+### the Free Software Foundation; either version 2 of the License, or
+### (at your option) any later version.
+###
+### TrIPE is distributed in the hope that it will be useful,
+### but WITHOUT ANY WARRANTY; without even the implied warranty of
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+### GNU General Public License for more details.
+###
+### You should have received a copy of the GNU General Public License
+### along with TrIPE; if not, write to the Free Software Foundation,
+### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+include $(top_srcdir)/vars.am
+
+sbin_PROGRAMS           =
+man_MANS                =
+
+LDADD                   = $(libtripe) $(libpriv) $(catacomb_LIBS)
+
+###--------------------------------------------------------------------------
+### The main server.
+
+sbin_PROGRAMS          += tripe
+
+tripe_SOURCES           =
+
+## Main header file.
+tripe_SOURCES          += tripe.h
+
+## Main sources.
+tripe_SOURCES          += servutil.c
+tripe_SOURCES          += addrmap.c
+tripe_SOURCES          += keymgmt.c
+tripe_SOURCES          += keyset.c
+tripe_SOURCES          += keyexch.c
+tripe_SOURCES          += chal.c
+tripe_SOURCES          += peer.c
+tripe_SOURCES          += privsep.c
+tripe_SOURCES          += admin.c
+tripe_SOURCES          += tripe.c
+
+## Tunnel drivers.
+tripe_SOURCES          += tun-unet.c
+tripe_SOURCES          += tun-bsd.c
+tripe_SOURCES          += tun-linux.c
+tripe_SOURCES          += tun-slip.c
+
+## Server manual page.
+man_MANS               += tripe.8
+CLEANFILES             += tripe.8
+EXTRA_DIST             += tripe.8.in
+
+## The admin protocol manual page.
+man_MANS               += tripe-admin.5
+CLEANFILES             += tripe-admin.5
+EXTRA_DIST             += tripe-admin.5.in
+
+###----- That's all, folks --------------------------------------------------