summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 23:49:48 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 23:49:48 -0400
commit6724edf48bf8c7b88f2d1e62c3d91c846de76248 (patch)
tree8d732e0b72c3cf7dbeec77aa8865d9eafc4f27a1 /src
parentf0d6fb6fa9e817539e960b1ce70bd4f367646875 (diff)
fix
Diffstat (limited to 'src')
-rw-r--r--src/Makefile8
-rw-r--r--src/grp-boot/systemd-boot/Makefile4
-rw-r--r--src/libcore/Makefile10
-rw-r--r--src/systemd-initctl/Makefile1
-rw-r--r--src/systemd-nspawn/Makefile1
5 files changed, 14 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile
index 5aa9e0fda5..b3de845981 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -37,10 +37,9 @@ at.subdirs += grp-coredump
at.subdirs += grp-resolve
#at.subdirs += grp-system
at.subdirs += grp-timedate
-at.subdirs += initctl
at.subdirs += kernel-install
at.subdirs += libbasic
-#at.subdirs += libcore
+at.subdirs += libcore
at.subdirs += libfirewall
at.subdirs += libshared
at.subdirs += libsystemd
@@ -48,8 +47,8 @@ at.subdirs += libsystemd-network
at.subdirs += libudev
at.subdirs += nss-myhostname
at.subdirs += systemd-activate
-at.subdirs += systemd-ac-power
-at.subdirs += systemd-analyze
+#at.subdirs += systemd-ac-power
+#at.subdirs += systemd-analyze
#at.subdirs += systemd-machine-id-setup
#at.subdirs += systemd-modules-load
@@ -58,5 +57,6 @@ at.subdirs += systemd-analyze
#at.subdirs += systemd-sysctl
at.subdirs += systemd-nspawn
+at.subdirs += systemd-initctl
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/grp-boot/systemd-boot/Makefile b/src/grp-boot/systemd-boot/Makefile
index f2a0ed47cb..2a56560c2c 100644
--- a/src/grp-boot/systemd-boot/Makefile
+++ b/src/grp-boot/systemd-boot/Makefile
@@ -84,11 +84,11 @@ EFI_FORMAT = --target=efi-app-$(EFI_ARCH)
endif # ARCH_AARCH64
$(outdir)/%.o: $(srcdir)/%.c
- $(AM_V_CC)$(EFI_CC) $(efi_cppflags) $(efi_cflags) -c $< -o $@
+ $(AM_V_EFI_CC)$(EFI_CC) $(efi_cppflags) $(efi_cflags) -c $< -o $@
$(outdir)/%.so:
@if test $(words $^) = 0; then echo 'Cannot link EFI library with no dependencies: $@' >&2; exit 1; fi
- $(AM_V_CCLD)$(LD) $(efi_ldflags) $^ -o $@ -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
+ $(AM_V_EFI_CCLD)$(LD) $(efi_ldflags) $^ -o $@ -lefi -lgnuefi $(shell $(CC) -print-libgcc-file-name)
$(AM_V_at)! { nm -D -u $@ | grep ' U '; }
# These next 2 are the same rule
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
diff --git a/src/systemd-initctl/Makefile b/src/systemd-initctl/Makefile
index 66f3e72aa5..726a1404d3 100644
--- a/src/systemd-initctl/Makefile
+++ b/src/systemd-initctl/Makefile
@@ -30,7 +30,6 @@ systemd_initctl_SOURCES = \
systemd_initctl_LDADD = \
libshared.la
-libexec_PROGRAMS += systemd-initctl
systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus
include $(topsrcdir)/build-aux/Makefile.tail.mk
diff --git a/src/systemd-nspawn/Makefile b/src/systemd-nspawn/Makefile
index 460a491a3a..5d6fcfdc5a 100644
--- a/src/systemd-nspawn/Makefile
+++ b/src/systemd-nspawn/Makefile
@@ -82,7 +82,6 @@ test_patch_uid_LDADD = \
manual_tests += \
test-patch-uid
-bin_PROGRAMS += systemd-nspawn
systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus
systemd.CPPFLAGS += -I$(topsrcdir)/src/libudev/src