--- linuxsampler/trunk/src/testcases/Makefile.am 2008/01/23 23:52:34 1648 +++ linuxsampler/trunk/src/testcases/Makefile.am 2008/01/25 15:06:02 1649 @@ -1,6 +1,12 @@ INCLUDES = $(all_includes) METASOURCES = AUTO +if HAVE_COREMIDI +coremidi_ldflags = -framework CoreFoundation -framework CoreMIDI +else +coremidi_ldflags = +endif + EXTRA_PROGRAMS = linuxsamplertest linuxsamplertest_SOURCES = \ linuxsamplertest.cpp \ @@ -9,4 +15,5 @@ MutexTest.cpp MutexTest.h \ ConditionTest.cpp ConditionTest.h \ LSCPTest.cpp LSCPTest.h +linuxsamplertest_LDFLAGS = $(coremidi_ldflags) linuxsamplertest_LDADD = $(top_builddir)/src/liblinuxsampler.la -lcppunit