1
0
Fork 0
flightgear/tests/Makefile.am
ehofman dea145b921 John Denker:
Suggestion:  It might be helpful to promote each of
 the .c files to .cxx.

 Rationale:
 -- The configure/makefile system handles CFLAGS
    differently from CXXFLAGS.
 -- It is important for the *info programs to
    compiled and run in exactly the same environment
    as the main fgfs program.  Some users depend on
    compiler or linker flags such as rpath that
    strongly affect the results of the *info programs.
 -- There is no downside;  you code compiles just
    fine as-is under the c++ compiler.

timoore split the original patch so that alcinfo.cxx can be commited to
the ehofman/sound branch seperately.
2009-12-09 08:15:09 +01:00

30 lines
774 B
Makefile

bin_PROGRAMS = est-epsilon gl-info al-info
noinst_PROGRAMS = test-gethostname test-mktime test-text test-up test-env-map
if HAVE_FRAMEWORK_PLIB
test_up_LDFLAGS = $(plib_FRAMEWORK)
else
test_up_PLIB_LIBS = -lplibsg -lplibul
endif
est_epsilon_SOURCES = est-epsilon.cxx
est_epsilon_LDADD = $(opengl_LIBS)
gl_info_SOURCES = gl-info.cxx
gl_info_LDADD = $(opengl_LIBS)
al_info_SOURCES = al-info.c
al_info_LDADD = $(openal_LIBS)
test_env_map_SOURCES = test-env-map.cxx
test_env_map_LDADD = $(opengl_LIBS)
test_gethostname_SOURCES = test-gethostname.cxx
test_mktime_SOURCES = test-mktime.cxx
test_text_SOURCES = test-text.cxx
test_up_SOURCES = test-up.cxx
test_up_LDADD = $(test_up_PLIB_LIBS) -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lz $(base_LIBS)