chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autopkgtests: Add machinery for regenerating test cases
[chiark-tcl.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index e81567631cca5dec8ef0c05f959714df675832cd..77e9e48b1116be7fc79f2a7e63d6c929ecaf3021 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,9
+1,17
@@
-SUBDIRS= base adns hbytes cdb crypto dgram tuntap
+SUBDIRS= base adns hbytes cdb crypto dgram
+
+ifneq ($(wildcard /usr/include/linux/if_tun.h),)
+SUBDIRS+= tuntap
+endif
+
+ifneq ($(wildcard /usr/include/wiringPi.h /usr/include/arm-*/wiringPi.h),)
+SUBDIRS+= wiringpi
+endif
default: all
default: all
-clean all:
+clean all
debian-substvars
:
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
# To find undefined symbols when implementing, for example:
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
# To find undefined symbols when implementing, for example: