1 |
26 |
unneback |
#
|
2 |
|
|
# File: Makefile for Configtool
|
3 |
|
|
# Author: Julian Smart
|
4 |
|
|
# Created: 2000.08.25
|
5 |
|
|
# Updated:
|
6 |
|
|
# Copyright: (c) Red Hat, Inc.
|
7 |
|
|
#
|
8 |
|
|
# To make absolutely everything:
|
9 |
|
|
#
|
10 |
|
|
# % mkdir /tmp/ecos-build
|
11 |
|
|
# % cd /tmp/ecos-build
|
12 |
|
|
# % make -f $(ECOSDIR)/host/tools/configtool/standalone/wxwin/Makefile WXDIR=$(WXDIR) ECOSDIR=$(ECOSDIR) LEVEL=debug full
|
13 |
|
|
#
|
14 |
|
|
# To make just Configtool:
|
15 |
|
|
#
|
16 |
|
|
# % make ... LEVEL=debug ct
|
17 |
|
|
#
|
18 |
|
|
# To make wxWindows & eCos libraries:
|
19 |
|
|
#
|
20 |
|
|
# % make ... LEVEL=debug wx ecc
|
21 |
|
|
#
|
22 |
|
|
# The result will be subdirectories under your /tmp/ecos-build (or other specified
|
23 |
|
|
# directory) containing:
|
24 |
|
|
#
|
25 |
|
|
# ct-build-debug/
|
26 |
|
|
# ecc-build-debug/
|
27 |
|
|
# wxwin-build-debug/
|
28 |
|
|
#
|
29 |
|
|
# To make a release version, specify LEVEL=release instead of LEVEL=debug.
|
30 |
|
|
#
|
31 |
|
|
|
32 |
|
|
# If this is set to gcc, we get some link errors relating to
|
33 |
|
|
# streams and such
|
34 |
|
|
CC = c++
|
35 |
|
|
#CC = gcc
|
36 |
|
|
|
37 |
|
|
PROGRAM = configtool
|
38 |
|
|
LEVEL = debug
|
39 |
|
|
WXDEBUGFLAGS=--with-debug_flag --with-debug_info --enable-debug --enable-debug_cntxt
|
40 |
|
|
ECCDEBUGFLAGS=--enable-debug
|
41 |
|
|
CPPDEBUGOPTIONS=-D__WXDEBUG__ -ggdb
|
42 |
|
|
LINKDEBUGOPTIONS=
|
43 |
|
|
STRIPCOMMAND=echo
|
44 |
|
|
USEEXPERIMENTALCODE=1
|
45 |
|
|
# You should specify this on the command line
|
46 |
|
|
WXDIR=You_should_override_the_WXDIR_variable
|
47 |
|
|
|
48 |
|
|
# Current (build) directory
|
49 |
|
|
CURRDIR = $(shell pwd)
|
50 |
|
|
BUILDDIR=$(CURRDIR)
|
51 |
|
|
|
52 |
|
|
# Where the CDL, infra etc. libraries have been built
|
53 |
|
|
ECOSBUILDDIR=$(BUILDDIR)/ecc-build-$(LEVEL)
|
54 |
|
|
WXBUILDDIR=$(BUILDDIR)/wxwin-build-$(LEVEL)
|
55 |
|
|
CTBUILDDIR=$(BUILDDIR)/ct-build-$(LEVEL)
|
56 |
|
|
|
57 |
|
|
# You have to specify this when invoking make.
|
58 |
|
|
ECOSDIR=You_should_override_the_ECOSDIR_variable
|
59 |
|
|
CTDIR=$(ECOSDIR)/host/tools/configtool/standalone/wxwin
|
60 |
|
|
WXCONFIG=$(WXBUILDDIR)/wx-config
|
61 |
|
|
# Where the binary will be installed locally
|
62 |
|
|
LOCALBINDIR=/home/ecos/misctools/H-i686-pc-linux-gnu/bin
|
63 |
|
|
# A suitable home for archives of the tool
|
64 |
|
|
LOCALARCHIVEDIR=/netopt/ecc-share/releng/eCosTools/eCosConfigurationTool
|
65 |
|
|
|
66 |
|
|
ifneq "$(LEVEL)" "debug"
|
67 |
|
|
CPPDEBUGOPTIONS=-O2
|
68 |
|
|
LINKDEBUGOPTIONS=--strip-debug
|
69 |
|
|
STRIPCOMMAND=strip
|
70 |
|
|
endif
|
71 |
|
|
|
72 |
|
|
CPPFLAGS=-I$(WXDIR)/include $(CPPDEBUGOPTIONS) -DSTRICT -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -D_X86_=1 -DWIN32 -D_WIN32
|
73 |
|
|
LDFLAGS=-L$(WXDIR)/lib -lstdc++ -lgcc \
|
74 |
|
|
-lwinspool -lwinmm -lshell32 \
|
75 |
|
|
-lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 \
|
76 |
|
|
-lodbc32 -lwsock32 -lopengl32 -lglu32
|
77 |
|
|
|
78 |
|
|
OBJECTS = \
|
79 |
|
|
$(CTBUILDDIR)/aboutdlg.o \
|
80 |
|
|
$(CTBUILDDIR)/admindlg.o \
|
81 |
|
|
$(CTBUILDDIR)/appsettings.o \
|
82 |
|
|
$(CTBUILDDIR)/build.o \
|
83 |
|
|
$(CTBUILDDIR)/buildoptionsdlg.o \
|
84 |
|
|
$(CTBUILDDIR)/choosereposdlg.o \
|
85 |
|
|
$(CTBUILDDIR)/Collections.o \
|
86 |
|
|
$(CTBUILDDIR)/configitem.o \
|
87 |
|
|
$(CTBUILDDIR)/configpropdlg.o \
|
88 |
|
|
$(CTBUILDDIR)/configtool.o \
|
89 |
|
|
$(CTBUILDDIR)/configtooldoc.o \
|
90 |
|
|
$(CTBUILDDIR)/configtoolview.o \
|
91 |
|
|
$(CTBUILDDIR)/configtree.o \
|
92 |
|
|
$(CTBUILDDIR)/conflictsdlg.o \
|
93 |
|
|
$(CTBUILDDIR)/conflictwin.o \
|
94 |
|
|
$(CTBUILDDIR)/docsystem.o \
|
95 |
|
|
$(CTBUILDDIR)/ecscrolwin.o \
|
96 |
|
|
$(CTBUILDDIR)/eCosSerial.o \
|
97 |
|
|
$(CTBUILDDIR)/eCosSocket.o \
|
98 |
|
|
$(CTBUILDDIR)/eCosStd.o \
|
99 |
|
|
$(CTBUILDDIR)/eCosTest.o \
|
100 |
|
|
$(CTBUILDDIR)/eCosTestDownloadFilter.o \
|
101 |
|
|
$(CTBUILDDIR)/eCosTestPlatform.o \
|
102 |
|
|
$(CTBUILDDIR)/eCosTestSerialFilter.o \
|
103 |
|
|
$(CTBUILDDIR)/eCosTestUtils.o \
|
104 |
|
|
$(CTBUILDDIR)/eCosThreadUtils.o \
|
105 |
|
|
$(CTBUILDDIR)/eCosTrace.o \
|
106 |
|
|
$(CTBUILDDIR)/ecutils.o \
|
107 |
|
|
$(CTBUILDDIR)/filename.o \
|
108 |
|
|
$(CTBUILDDIR)/finddlg.o \
|
109 |
|
|
$(CTBUILDDIR)/flags.o \
|
110 |
|
|
$(CTBUILDDIR)/folderdlg.o \
|
111 |
|
|
$(CTBUILDDIR)/htmlparser.o \
|
112 |
|
|
$(CTBUILDDIR)/licensedlg.o \
|
113 |
|
|
$(CTBUILDDIR)/mainwin.o \
|
114 |
|
|
$(CTBUILDDIR)/mltwin.o \
|
115 |
|
|
$(CTBUILDDIR)/msgdlgex.o \
|
116 |
|
|
$(CTBUILDDIR)/outputwin.o \
|
117 |
|
|
$(CTBUILDDIR)/packagesdlg.o \
|
118 |
|
|
$(CTBUILDDIR)/platformeditordlg.o \
|
119 |
|
|
$(CTBUILDDIR)/platformsdlg.o \
|
120 |
|
|
$(CTBUILDDIR)/propertywin.o \
|
121 |
|
|
$(CTBUILDDIR)/Properties.o \
|
122 |
|
|
$(CTBUILDDIR)/reposdlg.o \
|
123 |
|
|
$(CTBUILDDIR)/ResetAttributes.o \
|
124 |
|
|
$(CTBUILDDIR)/runtestsdlg.o \
|
125 |
|
|
$(CTBUILDDIR)/sectiondlg.o \
|
126 |
|
|
$(CTBUILDDIR)/settingsdlg.o \
|
127 |
|
|
$(CTBUILDDIR)/shortdescrwin.o \
|
128 |
|
|
$(CTBUILDDIR)/solutionswin.o \
|
129 |
|
|
$(CTBUILDDIR)/splittree.o \
|
130 |
|
|
$(CTBUILDDIR)/Subprocess.o \
|
131 |
|
|
$(CTBUILDDIR)/templatesdlg.o \
|
132 |
|
|
$(CTBUILDDIR)/TestResource.o
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
# C++ compiler
|
136 |
|
|
CC = c++
|
137 |
|
|
|
138 |
|
|
INCLUDEPREFIX=--prefix=$(WXBUILDDIR)
|
139 |
|
|
LIBPREFIX=--prefix=$(WXBUILDDIR)
|
140 |
|
|
EXTRACPPFLAGS=\
|
141 |
|
|
-I$(WXDIR)/include\
|
142 |
|
|
-I$(ECOSDIR)/host/libcdl\
|
143 |
|
|
-I$(ECOSDIR)/host/infra\
|
144 |
|
|
-I$(ECOSDIR)/host/tools/configtool/common/common\
|
145 |
|
|
-I$(ECOSDIR)/host/tools/Utils/common\
|
146 |
|
|
-I$(ECOSDIR)/host/tools/ecostest/common\
|
147 |
|
|
-I$(ECOSBUILDDIR)/libcdl\
|
148 |
|
|
-I$(ECOSBUILDDIR)/infra\
|
149 |
|
|
-DecUSE_EXPERIMENTAL_CODE=$(USEEXPERIMENTALCODE)
|
150 |
|
|
|
151 |
|
|
EXTRALDFLAGS=-L$(ECOSBUILDDIR)/infra -L$(ECOSBUILDDIR)/libcdl -lcdl -lcyginfra -ltcl
|
152 |
|
|
|
153 |
|
|
.SUFFIXES: .o .cpp .cxx
|
154 |
|
|
|
155 |
|
|
.cpp.o :
|
156 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
157 |
|
|
|
158 |
|
|
.cxx.o :
|
159 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
160 |
|
|
|
161 |
|
|
all: mkbuilddir $(CTBUILDDIR)/$(PROGRAM)
|
162 |
|
|
|
163 |
|
|
ct: mkbuilddir $(CTBUILDDIR)/$(PROGRAM)
|
164 |
|
|
|
165 |
|
|
mkbuilddir:
|
166 |
|
|
mkdir -p $(CTBUILDDIR)
|
167 |
|
|
|
168 |
|
|
$(CTBUILDDIR)/$(PROGRAM): $(OBJECTS)
|
169 |
|
|
$(CC) $(LINKDEBUGOPTIONS) -o $(CTBUILDDIR)/$(PROGRAM) $(OBJECTS) $(EXTRALDFLAGS) $(LDFLAGS)
|
170 |
|
|
$(STRIPCOMMAND) $(CTBUILDDIR)/$(PROGRAM)
|
171 |
|
|
|
172 |
|
|
full: wx ecc all
|
173 |
|
|
|
174 |
|
|
wx:
|
175 |
|
|
@mkdir -p $(WXBUILDDIR) ; \
|
176 |
|
|
cd $(WXBUILDDIR) ; \
|
177 |
|
|
if test ! -f Makefile ; then rm -f *.o *.d ; \
|
178 |
|
|
rm -f *.cache ; \
|
179 |
|
|
$(WXDIR)/configure --disable-shared --enable-gui --with-gtk --enable-log $(WXDEBUGFLAGS) --with-threads --without-sockets -without-odbc -without-libjpeg ; \
|
180 |
|
|
fi; \
|
181 |
|
|
make
|
182 |
|
|
|
183 |
|
|
ecc:
|
184 |
|
|
@mkdir -p $(ECOSBUILDDIR) ; \
|
185 |
|
|
cd $(ECOSBUILDDIR) ; \
|
186 |
|
|
if test ! -f Makefile ; then $(ECOSDIR)/host/configure --prefix=$(ECOSBUILDDIR) $(ECCDEBUGFLAGS) \
|
187 |
|
|
--with-tcl=/usr --with-tcl-version=80 ; \
|
188 |
|
|
fi ; \
|
189 |
|
|
make
|
190 |
|
|
|
191 |
|
|
# Some GTK+ installations are a bit broken and we need to define __WXGTK127__ even if
|
192 |
|
|
# we don't really have GTK++ 1.2.7. This manifests itself in a compile error in dcclient.cpp.
|
193 |
|
|
|
194 |
|
|
wxgtkfix:
|
195 |
|
|
@rm -f $(WXBUILDDIR)/setup.h; rm -f $(WXBUILDIR)/lib/wx/include/wx/gtk*/setup/h; \
|
196 |
|
|
sed -e "s;/\* #undef __WXGTK127__ \*/;#define __WXGTK127__ 1;g;" < $(WXBUILDDIR)/include/wx/gtk/setup.h > /tmp/setup.h ; \
|
197 |
|
|
mv /tmp/setup.h $(WXBUILDDIR)/include/wx/gtk/setup.h
|
198 |
|
|
|
199 |
|
|
clean:
|
200 |
|
|
rm -f $(CTBUILDDIR)/$(PROGRAM) $(CTBUILDDIR)/*.o
|
201 |
|
|
|
202 |
|
|
cleanct: clean
|
203 |
|
|
|
204 |
|
|
cleanecc:
|
205 |
|
|
rm -f -r $(ECOSBUILDDIR)
|
206 |
|
|
|
207 |
|
|
cleanwx:
|
208 |
|
|
rm -f -r $(WXBUILDDIR)
|
209 |
|
|
|
210 |
|
|
cleanall: clean cleanecc cleanwx
|
211 |
|
|
|
212 |
|
|
# Making a binary, RH Linux tarball release using the setup script.
|
213 |
|
|
# It will put the result in /tmp/ctdeliver.
|
214 |
|
|
releasect:
|
215 |
|
|
echo "#include " > /tmp/ctver.c
|
216 |
|
|
echo "#include \"symbols.h\"" >> /tmp/ctver.c
|
217 |
|
|
echo "int main() { printf(\"%.1f\", ecCONFIGURATION_TOOL_VERSION); }" >> /tmp/ctver.c
|
218 |
|
|
cc /tmp/ctver.c -I$(CTDIR) -o /tmp/ctver
|
219 |
|
|
chmod a+x $(CTDIR)/setup/maketarball.sh
|
220 |
|
|
$(CTDIR)/setup/maketarball.sh $(ECOSDIR)/.. $(CTBUILDDIR) /tmp/ctdeliver `/tmp/ctver`
|
221 |
|
|
rm -f /tmp/ctver /tmp/ctver.c
|
222 |
|
|
|
223 |
|
|
# Installs the binary and associated files in the correct place for local running
|
224 |
|
|
installbinary: releasect
|
225 |
|
|
cp /tmp/ctdeliver/configtool/configtool $(LOCALBINDIR)/configtool-`date -I`
|
226 |
|
|
mv /tmp/ctdeliver/configtool/README.txt /tmp/ctdeliver/configtool/README-configtool.txt
|
227 |
|
|
rm -f $(LOCALBINDIR)/configtool
|
228 |
|
|
ln -s $(LOCALBINDIR)/configtool-`date -I` $(LOCALBINDIR)/configtool
|
229 |
|
|
cp -r /tmp/ctdeliver/configtool/* $(LOCALBINDIR)
|
230 |
|
|
|
231 |
|
|
# Copies an archive to a suitable place for people to grab
|
232 |
|
|
installtarball: releasect
|
233 |
|
|
mkdir -p $(LOCALARCHIVEDIR)/`date -I`
|
234 |
|
|
cp /tmp/ctdeliver/configtool*.tgz $(LOCALARCHIVEDIR)/`date -I`
|
235 |
|
|
|
236 |
|
|
### GUI Configtool files
|
237 |
|
|
|
238 |
|
|
$(CTBUILDDIR)/aboutdlg.o: $(CTDIR)/aboutdlg.cpp $(CTDIR)/aboutdlg.h $(CTDIR)/symbols.h
|
239 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
240 |
|
|
|
241 |
|
|
$(CTBUILDDIR)/admindlg.o: $(CTDIR)/admindlg.cpp $(CTDIR)/admindlg.h
|
242 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
243 |
|
|
|
244 |
|
|
$(CTBUILDDIR)/appsettings.o: $(CTDIR)/appsettings.cpp $(CTDIR)/appsettings.h
|
245 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
246 |
|
|
|
247 |
|
|
$(CTBUILDDIR)/buildoptionsdlg.o: $(CTDIR)/buildoptionsdlg.cpp $(CTDIR)/buildoptionsdlg.h
|
248 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
249 |
|
|
|
250 |
|
|
$(CTBUILDDIR)/choosereposdlg.o: $(CTDIR)/choosereposdlg.cpp $(CTDIR)/choosereposdlg.h
|
251 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
252 |
|
|
|
253 |
|
|
$(CTBUILDDIR)/configitem.o: $(CTDIR)/configitem.cpp $(CTDIR)/configitem.h
|
254 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
255 |
|
|
|
256 |
|
|
$(CTBUILDDIR)/configpropdlg.o: $(CTDIR)/configpropdlg.cpp $(CTDIR)/configpropdlg.h
|
257 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
258 |
|
|
|
259 |
|
|
$(CTBUILDDIR)/configtool.o: $(CTDIR)/configtool.cpp $(CTDIR)/configtool.h
|
260 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
261 |
|
|
|
262 |
|
|
$(CTBUILDDIR)/configtooldoc.o: $(CTDIR)/configtooldoc.cpp $(CTDIR)/configtooldoc.h
|
263 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
264 |
|
|
|
265 |
|
|
$(CTBUILDDIR)/configtoolview.o: $(CTDIR)/configtoolview.cpp $(CTDIR)/configtoolview.h
|
266 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
267 |
|
|
|
268 |
|
|
$(CTBUILDDIR)/configtree.o: $(CTDIR)/configtree.cpp $(CTDIR)/configtree.h
|
269 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
270 |
|
|
|
271 |
|
|
$(CTBUILDDIR)/conflictsdlg.o: $(CTDIR)/conflictsdlg.cpp $(CTDIR)/conflictsdlg.h
|
272 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
273 |
|
|
|
274 |
|
|
$(CTBUILDDIR)/conflictwin.o: $(CTDIR)/conflictwin.cpp $(CTDIR)/conflictwin.h
|
275 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
276 |
|
|
|
277 |
|
|
$(CTBUILDDIR)/docsystem.o: $(CTDIR)/docsystem.cpp $(CTDIR)/docsystem.h
|
278 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
279 |
|
|
|
280 |
|
|
$(CTBUILDDIR)/ecutils.o: $(CTDIR)/ecutils.cpp $(CTDIR)/ecutils.h
|
281 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
282 |
|
|
|
283 |
|
|
$(CTBUILDDIR)/ecscrolwin.o: $(CTDIR)/ecscrolwin.cpp $(CTDIR)/ecscrolwin.h
|
284 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
285 |
|
|
|
286 |
|
|
$(CTBUILDDIR)/filename.o: $(CTDIR)/filename.cpp $(CTDIR)/filename.h
|
287 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
288 |
|
|
|
289 |
|
|
$(CTBUILDDIR)/finddlg.o: $(CTDIR)/finddlg.cpp $(CTDIR)/finddlg.h
|
290 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
291 |
|
|
|
292 |
|
|
$(CTBUILDDIR)/folderdlg.o: $(CTDIR)/folderdlg.cpp $(CTDIR)/folderdlg.h
|
293 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
294 |
|
|
|
295 |
|
|
$(CTBUILDDIR)/htmlparser.o: $(CTDIR)/htmlparser.cpp $(CTDIR)/htmlparser.h
|
296 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
297 |
|
|
|
298 |
|
|
$(CTBUILDDIR)/licensedlg.o: $(CTDIR)/licensedlg.cpp $(CTDIR)/licensedlg.h
|
299 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
300 |
|
|
|
301 |
|
|
$(CTBUILDDIR)/mainwin.o: $(CTDIR)/mainwin.cpp $(CTDIR)/mainwin.h
|
302 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
303 |
|
|
|
304 |
|
|
$(CTBUILDDIR)/mltwin.o: $(CTDIR)/mltwin.cpp $(CTDIR)/mltwin.h
|
305 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
306 |
|
|
|
307 |
|
|
$(CTBUILDDIR)/msgdlgex.o: $(CTDIR)/msgdlgex.cpp $(CTDIR)/msgdlgex.h
|
308 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
309 |
|
|
|
310 |
|
|
$(CTBUILDDIR)/outputwin.o: $(CTDIR)/outputwin.cpp $(CTDIR)/outputwin.h
|
311 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
312 |
|
|
|
313 |
|
|
$(CTBUILDDIR)/packagesdlg.o: $(CTDIR)/packagesdlg.cpp $(CTDIR)/packagesdlg.h
|
314 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
315 |
|
|
|
316 |
|
|
$(CTBUILDDIR)/platformeditordlg.o: $(CTDIR)/platformeditordlg.cpp $(CTDIR)/platformeditordlg.h
|
317 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
318 |
|
|
|
319 |
|
|
$(CTBUILDDIR)/platformsdlg.o: $(CTDIR)/platformsdlg.cpp $(CTDIR)/platformsdlg.h
|
320 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
321 |
|
|
|
322 |
|
|
$(CTBUILDDIR)/propertywin.o: $(CTDIR)/propertywin.cpp $(CTDIR)/propertywin.h
|
323 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
324 |
|
|
|
325 |
|
|
$(CTBUILDDIR)/reposdlg.o: $(CTDIR)/reposdlg.cpp $(CTDIR)/reposdlg.h
|
326 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
327 |
|
|
|
328 |
|
|
$(CTBUILDDIR)/runtestsdlg.o: $(CTDIR)/runtestsdlg.cpp $(CTDIR)/runtestsdlg.h
|
329 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
330 |
|
|
|
331 |
|
|
$(CTBUILDDIR)/sectiondlg.o: $(CTDIR)/sectiondlg.cpp $(CTDIR)/sectiondlg.h
|
332 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
333 |
|
|
|
334 |
|
|
$(CTBUILDDIR)/settingsdlg.o: $(CTDIR)/settingsdlg.cpp $(CTDIR)/settingsdlg.h
|
335 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
336 |
|
|
|
337 |
|
|
$(CTBUILDDIR)/shortdescrwin.o: $(CTDIR)/shortdescrwin.cpp $(CTDIR)/shortdescrwin.h
|
338 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
339 |
|
|
|
340 |
|
|
$(CTBUILDDIR)/solutionswin.o: $(CTDIR)/solutionswin.cpp $(CTDIR)/solutionswin.h
|
341 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
342 |
|
|
|
343 |
|
|
$(CTBUILDDIR)/splittree.o: $(CTDIR)/splittree.cpp $(CTDIR)/splittree.h
|
344 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
345 |
|
|
|
346 |
|
|
$(CTBUILDDIR)/templatesdlg.o: $(CTDIR)/templatesdlg.cpp $(CTDIR)/templatesdlg.h
|
347 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
348 |
|
|
|
349 |
|
|
|
350 |
|
|
### Common files
|
351 |
|
|
|
352 |
|
|
$(CTBUILDDIR)/build.o: $(ECOSDIR)/host/tools/configtool/common/common/build.cxx $(ECOSDIR)/host/tools/configtool/common/common/build.hxx
|
353 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
354 |
|
|
|
355 |
|
|
$(CTBUILDDIR)/flags.o: $(ECOSDIR)/host/tools/configtool/common/common/flags.cxx $(ECOSDIR)/host/tools/configtool/common/common/flags.hxx
|
356 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
357 |
|
|
|
358 |
|
|
$(CTBUILDDIR)/Collections.o: $(ECOSDIR)/host/tools/Utils/common/Collections.cpp
|
359 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
360 |
|
|
|
361 |
|
|
$(CTBUILDDIR)/Properties.o: $(ECOSDIR)/host/tools/Utils/common/Properties.cpp
|
362 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
363 |
|
|
|
364 |
|
|
$(CTBUILDDIR)/Subprocess.o: $(ECOSDIR)/host/tools/Utils/common/Subprocess.cpp
|
365 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
366 |
|
|
|
367 |
|
|
$(CTBUILDDIR)/eCosSerial.o: $(ECOSDIR)/host/tools/Utils/common/eCosSerial.cpp
|
368 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
369 |
|
|
|
370 |
|
|
$(CTBUILDDIR)/eCosSocket.o: $(ECOSDIR)/host/tools/Utils/common/eCosSocket.cpp
|
371 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
372 |
|
|
|
373 |
|
|
$(CTBUILDDIR)/eCosStd.o: $(ECOSDIR)/host/tools/Utils/common/eCosStd.cpp
|
374 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
375 |
|
|
|
376 |
|
|
$(CTBUILDDIR)/eCosThreadUtils.o: $(ECOSDIR)/host/tools/Utils/common/eCosThreadUtils.cpp
|
377 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
378 |
|
|
|
379 |
|
|
$(CTBUILDDIR)/eCosTrace.o: $(ECOSDIR)/host/tools/Utils/common/eCosTrace.cpp
|
380 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
381 |
|
|
|
382 |
|
|
$(CTBUILDDIR)/eCosTest.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTest.cpp
|
383 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
384 |
|
|
|
385 |
|
|
$(CTBUILDDIR)/eCosTestDownloadFilter.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestDownloadFilter.cpp
|
386 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
387 |
|
|
|
388 |
|
|
$(CTBUILDDIR)/eCosTestPlatform.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestPlatform.cpp
|
389 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
390 |
|
|
|
391 |
|
|
$(CTBUILDDIR)/eCosTestSerialFilter.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestSerialFilter.cpp
|
392 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
393 |
|
|
|
394 |
|
|
$(CTBUILDDIR)/eCosTestUtils.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestUtils.cpp
|
395 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
396 |
|
|
|
397 |
|
|
$(CTBUILDDIR)/ResetAttributes.o: $(ECOSDIR)/host/tools/ecostest/common/ResetAttributes.cpp
|
398 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
399 |
|
|
|
400 |
|
|
$(CTBUILDDIR)/TestResource.o: $(ECOSDIR)/host/tools/ecostest/common/TestResource.cpp
|
401 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) $(CPPFLAGS) -o $@ $<
|
402 |
|
|
|
403 |
|
|
|