nut/tests/Makefile.am

22 lines
374 B
Makefile
Raw Permalink Normal View History

2012-08-12 21:39:31 +00:00
# Network UPS Tools: tests
if HAVE_CPPUNIT
TESTS = cppunittest
check_PROGRAMS = $(TESTS)
cppunittest_CXXFLAGS = $(CPPUNIT_CFLAGS)
cppunittest_LDFLAGS = $(CPPUNIT_LIBS)
# List of src files for CppUnit tests
CPPUNITTESTSRC = example.cpp
cppunittest_SOURCES = $(CPPUNITTESTSRC) cpputest.cpp
else !HAVE_CPPUNIT
EXTRA_DIST = example.cpp cpputest.cpp
endif !HAVE_CPPUNIT