summaryrefslogtreecommitdiff
path: root/logview/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'logview/Makefile.am')
-rw-r--r--logview/Makefile.am65
1 files changed, 65 insertions, 0 deletions
diff --git a/logview/Makefile.am b/logview/Makefile.am
new file mode 100644
index 00000000..b12cf217
--- /dev/null
+++ b/logview/Makefile.am
@@ -0,0 +1,65 @@
+SUBDIRS = data help tests
+
+INCLUDES = \
+ $(MATE_UTILS_CFLAGS) \
+ $(GTHREAD_CFLAGS) \
+ -DG_LOG_DOMAIN=\"mate-system-log\" \
+ -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DDATADIR=\""$(datadir)"\" \
+ -DLOGVIEWINSTALLPREFIX=\""$(prefix)/\"" \
+ -DLOGVIEW_DATADIR=\""$(pkgdatadir)"\" \
+ $(SUN_OS) \
+ $(NULL)
+
+bin_PROGRAMS = mate-system-log
+
+BUILT_SOURCES = \
+ logview-marshal.c \
+ logview-marshal.h
+
+mate_system_log_SOURCES = \
+ logview-app.c \
+ logview-app.h \
+ logview-main.c \
+ logview-about.h \
+ logview-manager.c \
+ logview-manager.h \
+ logview-utils.c \
+ logview-utils.h \
+ logview-loglist.c \
+ logview-loglist.h \
+ logview-window.c \
+ logview-window.h \
+ logview-log.h \
+ logview-log.c \
+ logview-findbar.h \
+ logview-findbar.c \
+ logview-prefs.c \
+ logview-prefs.h \
+ logview-filter.h \
+ logview-filter.c \
+ logview-filter-manager.h \
+ logview-filter-manager.c \
+ $(BUILT_SOURCES)
+
+mate_system_log_LDADD = \
+ $(MATE_UTILS_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(Z_LIBS) \
+ -lm
+
+logview-marshal.h: logview-marshal.list $(GLIB_GENMARSHAL)
+ $(GLIB_GENMARSHAL) $< --header --prefix=logview_marshal >> $@
+
+logview-marshal.c: logview-marshal.list $(GLIB_GENMARSHAL)
+ echo "#include \"logview-marshal.h\"" > $@ && \
+ $(GLIB_GENMARSHAL) $< --body --prefix=logview_marshal >> $@
+
+EXTRA_DIST = logview-marshal.list
+
+CLEANFILES = \
+ $(BUILT_SOURCES)
+
+dist-hook:
+ cd $(distdir) ; rm -f $(CLEANFILES)
+