summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-09 22:53:33 -0300
committerPerberos <[email protected]>2011-11-09 22:53:33 -0300
commit70438138096a47b2505ac55634cd94947ce378b6 (patch)
treee45e49dda10a71616466500a4ab65d1c54b5f6c1 /src/Makefile.am
downloadengrampa-70438138096a47b2505ac55634cd94947ce378b6.tar.bz2
engrampa-70438138096a47b2505ac55634cd94947ce378b6.tar.xz
initial
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am193
1 files changed, 193 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..8622fe9
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,193 @@
+SUBDIRS = commands sh
+
+bin_PROGRAMS = file-roller
+
+if MKDTEMP_MISSING
+MKDTEMP_FILES=mkdtemp.c mkdtemp.h
+else
+MKDTEMP_FILES=
+endif
+
+if RUN_IN_PLACE
+privdatadir = $(top_srcdir)/data/
+uidir = $(top_srcdir)/data/ui
+privexecdir = $(abs_top_builddir)/src/commands/
+shdir = $(top_srcdir)/src/sh/
+else
+privdatadir = $(datadir)/file-roller/
+uidir = $(datadir)/file-roller/ui
+privexecdir = $(libexecdir)/file-roller/
+shdir = $(libexecdir)/file-roller/
+endif
+
+INCLUDES = \
+ -I$(top_srcdir)/copy-n-paste/ \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -DFR_PREFIX=\"$(prefix)\" \
+ -DFR_SYSCONFDIR=\"$(sysconfdir)\" \
+ -DFR_DATADIR=\"$(datadir)\" \
+ -DPRIVDATADIR=\"$(privdatadir)\" \
+ -DUI_DIR=\"$(uidir)\" \
+ -DFR_LIBDIR=\"$(libdir)\" \
+ -DPKG_DATA_DIR=\"$(pkgdatadir)\" \
+ -DPIXMAPSDIR=\""$(datadir)/pixmaps"\" \
+ -DGLADEDIR=\""$(gladedir)"\" \
+ -DPRIVEXECDIR=\"$(privexecdir)\" \
+ -DSHDIR=\"$(shdir)\" \
+ $(DISABLE_DEPRECATED) \
+ $(FR_CFLAGS)
+
+BUILT_SOURCES = \
+ fr-marshal.c \
+ fr-marshal.h \
+ fr-enum-types.h \
+ fr-enum-types.c
+
+file_roller_SOURCES = \
+ actions.h \
+ actions.c \
+ dlg-add-files.c \
+ dlg-add-files.h \
+ dlg-add-folder.c \
+ dlg-add-folder.h \
+ dlg-ask-password.c \
+ dlg-ask-password.h \
+ dlg-batch-add.c \
+ dlg-batch-add.h \
+ dlg-delete.c \
+ dlg-delete.h \
+ dlg-extract.c \
+ dlg-extract.h \
+ dlg-new.c \
+ dlg-new.h \
+ dlg-open-with.c \
+ dlg-open-with.h \
+ dlg-package-installer.c \
+ dlg-package-installer.h \
+ dlg-password.c \
+ dlg-password.h \
+ dlg-prop.c \
+ dlg-prop.h \
+ dlg-update.c \
+ dlg-update.h \
+ eggfileformatchooser.c \
+ eggfileformatchooser.h \
+ egg-macros.h \
+ eggtreemultidnd.c \
+ eggtreemultidnd.h \
+ file-data.c \
+ file-data.h \
+ file-utils.c \
+ file-utils.h \
+ fr-archive.c \
+ fr-archive.h \
+ fr-command.c \
+ fr-command.h \
+ fr-command-ace.c \
+ fr-command-ace.h \
+ fr-command-alz.c \
+ fr-command-alz.h \
+ fr-command-ar.c \
+ fr-command-ar.h \
+ fr-command-arj.c \
+ fr-command-arj.h \
+ fr-command-cfile.c \
+ fr-command-cfile.h \
+ fr-command-cpio.c \
+ fr-command-cpio.h \
+ fr-command-dpkg.c \
+ fr-command-dpkg.h \
+ fr-command-iso.c \
+ fr-command-iso.h \
+ fr-command-jar.h \
+ fr-command-jar.c \
+ fr-command-lha.c \
+ fr-command-lha.h \
+ fr-command-rar.c \
+ fr-command-rar.h \
+ fr-command-rpm.c \
+ fr-command-rpm.h \
+ fr-command-tar.c \
+ fr-command-tar.h \
+ fr-command-unstuff.c \
+ fr-command-unstuff.h \
+ fr-command-zip.c \
+ fr-command-zip.h \
+ fr-command-lrzip.c \
+ fr-command-lrzip.h \
+ fr-command-zoo.c \
+ fr-command-zoo.h \
+ fr-command-7z.c \
+ fr-command-7z.h \
+ fr-error.c \
+ fr-error.h \
+ fr-list-model.c \
+ fr-list-model.h \
+ fr-stock.c \
+ fr-stock.h \
+ fr-process.c \
+ fr-process.h \
+ fr-window.c \
+ fr-window.h \
+ mateconf-utils.c \
+ mateconf-utils.h \
+ gio-utils.c \
+ gio-utils.h \
+ glib-utils.c \
+ glib-utils.h \
+ gtk-utils.c \
+ gtk-utils.h \
+ java-utils.c \
+ java-utils.h \
+ main.c \
+ main.h \
+ open-file.c \
+ open-file.h \
+ preferences.c \
+ preferences.h \
+ typedefs.h \
+ ui.h \
+ $(MKDTEMP_FILES) \
+ $(BUILT_SOURCES)
+
+fr-marshal.h: fr-marshal.list $(GLIB_GENMARSHAL)
+ $(AM_V_GEN)( $(GLIB_GENMARSHAL) $< --header --prefix=fr_marshal > [email protected] )
+
+fr-marshal.c: fr-marshal.list $(GLIB_GENMARSHAL)
+ $(AM_V_GEN)( echo "#include \"fr-marshal.h\"" > [email protected] && \
+ $(GLIB_GENMARSHAL) $< --body --prefix=fr_marshal >> [email protected] )
+
+fr-enum-types.h: typedefs.h $(GLIB_MKENUMS)
+ $(AM_V_GEN)( $(GLIB_MKENUMS) \
+ --fhead "#ifndef FR_ENUM__TYPES_H\n#define FR_ENUM_TYPES_H\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
+ --fprod "/* enumerations from \"@[email protected]\" */\n" \
+ --vhead "GType @[email protected]_get_type (void);\n#define [email protected]@ (@[email protected]_get_type())\n" \
+ --ftail "G_END_DECLS\n\n#endif /* FR_ENUM_TYPES_H */" \
+ $^> xgen-$(@F) \
+ && (cmp -s xgen-$(@F) fr-enum-types.h || cp xgen-$(@F) fr-enum-types.h ) \
+ && rm -f xgen-$(@F) )
+
+fr-enum-types.c: typedefs.h fr-enum-types.h
+ $(AM_V_GEN)( $(GLIB_MKENUMS) \
+ --fhead "#include <glib-object.h>\n" \
+ --fprod "\n/* enumerations from \"@[email protected]\" */\n#include \"@[email protected]\"" \
+ --vhead "GType\[email protected][email protected]_get_type (void)\n{\n static GType etype = 0;\n if (etype == 0) {\n static const [email protected]@Value values[] = {" \
+ --vtail " { 0, NULL, NULL }\n };\n etype = [email protected]@_register_static (\"@[email protected]\", values);\n }\n return etype;\n}\n" \
+ $^> xgen-$(@F) \
+ && (cmp -s xgen-$(@F) fr-enum-types.c || cp xgen-$(@F) fr-enum-types.c ) \
+ && rm -f xgen-$(@F) )
+
+file_roller_LDADD = \
+ $(top_builddir)/copy-n-paste/libeggsmclient.la \
+ $(FR_LIBS)
+
+EXTRA_DIST = fr-marshal.list
+
+CLEANFILES = $(BUILT_SOURCES)
+
+dist-hook:
+ cd $(distdir); rm -f $(CLEANFILES)
+
+-include $(top_srcdir)/git.mk