summaryrefslogtreecommitdiff
path: root/src/systemd-nspawn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-nspawn/Makefile')
-rw-r--r--src/systemd-nspawn/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/systemd-nspawn/Makefile b/src/systemd-nspawn/Makefile
index b276bd6ceb..db287fb926 100644
--- a/src/systemd-nspawn/Makefile
+++ b/src/systemd-nspawn/Makefile
@@ -66,4 +66,13 @@ systemd_nspawn_LDADD += \
libfirewall.la
endif # HAVE_LIBIPTC
+bin_PROGRAMS += systemd-nspawn
+at.depdirs += $(topoutdir)/src/libshared $(if $(HAVE_LIBIPTC),$(topoutdir)/src/libfirewall)
+systemd.CPPFLAGS += $(libshared.CPPFLAGS) $(if $(HAVE_LIBIPTC),$(libfirewall.CPPFLAGS))
+
+systemd.CPPFLAGS += $(libbasic.CPPFLAGS)
+systemd.CPPFLAGS += $(libsystemd.CPPFLAGS)
+systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus
+systemd.CPPFLAGS += -I$(topsrcdir)/src/libudev/src
+
include $(topsrcdir)/build-aux/Makefile.tail.mk