2008-11-14 17:21:56 +00:00
|
|
|
tray_cflags = \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
-DG_LOG_DOMAIN=\"notification_area\" \
|
|
|
|
$(TRAY_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
tray_built_sources = \
|
|
|
|
na-marshal.h \
|
|
|
|
na-marshal.c
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(tray_built_sources)
|
|
|
|
|
|
|
|
TRAY_STAMP_FILES = stamp-na-marshal.h
|
|
|
|
|
|
|
|
# please, keep this sorted alphabetically
|
|
|
|
tray_source = \
|
|
|
|
tray/na-tray-child.c \
|
|
|
|
tray/na-tray-child.h \
|
|
|
|
tray/na-tray-manager.c \
|
|
|
|
tray/na-tray-manager.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
na-marshal.h: stamp-na-marshal.h
|
|
|
|
@true
|
|
|
|
stamp-na-marshal.h: Makefile tray/na-marshal.list
|
2009-08-06 20:56:06 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
2008-11-14 17:21:56 +00:00
|
|
|
--prefix=_na_marshal \
|
|
|
|
--header \
|
|
|
|
$(srcdir)/tray/na-marshal.list > xgen-tmh && \
|
|
|
|
(cmp -s xgen-tmh na-marshal.h || cp -f xgen-tmh na-marshal.h) && \
|
|
|
|
rm -f xgen-tmh && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
na-marshal.c: Makefile tray/na-marshal.list
|
2009-08-06 20:56:06 +00:00
|
|
|
$(AM_V_GEN) (echo "#include \"na-marshal.h\"" ; \
|
2008-11-14 17:21:56 +00:00
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=_na_marshal \
|
|
|
|
--body \
|
|
|
|
$(srcdir)/tray/na-marshal.list ) > xgen-tmc && \
|
|
|
|
cp -f xgen-tmc na-marshal.c && \
|
|
|
|
rm -f xgen-tmc
|
|
|
|
|
2008-11-18 01:13:53 +00:00
|
|
|
noinst_LTLIBRARIES += libtray.la
|
2008-11-14 17:21:56 +00:00
|
|
|
|
|
|
|
libtray_la_LIBADD = $(TRAY_LIBS)
|
|
|
|
libtray_la_SOURCES = \
|
|
|
|
$(tray_source) \
|
|
|
|
$(tray_built_sources) \
|
|
|
|
$(NULL)
|
|
|
|
libtray_la_CPPFLAGS = $(tray_cflags)
|
|
|
|
libtray_la_LDFLAGS = $(LDADD)
|
|
|
|
|
|
|
|
CLEANFILES += $(TRAY_STAMP_FILES) $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
tray/na-marshal.list
|