2010-07-12 15:16:31 +08:00
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
# CppUnitLite
|
|
|
|
|
# replaced Makefile with automake for easy linking
|
|
|
|
|
#----------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
headers = TestHarness.h
|
|
|
|
|
sources = Failure.cpp SimpleString.cpp Test.cpp TestRegistry.cpp TestResult.cpp
|
|
|
|
|
headers += $(sources:.cpp=.h)
|
|
|
|
|
|
2011-09-21 02:46:19 +08:00
|
|
|
if ENABLE_INSTALL_CPPUNITLITE
|
|
|
|
|
CppUnitLitedir = $(includedir)/CppUnitLite
|
|
|
|
|
lib_LIBRARIES = libCppUnitLite.a
|
|
|
|
|
CppUnitLite_HEADERS = $(headers)
|
2010-07-12 15:16:31 +08:00
|
|
|
libCppUnitLite_a_SOURCES = $(sources)
|
2011-09-21 02:46:19 +08:00
|
|
|
else
|
|
|
|
|
noinst_LIBRARIES = libCppUnitLite.a
|
2010-10-26 06:12:27 +08:00
|
|
|
noinst_HEADERS = $(headers)
|
2011-09-21 02:46:19 +08:00
|
|
|
libCppUnitLite_a_SOURCES = $(sources)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|