]> git.mxchange.org Git - simgear.git/blob - simgear/io/Makefile.am
Bernie Bright:
[simgear.git] / simgear / io / Makefile.am
1 includedir = @includedir@/io
2
3 lib_LIBRARIES = libsgio.a
4
5 include_HEADERS = \
6         iochannel.hxx \
7         lowlevel.hxx \
8         sg_binobj.hxx \
9         sg_file.hxx \
10         sg_serial.hxx \
11         sg_socket.hxx \
12         sg_socket_udp.hxx
13
14 libsgio_a_SOURCES = \
15         iochannel.cxx \
16         lowlevel.cxx \
17         sg_binobj.cxx \
18         sg_file.cxx \
19         sg_serial.cxx \
20         sg_socket.cxx \
21         sg_socket_udp.cxx 
22
23 if OLD_AUTOMAKE
24 INCLUDES += -I$(top_srcdir)
25 else
26 INCLUDES = -I$(top_srcdir)
27 endif
28
29 if IS_MINGW
30 NETWORK_LIB = -lwsock32
31 else
32 NETWORK_LIB =
33 endif
34
35 noinst_PROGRAMS = decode_binobj socktest lowtest
36
37 socktest_SOURCES = socktest.cxx
38
39 socktest_LDADD = \
40         $(top_builddir)/simgear/bucket/libsgbucket.a \
41         $(top_builddir)/simgear/io/libsgio.a \
42         $(top_builddir)/simgear/debug/libsgdebug.a \
43         $(top_builddir)/simgear/misc/libsgmisc.a \
44         $(top_builddir)/simgear/xml/libsgxml.a \
45         -lz
46
47 lowtest_SOURCES = lowtest.cxx
48
49 lowtest_LDADD = \
50         $(top_builddir)/simgear/io/libsgio.a
51
52 decode_binobj_SOURCES = decode_binobj.cxx
53
54 decode_binobj_LDADD = \
55         $(top_builddir)/simgear/io/libsgio.a \
56         $(top_builddir)/simgear/bucket/libsgbucket.a \
57         $(top_builddir)/simgear/misc/libsgmisc.a \
58         $(top_builddir)/simgear/debug/libsgdebug.a \
59         $(top_builddir)/simgear/xml/libsgxml.a \
60         $(NETWORK_LIB) -lz