qcdm: fix some build errors when building standalone

This commit is contained in:
Dan Williams
2012-01-24 11:32:20 -06:00
parent 79cb265379
commit 38498e3c5d
6 changed files with 15 additions and 9 deletions
+10 -6
View File
@@ -1,5 +1,6 @@
INCLUDES = \
-I$(top_srcdir)/libqcdm/src
-I$(top_srcdir)/libqcdm/src \
-I$(top_srcdir)/src
noinst_PROGRAMS = test-qcdm
@@ -16,12 +17,15 @@ test_qcdm_SOURCES = \
test-qcdm-result.h \
test-qcdm.c
test_qcdm_CPPFLAGS = \
$(MM_CFLAGS)
test_qcdm_CPPFLAGS = $(MM_CFLAGS)
test_qcdm_LDADD = \
$(top_builddir)/libqcdm/src/libqcdm.la \
$(MM_LIBS)
test_qcdm_LDADD = $(MM_LIBS)
if STANDALONE
test_qcdm_LDADD += $(top_builddir)/src/libqcdm.la
else
test_qcdm_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la
endif
if WITH_TESTS