summaryrefslogtreecommitdiff
path: root/logview/src/Makefile.am
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-09-09 10:46:57 +0300
committermonsta <[email protected]>2015-09-09 10:46:57 +0300
commitc9cadcd53d03e73475dd266aad223a1ebc9229b5 (patch)
tree0166a7c33476e9d9a4a2a3a3b66bde69594dc242 /logview/src/Makefile.am
parent09a33e1feefbf5bc06eb5692b03c894c3b48daa9 (diff)
downloadmate-utils-c9cadcd53d03e73475dd266aad223a1ebc9229b5.tar.bz2
mate-utils-c9cadcd53d03e73475dd266aad223a1ebc9229b5.tar.xz
logview: move sources to src/ subdir
Diffstat (limited to 'logview/src/Makefile.am')
-rw-r--r--logview/src/Makefile.am73
1 files changed, 73 insertions, 0 deletions
diff --git a/logview/src/Makefile.am b/logview/src/Makefile.am
new file mode 100644
index 00000000..70cbee21
--- /dev/null
+++ b/logview/src/Makefile.am
@@ -0,0 +1,73 @@
+SUBDIRS = tests
+
+AM_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"mate-system-log\" \
+ -DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
+ -DDATADIR=\""$(datadir)"\" \
+ -DLOGVIEWINSTALLPREFIX=\""$(prefix)/\"" \
+ -DLOGVIEW_DATADIR=\""$(pkgdatadir)"\" \
+ $(SUN_OS) \
+ $(DISABLE_DEPRECATED) \
+ $(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_CFLAGS = \
+ $(GLIB_CFLAGS) \
+ $(GTHREAD_CFLAGS) \
+ $(GIO_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(NULL)
+
+mate_system_log_LDADD = \
+ $(GLIB_LIBS) \
+ $(GIO_LIBS) \
+ $(GTHREAD_LIBS) \
+ $(GTK_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)
+