summaryrefslogtreecommitdiff
path: root/logview/Makefile.am
blob: 1fc2bd49479b3ff78a3e13d5417d9aa994b813f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
SUBDIRS = data help tests

AM_CPPFLAGS = \
	-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_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)