summaryrefslogtreecommitdiffstats
blob: 6924a707c140c633e9ad772e20745527c9685b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
NETWORKTEST_TARGET += Swiften/QA/NetworkTest/checker
NETWORKTEST_SOURCES += \
	Swiften/QA/NetworkTest/DomainNameResolverTest.cpp \
	Swiften/QA/NetworkTest/BoostConnectionTest.cpp \
	Swiften/QA/UnitTest/checker.cpp
NETWORKTEST_OBJECTS = \
	$(NETWORKTEST_SOURCES:.cpp=.o)

TEST_TARGETS += NetworkTest

CLEANFILES += $(NETWORKTEST_OBJECTS) $(NETWORKTEST_TARGET)

$(NETWORKTEST_TARGET): $(SWIFTEN_TARGET) $(CPPUNIT_TARGET) $(NETWORKTEST_OBJECTS)
	$(QUIET_LINK)$(CXX) -o $(NETWORKTEST_TARGET) $(NETWORKTEST_OBJECTS) $(LDFLAGS) $(CPPNETWORK_LDFLAGS) $(SWIFTEN_TARGET) $(CPPUNIT_TARGET) $(LIBS)

.PHONY: NetworkTest
NetworkTest: $(NETWORKTEST_TARGET)
	$(TEST_RUNNER) $(NETWORKTEST_TARGET)