nut-debian/tests/Makefile.am
2012-08-12 23:39:31 +02:00

22 lines
374 B
Makefile

# 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