summaryrefslogtreecommitdiff
path: root/nautilus-installer/libtrilobite/Makefile.am
blob: 11c6284815260d9a70ae31f499c18958922a7f6c (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
NULL =

if ENABLE_INSTALLER
LIBRARY = libtrilobite_minimal.a
endif

CFLAGS = -Wall -Werror -g -O2

noinst_LIBRARIES = $(LIBRARY)

libtrilobite_minimal_a_SOURCES =	\
	trilobite-core-distribution.c	\
	trilobite-root-helper.c		\
	trilobite-core-utils.c		\
	trilobite-core-network-slim.c	\
	trilobite-core-messaging.c	\
	trilobite-md5-tools.c		\
	$(NULL)

INCLUDES=								\
	-DTRILOBITE_VERSION=\"0.1.0\"					\
	-I.								\
	-I@top_srcdir@							\
        -I@top_srcdir@/components/services/trilobite			\
        -I@top_srcdir@/components/services/trilobite/libtrilobite	\
	-DTRILOBITE_SLIM						\
	-DG_LOG_DOMAIN=\"Nautilus-Installer\"				\
	@GLIB_CFLAGS@							\
	@GTK_CFLAGS@							\
	@XML_CFLAGS@							\
	$(NULL)

TRILOBITE_HDRS =  \
	libtrilobite.h \
	trilobite-core-distribution.h \
	trilobite-core-messaging.h \
	trilobite-core-network.h \
	trilobite-core-utils.h \
	trilobite-i18n-utils.h \
	trilobite-md5-tools.h \
	trilobite-redirect.h \
	trilobite-root-client-private.h \
	trilobite-root-client-public.h \
	trilobite-root-helper.h \
	$(NULL)

$(TRILOBITE_HDRS):
	rm -f $@; ln -s $(top_srcdir)/components/services/trilobite/libtrilobite/`basename $@` $@

$(libtrilobite_minimal_a_SOURCES): $(TRILOBITE_HDRS)
	rm -f $@; ln -s $(top_srcdir)/components/services/trilobite/libtrilobite/`basename $@` $@