]> git.mxchange.org Git - simgear.git/blob - simgear/xml/Makefile.am
Updates to build system to better support automake-1.5
[simgear.git] / simgear / xml / Makefile.am
1 includedir = @includedir@/xml
2
3 if HAVE_ZLIB
4 ZLIB_INCL =
5 else
6 ZLIB_INCL = -I$(top_srcdir)/src/zlib
7 endif
8
9 lib_LIBRARIES = libsgxml.a
10
11 include_HEADERS = \
12         easyxml.hxx
13
14 noinst_HEADERS = \
15         xmltok_impl.c xmltok_ns.c
16
17 libsgxml_a_SOURCES = \
18         asciitab.h \
19         easyxml.cxx \
20         hashtable.h hashtable.c \
21         iasciitab.h latin1tab.h nametab.h utf8tab.h xmldef.h \
22         xmlparse.h xmlparse.c \
23         xmlrole.h xmlrole.c \
24         xmltok.h xmltok.c \
25         xmltok_impl.h
26
27 if OLD_AUTOMAKE
28 INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
29 else
30 INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
31 endif