diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 13 | ||||
-rw-r--r-- | src/grp-resolve/nss-resolve/Makefile | 2 | ||||
-rw-r--r-- | src/grp-resolve/systemd-resolved/Makefile | 14 | ||||
l--------- | src/grp-resolve/systemd-resolved/gcrypt-util.c | 1 | ||||
l--------- | src/grp-resolve/systemd-resolved/gcrypt-util.h | 1 | ||||
-rw-r--r-- | src/grp-resolve/systemd-resolved/resolved-dns-server.c | 2 | ||||
-rw-r--r-- | src/grp-resolve/systemd-resolved/resolved-dns-transaction.c | 2 | ||||
-rw-r--r-- | src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c | 2 | ||||
-rw-r--r-- | src/grp-resolve/systemd-resolved/resolved-manager.c | 1 | ||||
-rw-r--r-- | src/grp-timedate/systemd-timedated/Makefile | 2 | ||||
-rw-r--r-- | src/grp-timedate/timedatectl/Makefile | 3 | ||||
-rw-r--r-- | src/initctl/Makefile | 3 | ||||
-rw-r--r-- | src/libsystemd-network/Makefile | 3 |
13 files changed, 37 insertions, 12 deletions
diff --git a/src/Makefile b/src/Makefile index e8448ad975..6265c3fe89 100644 --- a/src/Makefile +++ b/src/Makefile @@ -29,13 +29,22 @@ at.subdirs += grp-coredump #at.subdirs += grp-journal #at.subdirs += grp-journal-remote #at.subdirs += grp-machine -#at.subdirs += grp-resolve - +at.subdirs += grp-resolve +#at.subdirs += grp-system +at.subdirs += grp-timedate +#at.subdirs += grp-hostname +#at.subdirs += grp-import +at.subdirs += initctl +at.subdirs += kernel-install at.subdirs += libbasic +#at.subdirs += libcore at.subdirs += libfirewall at.subdirs += libshared at.subdirs += libsystemd +at.subdirs += libsystemd-network at.subdirs += libudev +#at.subdirs += grp-locale + at.subdirs += systemd-nspawn include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/src/grp-resolve/nss-resolve/Makefile b/src/grp-resolve/nss-resolve/Makefile index acfbe831ae..8ac66b2f7c 100644 --- a/src/grp-resolve/nss-resolve/Makefile +++ b/src/grp-resolve/nss-resolve/Makefile @@ -43,4 +43,6 @@ libnss_resolve_la_LIBADD = \ lib_LTLIBRARIES += \ libnss_resolve.la +systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus + include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/src/grp-resolve/systemd-resolved/Makefile b/src/grp-resolve/systemd-resolved/Makefile index 30f9c9c9c9..0677403a03 100644 --- a/src/grp-resolve/systemd-resolved/Makefile +++ b/src/grp-resolve/systemd-resolved/Makefile @@ -24,16 +24,13 @@ include $(dir $(lastword $(MAKEFILE_LIST)))/../../../config.mk include $(topsrcdir)/build-aux/Makefile.head.mk -$(outdir)/dns_type-list.txt: src/resolve/dns-type.h - $(AM_V_at)$(MKDIR_P) $(dir $@) +$(outdir)/dns_type-list.txt: $(srcdir)/dns-type.h $(AM_V_GEN)$(SED) -n -r 's/.* DNS_TYPE_(\w+).*/\1/p' <$< >$@ -$(outdir)/dns_type-to-name.h: src/resolve/dns_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) +$(outdir)/dns_type-to-name.h: $(outdir)/dns_type-list.txt $(AM_V_GEN)$(AWK) 'BEGIN{ print "const char *dns_type_to_string(int type) {\n\tswitch(type) {" } {printf " case DNS_TYPE_%s: return ", $$1; sub(/_/, "-"); printf "\"%s\";\n", $$1 } END{ print " default: return NULL;\n\t}\n}\n" }' <$< >$@ -$(outdir)/dns_type-from-name.gperf: src/resolve/dns_type-list.txt - $(AM_V_at)$(MKDIR_P) $(dir $@) +$(outdir)/dns_type-from-name.gperf: $(outdir)/dns_type-list.txt $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct dns_type_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { s=$$1; sub(/_/, "-", s); printf "%s, ", $$s; printf "DNS_TYPE_%s\n", $$1 }' <$< >$@ ifneq ($(ENABLE_RESOLVED),) @@ -224,4 +221,9 @@ EXTRA_DIST += \ units/systemd-resolved.service.m4.in \ src/resolve/resolved.conf.in + +$(outdir)/dns-type.o: $(outdir)/dns_type-from-name.h $(outdir)/dns_type-to-name.h +systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus +systemd.CPPFLAGS += -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\" + include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/src/grp-resolve/systemd-resolved/gcrypt-util.c b/src/grp-resolve/systemd-resolved/gcrypt-util.c new file mode 120000 index 0000000000..79dc82a466 --- /dev/null +++ b/src/grp-resolve/systemd-resolved/gcrypt-util.c @@ -0,0 +1 @@ +../../libshared/gcrypt-util.c
\ No newline at end of file diff --git a/src/grp-resolve/systemd-resolved/gcrypt-util.h b/src/grp-resolve/systemd-resolved/gcrypt-util.h new file mode 120000 index 0000000000..6da58160eb --- /dev/null +++ b/src/grp-resolve/systemd-resolved/gcrypt-util.h @@ -0,0 +1 @@ +../../libshared/gcrypt-util.h
\ No newline at end of file diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-server.c b/src/grp-resolve/systemd-resolved/resolved-dns-server.c index 3095c042db..dedc9beb19 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-server.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-server.c @@ -17,7 +17,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sd-messages.h> +#include <systemd/sd-messages.h> #include "alloc-util.h" #include "resolved-dns-server.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c b/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c index a4a67623e7..1b4b2b804b 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-transaction.c @@ -17,7 +17,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sd-messages.h> +#include <systemd/sd-messages.h> #include "af-list.h" #include "alloc-util.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c b/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c index 77370e7dd5..0972792341 100644 --- a/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c +++ b/src/grp-resolve/systemd-resolved/resolved-dns-trust-anchor.c @@ -17,7 +17,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include <sd-messages.h> +#include <systemd/sd-messages.h> #include "alloc-util.h" #include "conf-files.h" diff --git a/src/grp-resolve/systemd-resolved/resolved-manager.c b/src/grp-resolve/systemd-resolved/resolved-manager.c index 7166b94d71..c447ff63af 100644 --- a/src/grp-resolve/systemd-resolved/resolved-manager.c +++ b/src/grp-resolve/systemd-resolved/resolved-manager.c @@ -28,7 +28,6 @@ #include "fileio-label.h" #include "hostname-util.h" #include "io-util.h" -#include "netlink-util.h" #include "network-internal.h" #include "ordered-set.h" #include "parse-util.h" diff --git a/src/grp-timedate/systemd-timedated/Makefile b/src/grp-timedate/systemd-timedated/Makefile index b3288b22b1..b1f80252e8 100644 --- a/src/grp-timedate/systemd-timedated/Makefile +++ b/src/grp-timedate/systemd-timedated/Makefile @@ -62,4 +62,6 @@ polkitpolicy_in_files += \ EXTRA_DIST += \ units/systemd-timedated.service.in +systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus + include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/src/grp-timedate/timedatectl/Makefile b/src/grp-timedate/timedatectl/Makefile index c1be945443..1dfb81c2f6 100644 --- a/src/grp-timedate/timedatectl/Makefile +++ b/src/grp-timedate/timedatectl/Makefile @@ -39,4 +39,7 @@ dist_bashcompletion_data += \ dist_zshcompletion_data += \ shell-completion/zsh/_timedatectl endif # ENABLE_TIMEDATED + +systemd.CPPFLAGS += -I$(topsrcdir)/src/libsystemd/libsystemd-internal/sd-bus + include $(topsrcdir)/build-aux/Makefile.tail.mk diff --git a/src/initctl/Makefile b/src/initctl/Makefile index b63a2e47d9..21a9ee9e1d 100644 --- a/src/initctl/Makefile +++ b/src/initctl/Makefile @@ -29,4 +29,7 @@ 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/libsystemd-network/Makefile b/src/libsystemd-network/Makefile index 6b16906c17..b3fc7d0640 100644 --- a/src/libsystemd-network/Makefile +++ b/src/libsystemd-network/Makefile @@ -170,4 +170,7 @@ tests += \ test-dhcp6-client \ test-lldp +systemd.CPPFLAGS += $(libshared.CPPFLAGS) +systemd.CPPFLAGS += -I$(topsrcdir)/src/libudev/src + include $(topsrcdir)/build-aux/Makefile.tail.mk |