diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-01 21:36:40 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-01 21:36:40 -0400 |
commit | a422a6a26da229bd168815958d55a582188f40bb (patch) | |
tree | 85401dc9a385f11009c5cc0733ae5bf8de45a483 /src/libbasic/Makefile | |
parent | 524d3075ca1e93477deabb95f5c98eaed920de0b (diff) |
fix libbasic out of tree build
Diffstat (limited to 'src/libbasic/Makefile')
-rw-r--r-- | src/libbasic/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libbasic/Makefile b/src/libbasic/Makefile index 8e76a01c8a..79ec1b26cc 100644 --- a/src/libbasic/Makefile +++ b/src/libbasic/Makefile @@ -265,8 +265,8 @@ $(outdir)/arphrd-from-name.gperf: $(outdir)/arphrd-list.txt $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct arphrd_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, ARPHRD_%s\n", $$1, $$1 }' <$< >$@ -$(outdir)/cap-list.txt: - $(AM_V_GEN)$(CPP) $(ALL_CPPFLAGS) -dM -include linux/capability.h -include missing.h - </dev/null | $(AWK) '/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $$2; }' | grep -v CAP_LAST_CAP >$@ +$(outdir)/cap-list.txt: $(srcdir)/missing.h + $(AM_V_GEN)$(CPP) $(ALL_CPPFLAGS) -dM -include linux/capability.h -include $< - </dev/null | $(AWK) '/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $$2; }' | grep -v CAP_LAST_CAP >$@ $(outdir)/cap-to-name.h: $(outdir)/cap-list.txt $(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const capability_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, tolower($$1) } END{print "};"}' <$< >$@ |