2 ../../Utils/common/Properties.cpp \
3 ../../Utils/common/Subprocess.cpp \
4 ../../Utils/common/Collections.cpp \
5 ../../Utils/common/eCosStd.cpp \
6 ../../Utils/common/eCosThreadUtils.cpp \
7 ../../Utils/common/eCosTrace.cpp \
8 ../../Utils/common/eCosSerial.cpp \
9 ../../Utils/common/eCosSocket.cpp \
10 ../common/eCosTestUtils.cpp \
11 ../common/TestResource.cpp \
12 ../common/ResetAttributes.cpp \
13 ../common/eCosTest.cpp \
14 ../common/eCosTestPlatform.cpp \
15 ../common/eCosTestDownloadFilter.cpp \
16 ../common/eCosTestMonitorFilter.cpp \
17 ../common/eCosTestSerialFilter.cpp
19 common_objects = $(notdir $(common_sources:.cpp=.o))
21 all_sources = $(common_sources) ../common/ser_filter.cpp
28 ifneq (,$(findstring CYGWIN, $(shell uname)))
32 ifneq (, $(findstring SunOS, $(shell uname)))
33 LIBS := -lpthread -lsocket -lxnet -lstdc++ -lposix4
36 ifneq (, $(findstring Linux, $(shell uname)))
37 LIBS := -lpthread -efence -lstdc++
40 # Look in these directories for source/make files
41 VPATH = .:../common:../../Utils/common
44 CPPFLAGS=-I../../Utils/common -I../common
45 CXXFLAGS=-g -O2 -Wall -D_REENTRANT -D_DEBUG $(CPPFLAGS)
48 $(SHELL) -ec '$(CC) -MM $(CPPFLAGS) $< \
49 | sed '\''s#\($*\)\.o[ :]*#\1.o $@ : #g'\'' > $@; \
50 [ -s $@ ] || rm -f $@'
53 $(CXX) -c $(CXXFLAGS) -o $@ $<
58 ser_filter: $(common_objects) ser_filter.o
59 $(CXX) -o $@ $(CXXFLAGS) $^ $(LIBPATH) $(LIBS)
67 # include the dependency files
68 include $(notdir $(all_sources:.cpp=.d))