summaryrefslogtreecommitdiff
path: root/gsettings/Makefile.am
blob: e35926eca274853a82db5614f1b1427f1c940ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings -fPIC -DPIC
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(gio_CFLAGS)

giomodules_PROGRAMS = libdconfsettings.so

libdconfsettings_so_LDADD = $(gio_LIBS) ../common/libdconf-common-shared.a
libdconfsettings_so_LDFLAGS = -shared
libdconfsettings_so_SOURCES = \
	../engine/dconf-engine.c	\
	../gvdb/gvdb-reader.c		\
	dconfcontext.h			\
	dconfcontext.c			\
	dconfsettingsbackend.c

uninstall-hook:
	if test -z "$(DESTDIR)" -a "$(gio_QUERYMODULES)" != "no" ; then \
	  $(gio_QUERYMODULES) $(giomodulesdir) ;  \
	fi

install-data-hook:
	if test -z "$(DESTDIR)" -a "$(gio_QUERYMODULES)" != "no" ; then \
	  $(gio_QUERYMODULES) $(giomodulesdir) ;  \
	fi