2000-03-26 00:33:07 +00:00
|
|
|
## Produce this file with automake to get Makefile.in
|
2002-07-11 12:55:58 +00:00
|
|
|
# $Id: Makefile.am,v 1.4.4.24 2002/07/11 12:55:58 guus Exp $
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2000-10-20 16:49:20 +00:00
|
|
|
sbin_PROGRAMS = tincd
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2002-07-11 12:55:58 +00:00
|
|
|
EXTRA_DIST = linux/device.c freebsd/device.c openbsd/device.c solaris/device.c netbsd/device.c darwin/device.c cygwin/device.c
|
2002-02-10 21:57:54 +00:00
|
|
|
|
2002-02-18 16:25:19 +00:00
|
|
|
tincd_SOURCES = conf.c connection.c device.c edge.c event.c graph.c meta.c net.c net_packet.c net_setup.c \
|
|
|
|
net_socket.c netutl.c node.c process.c protocol.c protocol_auth.c protocol_edge.c protocol_misc.c \
|
|
|
|
protocol_key.c protocol_subnet.c route.c subnet.c tincd.c
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2001-02-11 11:50:09 +00:00
|
|
|
INCLUDES = @INCLUDES@ -I$(top_builddir) -I$(top_srcdir)/lib -I$(top_srcdir)/intl
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2002-02-10 21:57:54 +00:00
|
|
|
noinst_HEADERS = conf.h connection.h device.h edge.h event.h graph.h meta.h net.h netutl.h node.h process.h \
|
2001-10-28 10:16:18 +00:00
|
|
|
protocol.h route.h subnet.h
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2000-06-06 10:24:33 +00:00
|
|
|
LIBS = @LIBS@ @INTLLIBS@
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2000-10-11 10:35:17 +00:00
|
|
|
tincd_LDADD = \
|
2000-05-04 23:16:43 +00:00
|
|
|
$(top_builddir)/lib/libvpn.a
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2000-05-29 21:40:51 +00:00
|
|
|
localedir = $(datadir)/locale
|
|
|
|
|
2000-11-22 16:19:07 +00:00
|
|
|
CFLAGS = @CFLAGS@ -DPKGLIBDIR=$(pkglibdir) -DCONFDIR=\"$(sysconfdir)\" \
|
|
|
|
-DLOCALEDIR=\"$(localedir)\" -DLOCALSTATEDIR=\"$(localstatedir)\"
|
2000-12-22 17:15:26 +00:00
|
|
|
|
2002-03-27 15:47:06 +00:00
|
|
|
dist-hook:
|
|
|
|
rm -f `find . -type l`
|
|
|
|
|
2000-12-22 17:15:26 +00:00
|
|
|
lint: $(tincd_SOURCES)
|
|
|
|
lclint -nullassign -nullret +trytorecover +posixlib -skipansiheaders -skipposixheaders +gnuextensions -I/usr/include -I/usr/lib/gcc-lib/i386-linux/2.95.2/include -I. -I/home/zarq/p/tinc/cvs/cabal/src -I.. -I.. -I/home/zarq/p/tinc/cvs/cabal/lib -I/home/zarq/p/tinc/cvs/cabal/intl -D_POSIX_SOURCE -D__ELF__ -Dunix -D__i386__ -Dlinux -DHAVE_CONFIG_H -DPKGLIBDIR=/usr/local/lib/tinc -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" $^
|