chiark / gitweb /
fix --nonet calls to xsltproc
[elogind.git] / Makefile.am
index e50ae82040655c6e25b0b2ef1267d774cd04d9b9..798b4635ce0aca4ba9b63b0942df998075f51ad6 100644 (file)
@@ -48,7 +48,8 @@ AM_CPPFLAGS = \
 
 rootbin_PROGRAMS = \
        systemd \
-       systemctl
+       systemctl \
+       systemd-notify
 
 bin_PROGRAMS = \
        systemd-install
@@ -185,6 +186,20 @@ dist_systemunit_DATA += \
        units/gentoo/xdm.service
 endif
 
+if TARGET_ARCH
+dist_systemunit_DATA += \
+       units/arch/sysinit.service \
+       units/arch/rc-local.service \
+       units/arch/halt.service \
+       units/arch/poweroff.service \
+       units/arch/reboot.service
+endif
+
+dist_doc_DATA = \
+       README \
+       src/sd-daemon.h \
+       src/sd-daemon.c
+
 # This is needed because automake is buggy in how it generates the
 # rules for C programs, but not Vala programs.  We therefore can't
 # list the .h files as dependencies if we want make dist to work.
@@ -241,7 +256,8 @@ COMMON_SOURCES = \
        src/specifier.c \
        src/unit-name.c \
        src/fdset.c \
-       src/namespace.c
+       src/namespace.c \
+       src/tcpwrap.c
 
 EXTRA_DIST += \
        ${COMMON_SOURCES:.c=.h} \
@@ -288,7 +304,9 @@ systemd_CFLAGS = \
 systemd_LDADD = \
        $(DBUS_LIBS) \
        $(UDEV_LIBS) \
-       $(CGROUP_LIBS)
+       $(CGROUP_LIBS) \
+       $(LIBWRAP_LIBS) \
+       $(PAM_LIBS)
 
 test_engine_SOURCES = \
        $(COMMON_SOURCES) \
@@ -325,7 +343,11 @@ test_daemon_SOURCES = \
 systemd_logger_SOURCES = \
        $(BASIC_SOURCES) \
        src/logger.c \
-       src/sd-daemon.c
+       src/sd-daemon.c \
+       src/tcpwrap.c
+
+systemd_logger_LDADD = \
+       $(LIBWRAP_LIBS)
 
 systemd_initctl_SOURCES = \
        $(BASIC_SOURCES) \
@@ -352,11 +374,17 @@ systemd_cgroups_agent_LDADD = \
 
 systemctl_SOURCES = \
        src/systemctl.c \
+       src/utmp-wtmp.c \
        $(BASIC_SOURCES)
 
 systemctl_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
 systemctl_LDADD = $(DBUS_LIBS)
 
+systemd_notify_SOURCES = \
+       src/notify.c \
+       src/sd-daemon.c \
+       $(BASIC_SOURCES)
+
 systemd_install_SOURCES = \
        src/install.c \
        src/path-lookup.c \
@@ -437,20 +465,20 @@ endif
 if HAVE_XSLTPROC
 XSLTPROC_PROCESS_MAN = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-       $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+       $(XSLTPROC) -o $@ --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
 XSLTPROC_PROCESS_MAN_IN = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-       $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
+       $(XSLTPROC) -o ${@:.in=} --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $< && \
        mv ${@:.in=} $@
 
 XSLTPROC_PROCESS_HTML = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-       $(XSLTPROC) -o $@ -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
+       $(XSLTPROC) -o $@ --nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $<
 
 XSLTPROC_PROCESS_HTML_IN = \
        $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
-       $(XSLTPROC) -o ${@:.in=} -nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
+       $(XSLTPROC) -o ${@:.in=} --nonet http://docbook.sourceforge.net/release/xsl/current/xhtml-1_1/docbook.xsl $< && \
        mv ${@:.in=} $@
 
 man/%.5: man/%.xml