aboutsummaryrefslogtreecommitdiffstats
path: root/applets/systray/Makefile.am
blob: 13dbd02e70da64f0f2bf8ff6a541fabf6f136553 (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
AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" -DGETTEXT_PACKAGE=\"matchbox-panel\"
AM_CFLAGS = -Wall -g $(MATCHBOX_PANEL_CFLAGS) $(LIBNOTIFY_CFLAGS) \
	    -I$(top_srcdir) -I$(top_builddir)

appletdir = $(pkglibdir)
applet_LTLIBRARIES = libsystray.la

eggmarshalers.h: eggmarshalers.list
	cd $(srcdir) \
	&& $(GLIB_GENMARSHAL) --prefix=_egg_marshal eggmarshalers.list --header > xgen-emh \
	&& cp xgen-emh eggmarshalers.h \
	&& rm -f xgen-emh xgen-emh~

eggmarshalers.c: eggmarshalers.list
	cd $(srcdir) \
	&& $(GLIB_GENMARSHAL) --prefix=_egg_marshal eggmarshalers.list --body > xgen-emc \
	&& cp xgen-emc eggmarshalers.c \
	&& rm -f xgen-emc xgen-emc~

BUILT_SOURCES = eggmarshalers.c eggmarshalers.h

libsystray_la_SOURCES = $(BUILT_SOURCES) \
                        eggtraymanager.c \
			eggtraymanager.h \
			systray.c
libsystray_la_LIBADD = $(LIBNOTIFY_LIBS)
libsystray_la_LDFLAGS = -avoid-version

EXTRA_DIST = eggmarshalers.list

CLEANFILES = $(BUILT_SOURCES)
DISTCLEANFILES = $(BUILT_SOURCES)
MAINTAINERCLEANFILES = Makefile.in $(BUILT_SOURCES)