summaryrefslogtreecommitdiff
path: root/src/libbasic/include/basic/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-27 23:40:47 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-27 23:40:47 -0400
commit458554a48c62b7885a9347bb7103922f3b1f69e3 (patch)
tree5b05be7bdf7db5230592a0187cd2ef5f2263e20d /src/libbasic/include/basic/Makefile
parentbe543a5265a5c2a812740574bdeeefd263958005 (diff)
fix
Diffstat (limited to 'src/libbasic/include/basic/Makefile')
-rw-r--r--src/libbasic/include/basic/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libbasic/include/basic/Makefile b/src/libbasic/include/basic/Makefile
index 886236375e..f371394691 100644
--- a/src/libbasic/include/basic/Makefile
+++ b/src/libbasic/include/basic/Makefile
@@ -23,7 +23,7 @@
include $(dir $(lastword $(MAKEFILE_LIST)))/../../../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk
-$(outdir)/errno-list.txt:
+$(outdir)/errno-list.txt: | $(outdir)/.deps
$(AM_V_GEN)$(CPP) $(ALL_CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@
$(outdir)/errno-to-name.h: $(outdir)/errno-list.txt
@@ -59,4 +59,6 @@ $(outdir)/cap-from-name.gperf: $(outdir)/cap-list.txt
$(outdir)/cap-from-name.h: $(outdir)/cap-from-name.gperf
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@
+systemd.CPPFLAGS += $(libbasic.CPPFLAGS)
+
include $(topsrcdir)/build-aux/Makefile.tail.mk