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 ifeq ($(shell uname), SunOS)
30 LIBS := -lpthread -lsocket -lxnet -lstdc++ -lposix4
33 LIBS := -lpthread -efence -lstdc++
36 # Look in these directories for source/make files
37 VPATH = .:../common:../../Utils/common
40 CPPFLAGS=-I../../Utils/common -I../common
41 CXXFLAGS=-g -O2 -Wall -D_REENTRANT -D_DEBUG $(CPPFLAGS)
44 $(SHELL) -ec '$(CC) -MM $(CPPFLAGS) $< \
45 | sed '\''s#\($*\)\.o[ :]*#\1.o $@ : #g'\'' > $@; \
46 [ -s $@ ] || rm -f $@'
49 $(CXX) -c $(CXXFLAGS) -o $@ $<
54 ser_filter: $(common_objects) ser_filter.o
55 $(CXX) -o $@ $(CXXFLAGS) $(LIBPATH) $(LIBS) $^
63 # include the dependency files
64 include $(notdir $(all_sources:.cpp=.d))