Commit f73a7c44 authored by Simon Morlat's avatar Simon Morlat

fix compilation out of source tree.

parent 0a0a9c60
This diff is collapsed.
......@@ -3,3 +3,7 @@
noinst_LTLIBRARIES = libcunitautomated.la
libcunitautomated_la_SOURCES = \
Automated.c
AM_CPPFLAGS=-I$(top_srcdir)/CUnit/Headers
......@@ -3,3 +3,7 @@
noinst_LTLIBRARIES = libcunitbasic.la
libcunitbasic_la_SOURCES = \
Basic.c
AM_CPPFLAGS=-I$(top_srcdir)/CUnit/Headers
......@@ -3,3 +3,7 @@
noinst_LTLIBRARIES = libcunitconsole.la
libcunitconsole_la_SOURCES = \
Console.c
AM_CPPFLAGS=-I$(top_srcdir)/CUnit/Headers
......@@ -10,6 +10,8 @@ SHARED_SOURCES = \
noinst_LTLIBRARIES = libcunitfmk.la
libcunitfmk_la_SOURCES = $(SHARED_SOURCES)
AM_CPPFLAGS=-I$(top_srcdir)/CUnit/Headers
if ENABLE_TEST
TEST_DEFINES = -DCUNIT_BUILD_TESTS -DCUNIT_DO_NOT_DEFINE_UNLESS_BUILDING_TESTS -DMEMTRACE
......
......@@ -22,6 +22,6 @@ CLEANFILES = $(INCLUDE_FILES)
$(INCLUDE_FILES) : copy_headers
copy_headers:
cp -f ../../CUnit/Headers/*.h .
cp -f ../../CUnit/Sources/Win/Win.h .
cp -f $(top_srcdir)/CUnit/Headers/*.h .
cp -f $(top_srcdir)/CUnit/Sources/Win/Win.h .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment