X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2FMakefile.am;h=03792dcfcecb6927272d6178be7028fbbe4d99b4;hb=ebdeb3eed386199d9d54f819ba3c472b501ae6f7;hp=512e5d192c4deb21cdb06bb4af965ecdc5b08070;hpb=b68b751fd46b633d6eb394b842690edc9be3c2f1;p=flightgear.git diff --git a/src/GUI/Makefile.am b/src/GUI/Makefile.am index 512e5d192..03792dcfc 100644 --- a/src/GUI/Makefile.am +++ b/src/GUI/Makefile.am @@ -1,21 +1,38 @@ noinst_LIBRARIES = libGUI.a noinst_PROGRAMS = layout-test +if HAVE_FRAMEWORK_PLIB +layout_test_PLIB_FW = $(plib_FRAMEWORK) +else +layout_test_PLIB_LIBS = -lplibpw -lplibpu -lplibfnt -lplibul +endif + +if HAVE_FRAMEWORK_OSG +layout_test_OSG_LIBS = $(openthreads_FRAMEWORK) +else +layout_test_OSG_LIBS = $(openthreads_LIBS) +endif + libGUI_a_SOURCES = \ new_gui.cxx new_gui.hxx \ dialog.cxx dialog.hxx \ - menubar.cxx menubar.hxx \ - gui.cxx gui.h gui_funcs.cxx \ - fonts.cxx \ - AirportList.cxx AirportList.hxx \ + menubar.cxx menubar.hxx \ + gui.cxx gui.h gui_funcs.cxx \ + fonts.cxx \ + AirportList.cxx AirportList.hxx \ property_list.cxx property_list.hxx \ layout.cxx layout-props.cxx layout.hxx \ - SafeTexFont.cxx SafeTexFont.hxx - + SafeTexFont.cxx SafeTexFont.hxx \ + WaypointList.cxx WaypointList.hxx \ + MapWidget.cxx MapWidget.hxx + INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src layout_test_SOURCES = layout-test.cxx layout_test_LDADD = libGUI.a \ - -lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml \ - -lplibpw -lplibpu -lplibfnt -lplibul $(opengl_LIBS) + -lsgprops -lsgdebug -lsgstructure -lsgmisc -lsgxml -lsgtiming \ + $(layout_test_PLIB_LIBS) $(opengl_LIBS) + +# mainly for Macs +layout_test_LDFLAGS = $(layout_test_PLIB_FW) $(layout_test_OSG_LIBS)