From 3d34133e1eeffe88e5669ecede41ec82e159de72 Mon Sep 17 00:00:00 2001 From: torsten Date: Wed, 21 Oct 2009 20:20:03 +0000 Subject: [PATCH] This is one leftover from Tat's patch from 2009-09-16: I believe these patches are really important for Mac users since they don't have to wait for my updating xcode project files. these also saves up to 50% of build time since most of users don't have to make universal binaries. --- tests/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 69612dbef..46db97225 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,6 +2,12 @@ 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.c est_epsilon_LDADD = $(opengl_LIBS) @@ -21,4 +27,4 @@ test_mktime_SOURCES = test-mktime.cxx test_text_SOURCES = test-text.cxx test_up_SOURCES = test-up.cxx -test_up_LDADD = -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lplibsg -lplibul -lz $(base_LIBS) +test_up_LDADD = $(test_up_PLIB_LIBS) -lsgmath -lsgxml -lsgmisc -lsgdebug -lsgstructure -lsgtiming -lz $(base_LIBS)