+tinc_SOURCES = \
+ dropin.c dropin.h \
+ getopt.c getopt.h \
+ getopt1.c \
+ info.c info.h \
+ invitation.c invitation.h \
+ list.c list.h \
+ names.c names.h \
+ netutl.c netutl.h \
+ script.c script.h \
+ sptps.c sptps.h \
+ subnet_parse.c subnet.h \
+ tincctl.c tincctl.h \
+ top.c top.h \
+ utils.c utils.h
+
+sptps_test_SOURCES = \
+ logger.c logger.h \
+ sptps.c sptps.h \
+ sptps_test.c \
+ utils.c utils.h
+
+sptps_speed_SOURCES = \
+ logger.c logger.h \
+ sptps.c sptps.h \
+ sptps_speed.c \
+ utils.c utils.h
+
+## Conditionally compile device drivers
+
+if LINUX
+tincd_SOURCES += linux/device.c
+endif
+
+if BSD
+tincd_SOURCES += bsd/device.c
+if TUNEMU
+tincd_SOURCES += bsd/tunemu.c bsd/tunemu.h
+endif
+endif
+
+if SOLARIS
+tincd_SOURCES += solaris/device.c
+endif
+
+if MINGW
+tincd_SOURCES += mingw/device.c mingw/common.h
+endif
+
+if CYGWIN
+tincd_SOURCES += cygwin/device.c
+endif
+
+if UML
+tincd_SOURCES += uml_device.c
+endif