summaryrefslogtreecommitdiff
path: root/make/bsd-dep.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/bsd-dep.mk')
-rw-r--r--make/bsd-dep.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/make/bsd-dep.mk b/make/bsd-dep.mk
new file mode 100644
index 000000000..5fe31e89f
--- /dev/null
+++ b/make/bsd-dep.mk
@@ -0,0 +1,10 @@
+DFILES != perl -e 'print join " ", grep s/\.cpp/.d/, <*.cpp>, <commands/*.cpp>, <modes/*.cpp>, <modules/*.cpp>'
+DFILES += socketengines/$(SOCKETENGINE).d threadengines/threadengine_pthread.d
+
+all: $(DFILES)
+
+.SUFFIXES: .d .cpp
+
+.cpp.d:
+ @../make/calcdep.pl $<
+ @echo -n .