syndilights/open-lighting-architecture/ola-0.8.4/common/network/Makefile.am

26 lines
891 B
Makefile
Raw Normal View History

2010-10-31 17:32:25 +01:00
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