59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
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 = \
|
|
gtk-compat.h \
|
|
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
|
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
|
--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
|
|
$(AM_V_GEN) (echo "#include \"na-marshal.h\"" ; \
|
|
$(GLIB_GENMARSHAL) \
|
|
--prefix=_na_marshal \
|
|
--body \
|
|
$(srcdir)/tray/na-marshal.list ) > xgen-tmc && \
|
|
cp -f xgen-tmc na-marshal.c && \
|
|
rm -f xgen-tmc
|
|
|
|
noinst_LTLIBRARIES += libtray.la
|
|
|
|
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
|