summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-20 15:57:29 +0100
committerinfirit <[email protected]>2014-11-22 21:32:47 +0100
commit0c3107bbc42745c2e45530a8d43ea7fccd881e6f (patch)
treee581355d77464632e50e2de673a62a795810b90b /src/Makefile.am
parent02cd7f18c806194eabd1dee69d28b5e2f2b51344 (diff)
downloadengrampa-0c3107bbc42745c2e45530a8d43ea7fccd881e6f.tar.bz2
engrampa-0c3107bbc42745c2e45530a8d43ea7fccd881e6f.tar.xz
Added a D-BUS service to create and extract archives.
Initial commits from FR: f998fd8e33a08d686a1071db87d21f4a83963d99 4078d1a9e5ddae3357302791432fc61d82ff37e4 58c55b06f30014326f27bdf94c406ceee0897731 Improvements and fixes from FR: D-Bus service: added GetSupportedTypes method ace4f31c586641fcf7ad1de165cd7f27b5a371c1 1399b9a84b0d4f4a5015066b0d7cec7e048d59dc From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am33
1 files changed, 25 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 450214f..c1f1a01 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,8 @@
SUBDIRS = commands sh
bin_PROGRAMS = engrampa
+libexec_PROGRAMS = engrampa-server
+noinst_PROGRAMS = test-server
if MKDTEMP_MISSING
MKDTEMP_FILES=mkdtemp.c mkdtemp.h
@@ -45,7 +47,7 @@ BUILT_SOURCES = \
fr-enum-types.h \
fr-enum-types.c
-engrampa_SOURCES = \
+COMMON_SOURCES = \
actions.h \
actions.c \
dlg-add-files.c \
@@ -123,6 +125,8 @@ engrampa_SOURCES = \
fr-command-7z.h \
fr-error.c \
fr-error.h \
+ fr-init.c \
+ fr-init.h \
fr-list-model.c \
fr-list-model.h \
fr-stock.c \
@@ -141,8 +145,6 @@ engrampa_SOURCES = \
gtk-utils.h \
java-utils.c \
java-utils.h \
- main.c \
- main.h \
open-file.c \
open-file.h \
preferences.c \
@@ -155,7 +157,7 @@ engrampa_SOURCES = \
$(BUILT_SOURCES)
if ENABLE_JSON_GLIB
-engrampa_SOURCES += \
+COMMON_SOURCES += \
fr-command-unarchiver.h \
fr-command-unarchiver.c
endif
@@ -188,10 +190,25 @@ fr-enum-types.c: typedefs.h fr-enum-types.h
&& (cmp -s xgen-$(@F) fr-enum-types.c || cp xgen-$(@F) fr-enum-types.c ) \
&& rm -f xgen-$(@F) )
-engrampa_LDADD = \
- $(top_builddir)/copy-n-paste/libeggsmclient.la \
- $(FR_LIBS) \
- ${JSON_GLIB_LIBS}
+engrampa_SOURCES = \
+ $(COMMON_SOURCES) \
+ main.c
+
+engrampa_LDADD = \
+ $(top_builddir)/copy-n-paste/libeggsmclient.la \
+ $(FR_LIBS) \
+ ${JSON_GLIB_LIBS}
+
+engrampa_server_SOURCES = \
+ $(COMMON_SOURCES) \
+ server.c
+
+engrampa_server_LDADD = \
+ $(engrampa_LDADD)
+
+test_server_SOURCES = test-server.c
+test_server_FLAGS = $(FR_CFLAGS)
+test_server_LDADD = $(FR_LIBS)
if ENABLE_MAGIC
engrampa_LDADD += $(MAGIC_LIBS)