X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=3539e03c5e36b2222ab9cd97313bef271401db38;hp=42183f45d7f19e75d2022e39279dc9f902832f02;hb=b481de3b22fcd838a8f059aed8745375afdb9eca;hpb=9e4ded3064e9a683e004ff8f6a8ce53ac20b79d7 diff --git a/Makefile.am b/Makefile.am index 42183f45d..3539e03c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5371,7 +5371,8 @@ if HAVE_GCRYPT rootlibexec_PROGRAMS += \ systemd-importd \ systemd-pull \ - systemd-import + systemd-import \ + systemd-export systemd_importd_SOURCES = \ src/import/importd.c @@ -5379,7 +5380,8 @@ systemd_importd_SOURCES = \ systemd_importd_CFLAGS = \ $(AM_CFLAGS) \ -D SYSTEMD_PULL_PATH=\"$(rootlibexecdir)/systemd-pull\" \ - -D SYSTEMD_IMPORT_PATH=\"$(rootlibexecdir)/systemd-import\" + -D SYSTEMD_IMPORT_PATH=\"$(rootlibexecdir)/systemd-import\" \ + -D SYSTEMD_EXPORT_PATH=\"$(rootlibexecdir)/systemd-export\" systemd_importd_LDADD = \ libsystemd-internal.la \ @@ -5454,6 +5456,30 @@ systemd_import_LDADD = \ $(ZLIB_LIBS) \ -lbz2 +systemd_export_SOURCES = \ + src/import/export.c \ + src/import/export-tar.c \ + src/import/export-tar.h \ + src/import/export-raw.c \ + src/import/export-raw.h \ + src/import/import-common.c \ + src/import/import-common.h \ + src/import/import-compress.c \ + src/import/import-compress.h + +systemd_export_CFLAGS = \ + $(AM_CFLAGS) \ + $(XZ_CFLAGS) \ + $(ZLIB_CFLAGS) + +systemd_export_LDADD = \ + libsystemd-internal.la \ + libsystemd-label.la \ + libsystemd-shared.la \ + $(XZ_LIBS) \ + $(ZLIB_LIBS) \ + -lbz2 + dist_rootlibexec_DATA = \ src/import/import-pubring.gpg