-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\" $^
+if MINGW
+tincd_SOURCES += mingw/device.c
+endif
+
+if CYGWIN
+tincd_SOURCES += cygwin/device.c
+endif
+
+if UML
+tincd_SOURCES += uml_device.c
+endif
+
+if VDE
+tincd_SOURCES += vde_device.c
+endif
+
+if OPENSSL
+tincd_SOURCES += \
+ openssl/cipher.c \
+ openssl/crypto.c \
+ openssl/digest.c \
+ openssl/ecdh.c \
+ openssl/ecdsa.c \
+ openssl/prf.c \
+ openssl/rsa.c
+tinc_SOURCES += \
+ openssl/cipher.c \
+ openssl/crypto.c \
+ openssl/digest.c \
+ openssl/ecdh.c \
+ openssl/ecdsa.c \
+ openssl/ecdsagen.c \
+ openssl/prf.c \
+ openssl/rsa.c \
+ openssl/rsagen.c
+sptps_test_SOURCES += \
+ openssl/cipher.c \
+ openssl/crypto.c \
+ openssl/digest.c \
+ openssl/ecdh.c \
+ openssl/ecdsa.c \
+ openssl/prf.c
+endif
+
+if GCRYPT
+tincd_SOURCES += \
+ gcrypt/cipher.c \
+ gcrypt/crypto.c \
+ gcrypt/digest.c \
+ gcrypt/ecdh.c \
+ gcrypt/ecdsa.c \
+ gcrypt/prf.c \
+ gcrypt/rsa.c
+tinc_SOURCES += \
+ gcrypt/cipher.c \
+ gcrypt/crypto.c \
+ gcrypt/digest.c \
+ gcrypt/ecdh.c \
+ gcrypt/ecdsa.c \
+ gcrypt/ecdsagen.c \
+ gcrypt/prf.c \
+ gcrypt/rsa.c \
+ gcrypt/rsagen.c
+sptps_test_SOURCES += \
+ gcrypt/cipher.c \
+ gcrypt/crypto.c \
+ gcrypt/digest.c \
+ gcrypt/ecdh.c \
+ gcrypt/ecdsa.c \
+ gcrypt/prf.c
+endif
+
+tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
+
+noinst_HEADERS = \
+ buffer.h \
+ cipher.h \
+ conf.h \
+ connection.h \
+ control.h \
+ control_common.h \
+ crypto.h \
+ device.h \
+ digest.h \
+ dropin.h \
+ ecdh.h \
+ ecdsa.h \
+ ecdsagen.h \
+ edge.h \
+ ethernet.h \
+ event.h \
+ fake-gai-errnos.h \
+ fake-getaddrinfo.h \
+ fake-getnameinfo.h \
+ getopt.h \
+ graph.h \
+ hash.h \
+ have.h \
+ info.h \
+ ipv4.h \
+ ipv6.h \
+ list.h \
+ logger.h \
+ meta.h \
+ names.h \
+ net.h \
+ netutl.h \
+ node.h \
+ prf.h \
+ process.h \
+ protocol.h \
+ route.h \
+ rsa.h \
+ rsagen.h
+ splay_tree.h \
+ sptps.h \
+ subnet.h \
+ system.h \
+ tincctl.h \
+ top.h \
+ utils.h \
+ xalloc.h
+
+LIBS = @LIBS@ @LIBGCRYPT_LIBS@
+
+if TUNEMU
+LIBS += -lpcap
+endif
+
+AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\"
+
+dist-hook:
+ rm -f `find . -type l`