26 lines
891 B
Makefile
26 lines
891 B
Makefile
include $(top_srcdir)/common.mk
|
|
|
|
noinst_LTLIBRARIES = libolanetwork.la
|
|
libolanetwork_la_SOURCES = InterfacePicker.cpp NetworkUtils.cpp \
|
|
SelectServer.cpp Socket.cpp
|
|
|
|
if USING_WIN32
|
|
libolanetwork_la_SOURCES += WindowsInterfacePicker.cpp
|
|
else
|
|
libolanetwork_la_SOURCES += PosixInterfacePicker.cpp
|
|
endif
|
|
|
|
EXTRA_DIST = PosixInterfacePicker.h WindowsInterfacePicker.h
|
|
|
|
TESTS = NetworkTester
|
|
check_PROGRAMS = $(TESTS)
|
|
NetworkTester_SOURCES = SelectServerTester.cpp SocketTest.cpp \
|
|
NetworkTest.cpp NetworkUtilsTest.cpp \
|
|
InterfacePickerTest.cpp
|
|
NetworkTester_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
|
NetworkTester_LDFLAGS = $(CPPUNIT_LIBS)
|
|
NetworkTester_LDADD = ./libolanetwork.la \
|
|
../export_map/libolaexportmap.la \
|
|
../logging/liblogging.la \
|
|
../utils/libolautils.la
|