summaryrefslogtreecommitdiff
path: root/src/libsystemd/libsystemd-internal/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 11:11:33 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-12 11:11:33 -0400
commit13969cb2abf0014d28ac76c50763db501578522f (patch)
tree148330f32e06c011a91474ddc27d766f18697919 /src/libsystemd/libsystemd-internal/Makefile
parent670b77ddfab0f4eddbe539964aba83d446d48129 (diff)
fixity
Diffstat (limited to 'src/libsystemd/libsystemd-internal/Makefile')
-rw-r--r--src/libsystemd/libsystemd-internal/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/libsystemd/libsystemd-internal/Makefile b/src/libsystemd/libsystemd-internal/Makefile
index 1b3364f7f5..1637753248 100644
--- a/src/libsystemd/libsystemd-internal/Makefile
+++ b/src/libsystemd/libsystemd-internal/Makefile
@@ -115,7 +115,7 @@ libsystemd_internal_la_LIBADD = \
libbasic.la \
-lresolv
-noinst_LTLIBRARIES += \
+_noinst_LTLIBRARIES += \
libsystemd-internal.la
test_bus_marshal_SOURCES = \
@@ -242,14 +242,9 @@ test_resolve_SOURCES = \
test_resolve_LDADD = \
libshared.la
-at.subdirs += $(notdir $(patsubst %/,%,$(dir $(call automake_sources,libsystemd-internal.la))))
-at.depdirs += $(topoutdir)/src/libbasic
-$(outdir)/libsystemd-internal.la: $(patsubst src/libsystemd/%,$(srcdir)/%,$(filter %.c,$(libsystemd_internal_la_SOURCES)))
-libsystemd_internal_la_SOURCES =
-systemd.CPPFLAGS += $(libsystemd.CPPFLAGS)
-systemd.CPPFLAGS += $(libbasic.CPPFLAGS)
-systemd.CPPFLAGS += $(libshared.CPPFLAGS)
-systemd.CPPFLAGS += -DLIBDIR=\"$(libdir)\"
-systemd.CPPFLAGS += -DUDEVLIBEXECDIR=\"$(udevlibexecdir)\"
+at.out_files += libsystemd-internal.la
+libsystemd-internal.la_SOURCES = $(patsubst src/libsystemd/%,%,$(filter %.c,$(libsystemd_internal_la_SOURCES)))
+$(outdir)/libsystemd-internal.la: $(addprefix $(outdir)/,$(libsystemd-internal.la_SOURCES:.c=.o))
+at.subdirs += $(sort $(patsubst %/,%,$(dir $(libsystemd-internal.la_SOURCES))))
include $(topsrcdir)/build-aux/Makefile.tail.mk