summaryrefslogtreecommitdiff
path: root/src/libsystemd/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-10 11:22:38 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-10 11:22:38 -0400
commitf22246a490fcb1e8d60f8ae0759b3f1daca7c061 (patch)
tree6ddfb70728fbc2a4920da544c5d4971958bea900 /src/libsystemd/Makefile
parent1cfeca882ebbd2de350a62e97e7ace35d3a57644 (diff)
fix build system
Diffstat (limited to 'src/libsystemd/Makefile')
-rw-r--r--src/libsystemd/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/libsystemd/Makefile b/src/libsystemd/Makefile
index 61bf856c96..5c5d03a51d 100644
--- a/src/libsystemd/Makefile
+++ b/src/libsystemd/Makefile
@@ -52,10 +52,12 @@ libsystemd_la_LDFLAGS = \
$(libsystemd_internal_la_LIBADD) \
$(libsystemd_journal_internal_la_LIBADD)
+libsystemd_la_LIBADD = $(libsystemd-internal.DEPENDS)
+
pkgconfiglib_DATA += \
src/libsystemd/libsystemd.pc
-pkginclude_HEADERS += \
+_pkginclude_HEADERS += \
src/systemd/sd-bus.h \
src/systemd/sd-bus-protocol.h \
src/systemd/sd-bus-vtable.h \
@@ -64,6 +66,11 @@ pkginclude_HEADERS += \
src/systemd/sd-id128.h \
src/systemd/sd-daemon.h
+_pkginclude_HEADERS += \
+ src/systemd/sd-journal.h \
+ src/systemd/sd-messages.h \
+ src/systemd/_sd-common.h
+
rootlib_LTLIBRARIES += \
libsystemd.la
@@ -105,6 +112,11 @@ nodist_test_libsystemd_sym_SOURCES = \
test_libsystemd_sym_LDADD = \
libsystemd.la
+$(DESTDIR)$(pkgincludedir)/%.h: $(srcdir)/include/systemd/%.h
+ @$(NORMAL_INSTALL)
+ $(am.INSTALL_HEADERS)
+
+files.sys.all += $(addprefix $(pkgincludedir)/,$(notdir $(_pkginclude_HEADERS)))
$(outdir)/libsystemd.la: $(srcdir)/libsystemd.sym
nested.subdirs += src
sd.sed_files += libsystemd.pc