]> git.mxchange.org Git - flightgear.git/blob - src/GUI/Makefile.am
Merge branch 'jmt/gps' into next
[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         WaypointList.cxx WaypointList.hxx
27         
28 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src
29
30 layout_test_SOURCES = layout-test.cxx
31
32 layout_test_LDADD = libGUI.a \
33                     -lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml -lsgtiming \
34                     $(layout_test_PLIB_LIBS) $(opengl_LIBS)
35
36 # mainly for Macs
37 layout_test_LDFLAGS = $(layout_test_PLIB_FW) $(layout_test_OSG_LIBS)