1## Process this file with automake to produce Makefile.in
2
3SUBDIRS = . tools test
4
5INCLUDES = \
6	-I$(top_srcdir)/intl				\
7	-I$(top_srcdir) 				\
8	-I$(top_builddir)				\
9	$(WARN_CFLAGS) 					\
10	$(GLIB_CFLAGS)					\
11	$(GOBJECT_CFLAGS)				\
12	$(XML_CFLAGS)					\
13	-DG_LOG_DOMAIN=\"Assetml\"			\
14	-DVERSION=\"$(VERSION)\"
15
16lib_LTLIBRARIES = libassetml.la
17
18libassetml_la_LIBADD = \
19	$(GLIB_LIBS) $(XML_LIBS)  \
20	$(GOBJECT_LIBS)
21
22libassetmlincludedir = $(includedir)/libassetml-1.0/libassetml
23
24libassetmlinclude_HEADERS =			\
25	assetml.h
26
27libassetml_la_SOURCES =			\
28	$(libassetmlinclude_HEADERS)		\
29	assetml.c
30
31nodist_libassetml_la_SOURCES =			\
32	assetml-marshal.c			\
33	assetml-marshal.h
34
35BUILT_SOURCES =					\
36	assetml-marshal.h
37
38CLEANFILES =					\
39	$(nodist_libassetml_la_SOURCES)
40
41
42assetml-marshal.h: assetml-marshal.list $(GLIB_GENMARSHAL)
43	$(GLIB_GENMARSHAL) $< --header --prefix=assetml_marshal > $@
44assetml-marshal.c: assetml-marshal.list $(GLIB_GENMARSHAL)
45	$(GLIB_GENMARSHAL) $< --body --prefix=assetml_marshal > $@.tmp
46	echo '/* This file has been automatically generated.  Do not edit.  */' >$@
47	echo '#include "'$*.h'"' >>$@
48	cat $@.tmp >>$@
49	rm -f $@.tmp
50
51EXTRA_DIST = \
52	assetml-marshal.list	\
53	libassetml.pc.in
54
55pkgconfigdir = $(libdir)/pkgconfig
56pkgconfig_DATA = libassetml.pc
57