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 |
|
|
# IMPORTANT NOTE for recent versions of wxWindows, you must pass
|
42 |
|
|
# --static to wx-config. For older versions, comment this out.
|
43 |
|
|
#WXCONFIGFLAGS=--static
|
44 |
|
|
CPPDEBUGOPTIONS=-ggdb
|
45 |
|
|
LINKDEBUGOPTIONS=
|
46 |
|
|
STRIPCOMMAND=echo
|
47 |
|
|
USEEXPERIMENTALCODE=1
|
48 |
|
|
|
49 |
|
|
# You should specify this on the command line
|
50 |
|
|
WXDIR=You_should_override_the_WXDIR_variable
|
51 |
|
|
|
52 |
|
|
# Current (build) directory
|
53 |
|
|
CURRDIR = $(shell pwd)
|
54 |
|
|
BUILDDIR=$(CURRDIR)
|
55 |
|
|
|
56 |
|
|
# Where the CDL, infra etc. libraries have been built
|
57 |
|
|
ECOSBUILDDIR=$(BUILDDIR)/ecc-build-$(LEVEL)
|
58 |
|
|
WXBUILDDIR=$(BUILDDIR)/wxwin-build-$(LEVEL)
|
59 |
|
|
CTBUILDDIR=$(BUILDDIR)/ct-build-$(LEVEL)
|
60 |
|
|
|
61 |
|
|
# You have to specify this when invoking make.
|
62 |
|
|
ECOSDIR=You_should_override_the_ECOSDIR_variable
|
63 |
|
|
CTDIR=$(ECOSDIR)/host/tools/configtool/standalone/wxwin
|
64 |
|
|
WXCONFIG=$(WXBUILDDIR)/wx-config $(WXCONFIGFLAGS)
|
65 |
|
|
# Where the binary will be installed locally
|
66 |
|
|
LOCALBINDIR=/home/ecos/misctools/H-i686-pc-linux-gnu/bin
|
67 |
|
|
# A suitable home for archives of the tool
|
68 |
|
|
LOCALARCHIVEDIR=/netopt/ecc-share/releng/eCosTools/eCosConfigurationTool
|
69 |
|
|
|
70 |
|
|
ifneq "$(LEVEL)" "debug"
|
71 |
|
|
WXDEBUGFLAGS=--without-debug_flag --without-debug_info --disable-debug
|
72 |
|
|
ECCDEBUGFLAGS=--disable-debug
|
73 |
|
|
CPPDEBUGOPTIONS=-O2
|
74 |
|
|
LINKDEBUGOPTIONS=--strip-debug
|
75 |
|
|
STRIPCOMMAND=strip
|
76 |
|
|
endif
|
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) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
157 |
|
|
|
158 |
|
|
.cxx.o :
|
159 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -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) `$(WXCONFIG) $(LIBPREFIX) --libs`
|
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 --disable-no_rtti --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) --with-tcl=/usr ; \
|
187 |
|
|
fi ; \
|
188 |
|
|
make
|
189 |
|
|
|
190 |
|
|
# Some GTK+ installations are a bit broken and we need to define __WXGTK127__ even if
|
191 |
|
|
# we don't really have GTK++ 1.2.7. This manifests itself in a compile error in dcclient.cpp.
|
192 |
|
|
|
193 |
|
|
wxgtkfix:
|
194 |
|
|
@rm -f $(WXBUILDDIR)/setup.h; rm -f $(WXBUILDIR)/lib/wx/include/wx/gtk*/setup/h; \
|
195 |
|
|
sed -e "s;/\* #undef __WXGTK127__ \*/;#define __WXGTK127__ 1;g;" < $(WXBUILDDIR)/include/wx/gtk/setup.h > /tmp/setup.h ; \
|
196 |
|
|
mv /tmp/setup.h $(WXBUILDDIR)/include/wx/gtk/setup.h
|
197 |
|
|
|
198 |
|
|
clean:
|
199 |
|
|
rm -f $(CTBUILDDIR)/$(PROGRAM) $(CTBUILDDIR)/*.o
|
200 |
|
|
|
201 |
|
|
cleanct: clean
|
202 |
|
|
|
203 |
|
|
cleanecc:
|
204 |
|
|
rm -f -r $(ECOSBUILDDIR)
|
205 |
|
|
|
206 |
|
|
cleanwx:
|
207 |
|
|
rm -f -r $(WXBUILDDIR)
|
208 |
|
|
|
209 |
|
|
cleanall: clean cleanecc cleanwx
|
210 |
|
|
|
211 |
|
|
# Making a binary, RH Linux tarball release using the setup script.
|
212 |
|
|
# It will put the result in /tmp/ctdeliver.
|
213 |
|
|
releasect:
|
214 |
|
|
echo "#include " > /tmp/ctver.c
|
215 |
|
|
echo "#include \"symbols.h\"" >> /tmp/ctver.c
|
216 |
|
|
echo "int main() { printf(\"%.2f\", ecCONFIGURATION_TOOL_VERSION); }" >> /tmp/ctver.c
|
217 |
|
|
cc /tmp/ctver.c -I$(CTDIR) -o /tmp/ctver
|
218 |
|
|
chmod a+x $(CTDIR)/setup/maketarball.sh
|
219 |
|
|
$(CTDIR)/setup/maketarball.sh $(ECOSDIR)/.. $(CTBUILDDIR) /tmp/ctdeliver `/tmp/ctver`
|
220 |
|
|
# rm -f /tmp/ctver /tmp/ctver.c
|
221 |
|
|
|
222 |
|
|
# Installs the binary and associated files in the correct place for local running
|
223 |
|
|
installbinary: releasect
|
224 |
|
|
cp /tmp/ctdeliver/configtool-`/tmp/ctver`/configtool $(LOCALBINDIR)/configtool-`date -I`
|
225 |
|
|
mv /tmp/ctdeliver/configtool-`/tmp/ctver`/README.txt /tmp/ctdeliver/configtool-`/tmp/ctver`/README-configtool.txt
|
226 |
|
|
rm -f $(LOCALBINDIR)/configtool
|
227 |
|
|
ln -s $(LOCALBINDIR)/configtool-`date -I` $(LOCALBINDIR)/configtool
|
228 |
|
|
cp -r /tmp/ctdeliver/configtool-`/tmp/ctver`/* $(LOCALBINDIR)
|
229 |
|
|
|
230 |
|
|
# Copies an archive to a suitable place for people to grab
|
231 |
|
|
installtarball: releasect
|
232 |
|
|
mkdir -p $(LOCALARCHIVEDIR)/`date -I`
|
233 |
|
|
cp /tmp/ctdeliver/configtool*.tar.?z* $(LOCALARCHIVEDIR)/`date -I`
|
234 |
|
|
|
235 |
|
|
### GUI Configtool files
|
236 |
|
|
|
237 |
|
|
$(CTBUILDDIR)/aboutdlg.o: $(CTDIR)/aboutdlg.cpp $(CTDIR)/aboutdlg.h $(CTDIR)/symbols.h
|
238 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
239 |
|
|
|
240 |
|
|
$(CTBUILDDIR)/admindlg.o: $(CTDIR)/admindlg.cpp $(CTDIR)/admindlg.h
|
241 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
242 |
|
|
|
243 |
|
|
$(CTBUILDDIR)/appsettings.o: $(CTDIR)/appsettings.cpp $(CTDIR)/appsettings.h
|
244 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
245 |
|
|
|
246 |
|
|
$(CTBUILDDIR)/buildoptionsdlg.o: $(CTDIR)/buildoptionsdlg.cpp $(CTDIR)/buildoptionsdlg.h
|
247 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
248 |
|
|
|
249 |
|
|
$(CTBUILDDIR)/choosereposdlg.o: $(CTDIR)/choosereposdlg.cpp $(CTDIR)/choosereposdlg.h
|
250 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
251 |
|
|
|
252 |
|
|
$(CTBUILDDIR)/configitem.o: $(CTDIR)/configitem.cpp $(CTDIR)/configitem.h
|
253 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
254 |
|
|
|
255 |
|
|
$(CTBUILDDIR)/configpropdlg.o: $(CTDIR)/configpropdlg.cpp $(CTDIR)/configpropdlg.h
|
256 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
257 |
|
|
|
258 |
|
|
$(CTBUILDDIR)/configtool.o: $(CTDIR)/configtool.cpp $(CTDIR)/configtool.h
|
259 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
260 |
|
|
|
261 |
|
|
$(CTBUILDDIR)/configtooldoc.o: $(CTDIR)/configtooldoc.cpp $(CTDIR)/configtooldoc.h
|
262 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
263 |
|
|
|
264 |
|
|
$(CTBUILDDIR)/configtoolview.o: $(CTDIR)/configtoolview.cpp $(CTDIR)/configtoolview.h
|
265 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
266 |
|
|
|
267 |
|
|
$(CTBUILDDIR)/configtree.o: $(CTDIR)/configtree.cpp $(CTDIR)/configtree.h
|
268 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
269 |
|
|
|
270 |
|
|
$(CTBUILDDIR)/conflictsdlg.o: $(CTDIR)/conflictsdlg.cpp $(CTDIR)/conflictsdlg.h
|
271 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
272 |
|
|
|
273 |
|
|
$(CTBUILDDIR)/conflictwin.o: $(CTDIR)/conflictwin.cpp $(CTDIR)/conflictwin.h
|
274 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
275 |
|
|
|
276 |
|
|
$(CTBUILDDIR)/docsystem.o: $(CTDIR)/docsystem.cpp $(CTDIR)/docsystem.h
|
277 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
278 |
|
|
|
279 |
|
|
$(CTBUILDDIR)/ecutils.o: $(CTDIR)/ecutils.cpp $(CTDIR)/ecutils.h
|
280 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
281 |
|
|
|
282 |
|
|
$(CTBUILDDIR)/ecscrolwin.o: $(CTDIR)/ecscrolwin.cpp $(CTDIR)/ecscrolwin.h
|
283 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
284 |
|
|
|
285 |
|
|
$(CTBUILDDIR)/filename.o: $(CTDIR)/filename.cpp $(CTDIR)/filename.h
|
286 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
287 |
|
|
|
288 |
|
|
$(CTBUILDDIR)/finddlg.o: $(CTDIR)/finddlg.cpp $(CTDIR)/finddlg.h
|
289 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
290 |
|
|
|
291 |
|
|
$(CTBUILDDIR)/folderdlg.o: $(CTDIR)/folderdlg.cpp $(CTDIR)/folderdlg.h
|
292 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
293 |
|
|
|
294 |
|
|
$(CTBUILDDIR)/htmlparser.o: $(CTDIR)/htmlparser.cpp $(CTDIR)/htmlparser.h
|
295 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
296 |
|
|
|
297 |
|
|
$(CTBUILDDIR)/licensedlg.o: $(CTDIR)/licensedlg.cpp $(CTDIR)/licensedlg.h
|
298 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
299 |
|
|
|
300 |
|
|
$(CTBUILDDIR)/mainwin.o: $(CTDIR)/mainwin.cpp $(CTDIR)/mainwin.h
|
301 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
302 |
|
|
|
303 |
|
|
$(CTBUILDDIR)/mltwin.o: $(CTDIR)/mltwin.cpp $(CTDIR)/mltwin.h
|
304 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
305 |
|
|
|
306 |
|
|
$(CTBUILDDIR)/msgdlgex.o: $(CTDIR)/msgdlgex.cpp $(CTDIR)/msgdlgex.h
|
307 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
308 |
|
|
|
309 |
|
|
$(CTBUILDDIR)/outputwin.o: $(CTDIR)/outputwin.cpp $(CTDIR)/outputwin.h
|
310 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
311 |
|
|
|
312 |
|
|
$(CTBUILDDIR)/packagesdlg.o: $(CTDIR)/packagesdlg.cpp $(CTDIR)/packagesdlg.h
|
313 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
314 |
|
|
|
315 |
|
|
$(CTBUILDDIR)/platformeditordlg.o: $(CTDIR)/platformeditordlg.cpp $(CTDIR)/platformeditordlg.h
|
316 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
317 |
|
|
|
318 |
|
|
$(CTBUILDDIR)/platformsdlg.o: $(CTDIR)/platformsdlg.cpp $(CTDIR)/platformsdlg.h
|
319 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
320 |
|
|
|
321 |
|
|
$(CTBUILDDIR)/propertywin.o: $(CTDIR)/propertywin.cpp $(CTDIR)/propertywin.h
|
322 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
323 |
|
|
|
324 |
|
|
$(CTBUILDDIR)/reposdlg.o: $(CTDIR)/reposdlg.cpp $(CTDIR)/reposdlg.h
|
325 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
326 |
|
|
|
327 |
|
|
$(CTBUILDDIR)/runtestsdlg.o: $(CTDIR)/runtestsdlg.cpp $(CTDIR)/runtestsdlg.h
|
328 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
329 |
|
|
|
330 |
|
|
$(CTBUILDDIR)/sectiondlg.o: $(CTDIR)/sectiondlg.cpp $(CTDIR)/sectiondlg.h
|
331 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
332 |
|
|
|
333 |
|
|
$(CTBUILDDIR)/settingsdlg.o: $(CTDIR)/settingsdlg.cpp $(CTDIR)/settingsdlg.h
|
334 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
335 |
|
|
|
336 |
|
|
$(CTBUILDDIR)/shortdescrwin.o: $(CTDIR)/shortdescrwin.cpp $(CTDIR)/shortdescrwin.h
|
337 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
338 |
|
|
|
339 |
|
|
$(CTBUILDDIR)/solutionswin.o: $(CTDIR)/solutionswin.cpp $(CTDIR)/solutionswin.h
|
340 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
341 |
|
|
|
342 |
|
|
$(CTBUILDDIR)/splittree.o: $(CTDIR)/splittree.cpp $(CTDIR)/splittree.h
|
343 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
344 |
|
|
|
345 |
|
|
$(CTBUILDDIR)/templatesdlg.o: $(CTDIR)/templatesdlg.cpp $(CTDIR)/templatesdlg.h
|
346 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
347 |
|
|
|
348 |
|
|
|
349 |
|
|
### Common files
|
350 |
|
|
|
351 |
|
|
$(CTBUILDDIR)/build.o: $(ECOSDIR)/host/tools/configtool/common/common/build.cxx $(ECOSDIR)/host/tools/configtool/common/common/build.hxx
|
352 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
353 |
|
|
|
354 |
|
|
$(CTBUILDDIR)/flags.o: $(ECOSDIR)/host/tools/configtool/common/common/flags.cxx $(ECOSDIR)/host/tools/configtool/common/common/flags.hxx
|
355 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
356 |
|
|
|
357 |
|
|
$(CTBUILDDIR)/Collections.o: $(ECOSDIR)/host/tools/Utils/common/Collections.cpp
|
358 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
359 |
|
|
|
360 |
|
|
$(CTBUILDDIR)/Properties.o: $(ECOSDIR)/host/tools/Utils/common/Properties.cpp
|
361 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
362 |
|
|
|
363 |
|
|
$(CTBUILDDIR)/Subprocess.o: $(ECOSDIR)/host/tools/Utils/common/Subprocess.cpp
|
364 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
365 |
|
|
|
366 |
|
|
$(CTBUILDDIR)/eCosSerial.o: $(ECOSDIR)/host/tools/Utils/common/eCosSerial.cpp
|
367 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
368 |
|
|
|
369 |
|
|
$(CTBUILDDIR)/eCosSocket.o: $(ECOSDIR)/host/tools/Utils/common/eCosSocket.cpp
|
370 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
371 |
|
|
|
372 |
|
|
$(CTBUILDDIR)/eCosStd.o: $(ECOSDIR)/host/tools/Utils/common/eCosStd.cpp
|
373 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
374 |
|
|
|
375 |
|
|
$(CTBUILDDIR)/eCosThreadUtils.o: $(ECOSDIR)/host/tools/Utils/common/eCosThreadUtils.cpp
|
376 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
377 |
|
|
|
378 |
|
|
$(CTBUILDDIR)/eCosTrace.o: $(ECOSDIR)/host/tools/Utils/common/eCosTrace.cpp
|
379 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
380 |
|
|
|
381 |
|
|
$(CTBUILDDIR)/eCosTest.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTest.cpp
|
382 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
383 |
|
|
|
384 |
|
|
$(CTBUILDDIR)/eCosTestDownloadFilter.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestDownloadFilter.cpp
|
385 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
386 |
|
|
|
387 |
|
|
$(CTBUILDDIR)/eCosTestPlatform.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestPlatform.cpp
|
388 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
389 |
|
|
|
390 |
|
|
$(CTBUILDDIR)/eCosTestSerialFilter.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestSerialFilter.cpp
|
391 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
392 |
|
|
|
393 |
|
|
$(CTBUILDDIR)/eCosTestUtils.o: $(ECOSDIR)/host/tools/ecostest/common/eCosTestUtils.cpp
|
394 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
395 |
|
|
|
396 |
|
|
$(CTBUILDDIR)/ResetAttributes.o: $(ECOSDIR)/host/tools/ecostest/common/ResetAttributes.cpp
|
397 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
398 |
|
|
|
399 |
|
|
$(CTBUILDDIR)/TestResource.o: $(ECOSDIR)/host/tools/ecostest/common/TestResource.cpp
|
400 |
|
|
$(CC) $(CPPDEBUGOPTIONS) -c $(EXTRACPPFLAGS) `$(WXCONFIG) $(INCLUDEPREFIX) --cflags` -o $@ $<
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
help:
|
404 |
|
|
@echo "Targets: full, ecc, wx, ct, cleanall, cleanct, cleanwx, installbinary, installtarball"
|