summaryrefslogtreecommitdiff
path: root/src/libbasic/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 17:18:06 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-01 17:18:06 -0400
commitbcf1acd2a33706c296339f5627eb4070fdda2ecd (patch)
tree2aa7628170b8dfd03305aa9b56d28b0bc202b6bf /src/libbasic/Makefile
parentb3390c34179818fe1f5f9848141a3f891aeb45e7 (diff)
get libbasic to build again
Diffstat (limited to 'src/libbasic/Makefile')
-rw-r--r--src/libbasic/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/libbasic/Makefile b/src/libbasic/Makefile
index 83ed2355ad..8e76a01c8a 100644
--- a/src/libbasic/Makefile
+++ b/src/libbasic/Makefile
@@ -277,16 +277,7 @@ $(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 <$< >$@
-
-std.out_files = libbasic.la
-CFLAGS += -pthread
-CPPFLAGS += $(libsystemd.CPPFLAGS) $(libselinux.CPPFLAGS) $(libcap.CPPFLAGS)
-$(outdir)/libbasic.la: \
- $(patsubst src/basic/%.c,$(outdir)/%.lo,$(filter %.c,$(libbasic_la_SOURCES))) \
- $(libselinux.DEPENDS) $(libcap.DEPENDS) -lrt -lm
-
-std.gen_files += *-to-name.h *-from-name.h *-from-name.gperf *-list.txt
-
+$(eval $(value automake2autothing))
$(outdir)/af-list.lo: $(outdir)/af-from-name.h $(outdir)/af-to-name.h
$(outdir)/arphrd-list.lo: $(outdir)/arphrd-from-name.h $(outdir)/arphrd-to-name.h
$(outdir)/cap-list.lo: $(outdir)/cap-from-name.h $(outdir)/cap-to-name.h