nut-debian/tests/Makefile.am

22 lines
374 B
Makefile
Raw Normal View History

2012-08-13 00:39:31 +03: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