diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-12 23:49:48 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-12 23:49:48 -0400 |
commit | 6724edf48bf8c7b88f2d1e62c3d91c846de76248 (patch) | |
tree | 8d732e0b72c3cf7dbeec77aa8865d9eafc4f27a1 /src/libcore | |
parent | f0d6fb6fa9e817539e960b1ce70bd4f367646875 (diff) |
fix
Diffstat (limited to 'src/libcore')
-rw-r--r-- | src/libcore/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libcore/Makefile b/src/libcore/Makefile index f40a115042..53059eda20 100644 --- a/src/libcore/Makefile +++ b/src/libcore/Makefile @@ -163,8 +163,14 @@ libcore_la_LIBADD = \ $(APPARMOR_LIBS) \ $(MOUNT_LIBS) -$(outdir)/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf - $(AM_V_at)$(MKDIR_P) $(dir $@) +$(outdir)/load-fragment-gperf-nulstr.c: $(outdir)/load-fragment-gperf.gperf $(AM_V_GEN)$(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@ +systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus +systemd.CPPFLAGS += -I$(topsrcdir)/src/libudev/src +systemd.CPPFLAGS += -DMOUNT_PATH=\"$(MOUNT_PATH)\" +systemd.CPPFLAGS += -DUMOUNT_PATH=\"$(UMOUNT_PATH)\" +systemd.CPPFLAGS += -DSYSTEMD_CGROUP_AGENT_PATH=\"$(libexecdir)/systemd-cgroups-agent\" +systemd.CPPFLAGS += -DSYSTEMD_BINARY_PATH=\"$(libexecdir)/systemd\" + include $(topsrcdir)/build-aux/Makefile.tail.mk |