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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
AM_CPPFLAGS = \
-I$(top_srcdir) \
-DLIBXFCONF_COMPILATION \
-DG_LOG_DOMAIN=\"xfconf-common\" \
$(PLATFORM_CPPFLAGS)
noinst_LTLIBRARIES = \
libxfconf-common.la \
libxfconf-gvaluefuncs.la \
libxfconf-dbus.la
libxfconf_common_la_SOURCES = \
xfconf-errors.c \
xfconf-marshal.c \
xfconf-marshal.h
libxfconf_common_la_CFLAGS = \
$(GLIB_CFLAGS) \
$(PLATFORM_CFLAGS)
libxfconf_common_la_LDFLAGS = \
$(PLATFORM_LDFLAGS)
libxfconf_common_la_LIBADD = \
$(GLIB_LIBS)
libxfconf_built_sources = \
xfconf-alias.h \
xfconf-aliasdef.c
libxfconf_gvaluefuncs_la_SOURCES = \
xfconf-gvaluefuncs.c \
xfconf-gvaluefuncs.h
libxfconf_gvaluefuncs_la_CFLAGS = \
$(GLIB_CFLAGS) \
$(GIO_UNIX_CFLAGS) \
$(PLATFORM_CFLAGS)
libxfconf_gvaluefuncs_la_LDFLAGS = \
$(PLATFORM_LDFLAGS)
libxfconf_gvaluefuncs_la_LIBADD = \
$(GLIB_LIBS) \
$(GIO_UNIX_LIBS)
libxfconf_dbus_la_SOURCES = \
xfconf-gdbus-bindings.c \
xfconf-gdbus-bindings.h
libxfconf_dbus_la_CFLAGS = $(GIO_UNIX_CFLAGS)
libxfconf_dbus_la_LIBADD = $(GIO_UNIX_LIBS)
BUILT_SOURCES = \
xfconf-marshal.c \
xfconf-marshal.h \
xfconf-gdbus-bindings.c \
xfconf-gdbus-bindings.h
xfconf-dbus.xml: xfconf-dbus.xml.in
$(SED) -e "s,\@XFCONF_SERVICE_NAME_PREFIX\@,$(XFCONF_SERVICE_NAME_PREFIX),g" \
-e "s,\@XFCONF_SERVICE_PATH_PREFIX\@,$(XFCONF_SERVICE_PATH_PREFIX),g" < $< > $@
xfconf-marshal.h: $(srcdir)/xfconf-marshal.list Makefile
$(AM_V_GEN) glib-genmarshal --prefix=_xfconf_marshal $(srcdir)/xfconf-marshal.list --header > xfconf-marshal.h
xfconf-marshal.c: $(srcdir)/xfconf-marshal.list Makefile
$(AM_V_GEN) echo '#include "xfconf-marshal.h"' > xfconf-marshal.c \
&& glib-genmarshal --prefix=_xfconf_marshal $(srcdir)/xfconf-marshal.list --body >> xfconf-marshal.c
xfconf-gdbus-bindings.h:
xfconf-gdbus-bindings.c: xfconf-dbus.xml Makefile
$(AM_V_GEN) $(GDBUS_CODEGEN) \
--interface-prefix @XFCONF_SERVICE_NAME_PREFIX@.Xfconf \
--annotate "@XFCONF_SERVICE_NAME_PREFIX@.Xfconf" "org.gtk.GDBus.C.Name" Exported \
--c-namespace Xfconf \
--generate-c-code xfconf-gdbus-bindings \
$<
CLEANFILES = \
actual-abi \
expected-abi
DISTCLEANFILES = \
$(libxfconf_built_sources) \
$(BUILT_SOURCES) \
xfconf-dbus.xml
BUILT_SOURCES += \
$(libxfconf_built_sources)
xfconf-alias.h: make-exo-alias.pl $(top_srcdir)/xfconf/xfconf.symbols
$(AM_V_GEN) $(PERL) $(srcdir)/make-exo-alias.pl <$(top_srcdir)/xfconf/xfconf.symbols >xfconf-alias.h
xfconf-aliasdef.c: make-exo-alias.pl $(top_srcdir)/xfconf/xfconf.symbols
$(AM_V_GEN) $(PERL) $(srcdir)/make-exo-alias.pl -def <$(top_srcdir)/xfconf/xfconf.symbols >xfconf-aliasdef.c
EXTRA_DIST = \
make-exo-alias.pl \
xfconf-alias.h \
xfconf-aliasdef.c \
xfconf-common-private.h \
xfconf-dbus.xml.in \
xfconf-marshal.list \
xfconf-types.c
# required for make distcheck
dist-hook: all
|