chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stest/udp-preload: Be more relaxed about paths
[secnet.git]
/
stest
/
Subdir.sd.mk
diff --git
a/stest/Subdir.sd.mk
b/stest/Subdir.sd.mk
index f35db3b5f52689bbd5de20079adbdab88d5af347..c3b5cc9c36c6c9e10d98eae05f3b033c25c22ad5 100644
(file)
--- a/
stest/Subdir.sd.mk
+++ b/
stest/Subdir.sd.mk
@@
-2,7
+2,7
@@
&TARGETS += & udp-preload.so
&DEPS += & udp-preload.so
&TARGETS += & udp-preload.so
&DEPS += & udp-preload.so
-&DEPS += &^
/
common.tcl
+&DEPS += &^
common.tcl
&DEPS += secnet
&DEPS += test-example/sites.conf
&DEPS += test-example/inside.key
&DEPS += secnet
&DEPS += test-example/sites.conf
&DEPS += test-example/inside.key
@@
-12,7
+12,7
@@
&OBJECTS += & udp-preload.o
&OBJECTS += & udp-preload.o
-$(&OBJECTS) : ALL_CFLAGS += -D_REENTRANT -fPIC
+$(&OBJECTS) : ALL_CFLAGS += -D_REENTRANT -fPIC
-Wno-unused-result
&udp-preload.so: $(&OBJECTS)
$(CC) -shared -Wl,-soname,$@.1 $^ -o $@ -ldl
&udp-preload.so: $(&OBJECTS)
$(CC) -shared -Wl,-soname,$@.1 $^ -o $@ -ldl
@@
-34,3
+34,5
@@
MAKE_NOTSPECIAL:=$(MAKE)
&check:: $(&DEPS)
env -u MAKEFLAGS -u MFLAGS \
$(MAKE_NOTSPECIAL) -j$(shell nproc || 1)0 &check-real
&check:: $(&DEPS)
env -u MAKEFLAGS -u MFLAGS \
$(MAKE_NOTSPECIAL) -j$(shell nproc || 1)0 &check-real
+
+&:include subdirmk/cdeps.sd.mk