]> git.mxchange.org Git - flightgear.git/blob - src/GUI/Makefile.am
Merge branches 'jmt/navradio', 'jmt/cleanup' and 'torsten/gps-fix'
[flightgear.git] / src / GUI / Makefile.am
1 noinst_LIBRARIES = libGUI.a
2 noinst_PROGRAMS = layout-test
3
4 if HAVE_FRAMEWORK_PLIB
5 layout_test_PLIB_FW = $(plib_FRAMEWORK)
6 else
7 layout_test_PLIB_LIBS = -lplibpw -lplibpu -lplibfnt -lplibul
8 endif
9
10 if HAVE_FRAMEWORK_OSG
11 layout_test_OSG_LIBS = $(openthreads_FRAMEWORK)
12 else
13 layout_test_OSG_LIBS = $(openthreads_LIBS)
14 endif
15
16 libGUI_a_SOURCES = \
17         new_gui.cxx new_gui.hxx \
18         dialog.cxx dialog.hxx \
19         menubar.cxx menubar.hxx \
20         gui.cxx gui.h gui_funcs.cxx \
21         fonts.cxx \
22         AirportList.cxx AirportList.hxx \
23         property_list.cxx property_list.hxx \
24         layout.cxx layout-props.cxx layout.hxx \
25         SafeTexFont.cxx SafeTexFont.hxx
26
27 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
28
29 layout_test_SOURCES = layout-test.cxx
30
31 layout_test_LDADD = libGUI.a \
32                     -lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml -lsgtiming \
33                     $(layout_test_PLIB_LIBS) $(opengl_LIBS)
34
35 # mainly for Macs
36 layout_test_LDFLAGS = $(layout_test_PLIB_FW) $(layout_test_OSG_LIBS)