summaryrefslogtreecommitdiff
path: root/xfconf/Makefile.am
blob: 790b493e1c5423a576c8e167dd29cfa955565742 (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

lib_LTLIBRARIES = libxfconf-0.la

libxfconfincludedir = $(includedir)/xfce4/xfconf-$(LIBXFCONF_VERSION_API)
libxfconfinclude_HEADERS = \
	xfconf-channel.h \
	xfconf-errors.h \
	xfconf-types.h \
	xfconf.h

libxfconf_0_la_SOURCES = \
	$(libxfconfinclude_HEADERS) \
	xfconf-channel.c \
	xfconf-dbus-bindings.h \
	xfconf-private.h \
	xfconf.c

libxfconf_0_la_CFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/common \
	-DLIBXFCONF_COMPILATION \
	-DG_LOG_DOMAIN=\"xfconf\" \
	$(GLIB_CFLAGS) \
	$(DBUS_CFLAGS) \
	$(DBUS_GLIB_CFLAGS)

libxfconf_0_la_LDFLAGS = \
	-export-dynamic \
	-version-info $(LIBXFCONF_VERINFO) \
	-export-symbols-regex "^[^_].*" \
	-no-undefined

libxfconf_0_la_LIBADD = \
	$(top_builddir)/common/libxfconf-common.la \
	$(GLIB_LIBS) \
	$(DBUS_LIBS) \
	$(DBUS_GLIB_LIBS)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libxfconf-0.pc


if MAINTAINER_MODE

BUILT_SOURCES = \
	xfconf-dbus-bindings.h

xfconf-dbus-bindings.h: $(top_srcdir)/common/xfconf-dbus.xml Makefile
	dbus-binding-tool --mode=glib-client --prefix=xfconf_client $< \
	    | sed -e 's/org_xfce_Xfconf_/xfconf_client_/g;' \
	          -e 's/_GUI_/_gui_/g;' > $@

if HAVE_GNUC_VISIBILITY
TESTS = abicheck.sh
endif

endif


EXTRA_DIST = \
	abicheck.sh \
	xfconf.symbols