]> git.mxchange.org Git - simgear.git/blob - simgear/misc/Makefile.am
Updates to build system to better support automake-1.5
[simgear.git] / simgear / misc / Makefile.am
1 includedir = @includedir@/misc
2
3 if HAVE_ZLIB
4 ZLIB_INCL =
5 else
6 ZLIB_INCL = -I$(top_srcdir)/src/zlib
7 endif
8
9 lib_LIBRARIES = libsgmisc.a
10
11 include_HEADERS = \
12         commands.hxx \
13         exception.hxx \
14         props.hxx \
15         sg_path.hxx \
16         sgstream.hxx \
17         stopwatch.hxx \
18         strutils.hxx \
19         texcoord.hxx \
20         zfstream.hxx
21
22 libsgmisc_a_SOURCES = \
23         commands.cxx \
24         exception.cxx \
25         props.cxx \
26         props_io.cxx \
27         sg_path.cxx \
28         sgstream.cxx \
29         strutils.cxx \
30         texcoord.cxx \
31         zfstream.cxx
32
33 noinst_PROGRAMS = props_test
34
35 props_test_SOURCES = props_test.cxx
36 props_test_LDADD = libsgmisc.a ../xml/libsgxml.a ../debug/libsgdebug.a
37
38 if OLD_AUTOMAKE
39 INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
40 else
41 INCLUDES = -I$(top_srcdir) $(ZLIB_INCL)
42 endif