[USB-BRINGUP-TRUNK]
[reactos.git] / Makefile
1 # Well-known targets:
2 #
3 # all (default target)
4 # This target builds all of ReactOS.
5 #
6 # module
7 # These targets builds a single module. Replace module with the name of
8 # the module you want to build.
9 #
10 # bootcd
11 # This target builds an ISO (ReactOS.iso) from which ReactOS can be booted
12 # and installed.
13 #
14 # livecd
15 # This target builds an ISO (ReactOS-Live.iso) from which ReactOS can be
16 # booted, but not installed.
17 #
18 # install
19 # This target installs all of ReactOS to a location specified by the
20 # ROS_INSTALL environment variable.
21 #
22 # module_install
23 # These targets installs a single module to a location specified by the
24 # ROS_INSTALL environment variable. Replace module with the name of the
25 # module you want to install.
26 #
27 # clean
28 # This target cleans (deletes) all files that are generated when building
29 # ReactOS.
30 #
31 # module_clean
32 # These targets cleans (deletes) files that are generated when building a
33 # single module. Replace module with the name of the module you want to
34 # clean.
35 #
36 # depends
37 # This target does a complete dependency check of the ReactOS codebase.
38 # This can require several minutes to complete. If you only need to check
39 # dependencies for a single or few modules then you can use the
40 # module_depends targets instead. This target can also repair a damaged or
41 # missing makefile-${ROS_ARCH}.auto if needed.
42 #
43 # module_depends
44 # These targets do a dependency check of individual modules. Replace module
45 # with the name of the module for which you want to check dependencies.
46 # This is faster than the depends target which does a complete dependency
47 # check of the ReactOS codebase.
48 #
49 # bootcdregtest
50 # This target builds an ISO (ReactOS-RegTest.ISO) which is used for unattended
51 # regression testing.
52 #
53 #
54 # Accepted environment variables:
55 #
56 # ROS_ARCH
57 # This variable specifies the name of the architecture to build ReactOS for.
58 # The variable defaults to i386.
59 #
60 # ROS_PREFIX
61 # This variable specifies the prefix of the MinGW installation. On Windows
62 # a prefix is usually not needed, but on linux it is usually "mingw32". If
63 # not present and no executable named "gcc" can be found, then the prefix is
64 # assumed to be "mingw32". If your gcc is named i386-mingw32-gcc then set
65 # ROS_PREFIX to i386-mingw32. Don't include the dash (-) before gcc.
66 #
67 # ROS_INTERMEDIATE
68 # This variable controls where to put intermediate files. Intermediate
69 # files are generated files that are needed to generate the final
70 # output files. Examples of intermediate files include *.o, *.a, and
71 # *.coff. N.B. Don't put a path separator at the end. The variable
72 # defaults to .\obj-{ROS_ARCH}.
73 #
74 # ROS_OUTPUT
75 # This variable controls where to put output files. Output files are
76 # generated files that makes up the result of the build process.
77 # Examples of output files include *.exe, *.dll, and *.sys. N.B. Don't
78 # put a path separator at the end. The variable defaults to .\output-{ROS_ARCH}.
79 #
80 # ROS_CDOUTPUT
81 # This variable controls the name of the ReactOS directory on cdrom.
82 # The variable defaults to reactos.
83 # Warning: setting this value may lead to a not bootable/installable cdrom.
84 #
85 # ROS_TEMPORARY
86 # This variable controls where to put temporary files. Temporary files
87 # are (usually small) generated files that are needed to generate the
88 # intermediate or final output files. Examples of temporary files include
89 # *.rci (preprocessed .rc files for wrc), *.tmp, and *.exp. N.B. Don't put
90 # a path separator at the end. The variable defaults to {ROS_INTERMEDIATE}
91 # directory.
92 #
93 # ROS_INSTALL
94 # This variable controls where to install output files to when using
95 # 'make install'. N.B. Don't put a path separator at the end. The variable
96 # defaults to .\{ROS_CDOUTPUT}.
97 #
98 # ROS_BUILDMAP
99 # This variable controls if map files are to be generated for executable
100 # output files. Map files have the extension .map. The value can be either
101 # full (to build map files with assembly code), yes (to build map files
102 # without source code) or no (to not build any map files). The variable
103 # defaults to no.
104 #
105 # ROS_BUILDNOSTRIP
106 # This variable controls if non-symbol-stripped versions are to be built
107 # of executable output files. Non-symbol-stripped executable output files
108 # have .nostrip added to the filename just before the extension. The value
109 # can be either yes (to build non-symbol-stripped versions of executable
110 # output files) or no (to not build non-symbol-stripped versions of
111 # executable output files). The variable defaults to no.
112 #
113 # ROS_LEAN_AND_MEAN
114 # This variable controls if all binaries should be stripped out of useless
115 # data added by GCC/LD as well as of RSYM symbol data. Output binary size
116 # will go from 80 to 40MB, memory usage from 58 to 38MB and the install CD
117 # from 18 to 13MB. The variable defaults to no.
118 #
119 # ROS_GENERATE_RSYM
120 # This variable controls generation of RSYM symbol data. The value can be
121 # either yes (to generate symbol data) or no. The variable defaults to yes.
122 #
123 # ROS_RBUILDFLAGS
124 # Pass parameters to rbuild.
125 # -v Be verbose.
126 # -c Clean as you go. Delete generated files as soon as they are not needed anymore.
127 # -dd Disable automatic dependencies.
128 # -da Enable automatic dependencies.
129 # -df Enable full dependencies.
130 # -dm{module} Check only automatic dependencies for this module.
131 # -hd Disable precompiled headers.
132 # -mi Let make handle creation of install directories. Rbuild will not generate the directories.
133 # -ps Generate proxy makefiles in source tree instead of the output tree.
134 # -ud Disable compilation units.
135 # -r Input XML
136 #
137 # ROS_AUTOMAKE
138 # Alternate name of makefile-${ROS_ARCH}.auto
139 #
140 # ROS_BUILDENGINE
141 # The Build engine to be used. The variable defaults to rbuild (RBUILD_TARGET)
142 #
143
144 # check for versions of make that don't have features we need...
145 # the function "eval" is only available in 3.80+, which happens to be the minimum
146 # version that has the features we use...
147 # THIS CHECK IS BORROWED FROM THE "GMSL" PROJECT, AND IS COVERED BY THE GPL LICENSE
148 # YOU CAN FIND OUT MORE ABOUT GMSL - A VERY COOL PROJECT - AT:
149 # http://gmsl.sourceforge.net/
150
151 __gmsl_have_eval :=
152 __gmsl_ignore := $(eval __gmsl_have_eval := T)
153
154 ifndef __gmsl_have_eval
155 $(error ReactOS's makefiles use GNU Make 3.80+ features, you have $(MAKE_VERSION), you MUST UPGRADE in order to build ReactOS - Sorry)
156 endif
157 # END of code borrowed from GMSL ( http://gmsl.sourceforge.net/ )
158
159 define NL
160
161
162 endef
163
164 .PHONY: all
165 .PHONY: clean
166 .PHONY: world
167 .PHONY: universe
168
169 ifneq ($(ROS_ARCH),)
170 ARCH := $(ROS_ARCH)
171 else
172 ARCH := i386
173 endif
174
175 ifeq ($(ROS_AUTOMAKE),)
176 ROS_AUTOMAKE=makefile-$(ARCH).auto
177 endif
178
179 all: $(ROS_AUTOMAKE)
180
181
182 .SUFFIXES:
183
184 ifeq ($(HOST),)
185 ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
186 ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
187 export OSTYPE = msys
188 HOST=mingw32-linux
189 HOST_CFLAGS+=-fshort-wchar
190 HOST_CPPFLAGS+=-fshort-wchar
191 else
192 HOST=mingw32-windows
193 endif
194 else
195 HOST=mingw32-linux
196 HOST_CFLAGS+=-fshort-wchar
197 HOST_CPPFLAGS+=-fshort-wchar
198 endif
199 endif
200
201 # Default to half-verbose mode
202 ifeq ($(VERBOSE),no)
203 Q = @
204 HALFVERBOSEECHO = no
205 BUILDNO_QUIET = -q
206 else
207 ifeq ($(VERBOSE),full)
208 Q =
209 HALFVERBOSEECHO = no
210 BUILDNO_QUIET =
211 else
212 Q = @
213 HALFVERBOSEECHO = yes
214 BUILDNO_QUIET = -q
215 endif
216 endif
217 ifeq ($(HOST),mingw32-linux)
218 QUOTE = "
219 else
220 QUOTE =
221 endif
222 ifeq ($(HALFVERBOSEECHO),yes)
223 ECHO_CP =@echo $(QUOTE)[COPY] $@$(QUOTE)
224 ECHO_MKDIR =@echo $(QUOTE)[MKDIR] $@$(QUOTE)
225 ECHO_BUILDNO =@echo $(QUOTE)[BUILDNO] $@$(QUOTE)
226 ECHO_INVOKE =@echo $(QUOTE)[INVOKE] $<$(QUOTE)
227 ECHO_PCH =@echo $(QUOTE)[PCH] $@$(QUOTE)
228 ECHO_CPP =@echo $(QUOTE)[CPP] $@$(QUOTE)
229 ECHO_CC =@echo $(QUOTE)[CC] $<$(QUOTE)
230 ECHO_HOSTCC =@echo $(QUOTE)[HOST-CC] $<$(QUOTE)
231 ECHO_CL =@echo $(QUOTE)[CL] $<$(QUOTE)
232 ECHO_AS =@echo $(QUOTE)[AS] $<$(QUOTE)
233 ECHO_NASM =@echo $(QUOTE)[NASM] $<$(QUOTE)
234 ECHO_AR =@echo $(QUOTE)[AR] $@$(QUOTE)
235 ECHO_HOSTAR =@echo $(QUOTE)[HOST-AR] $@$(QUOTE)
236 ECHO_WINEBLD =@echo $(QUOTE)[WINEBLD] $@$(QUOTE)
237 ECHO_WRC =@echo $(QUOTE)[WRC] $@$(QUOTE)
238 ECHO_RC =@echo $(QUOTE)[RC] $@$(QUOTE)
239 ECHO_CVTRES =@echo $(QUOTE)[CVTRES] $@$(QUOTE)
240 ECHO_WIDL =@echo $(QUOTE)[WIDL] $@$(QUOTE)
241 ECHO_BIN2RES =@echo $(QUOTE)[BIN2RES] $<$(QUOTE)
242 ECHO_IMPLIB =@echo $(QUOTE)[IMPLIB] $@$(QUOTE)
243 ECHO_LD =@echo $(QUOTE)[LD] $@$(QUOTE)
244 ECHO_HOSTLD =@echo $(QUOTE)[HOST-LD] $@$(QUOTE)
245 ECHO_LINK =@echo $(QUOTE)[LINK] $@$(QUOTE)
246 ECHO_NM =@echo $(QUOTE)[NM] $@$(QUOTE)
247 ECHO_OBJDUMP =@echo $(QUOTE)[OBJDUMP] $@$(QUOTE)
248 ECHO_RBUILD =@echo $(QUOTE)[RBUILD] $@$(QUOTE)
249 ECHO_RSYM =@echo $(QUOTE)[RSYM] $@$(QUOTE)
250 ECHO_PEFIXUP =@echo $(QUOTE)[PEFIXUP] $@$(QUOTE)
251 ECHO_WMC =@echo $(QUOTE)[WMC] $@$(QUOTE)
252 ECHO_NCI =@echo $(QUOTE)[NCI] $@$(QUOTE)
253 ECHO_CABMAN =@echo $(QUOTE)[CABMAN] $<$(QUOTE)
254 ECHO_CDMAKE =@echo $(QUOTE)[CDMAKE] $@$(QUOTE)
255 ECHO_MKHIVE =@echo $(QUOTE)[MKHIVE] $@$(QUOTE)
256 ECHO_REGTESTS=@echo $(QUOTE)[REGTESTS] $@$(QUOTE)
257 ECHO_TEST =@echo $(QUOTE)[TEST] $@$(QUOTE)
258 ECHO_GENDIB =@echo $(QUOTE)[GENDIB] $@$(QUOTE)
259 ECHO_STRIP =@echo $(QUOTE)[STRIP] $@$(QUOTE)
260 ECHO_RGENSTAT=@echo $(QUOTE)[RGENSTAT] $@$(QUOTE)
261 ECHO_DEPENDS =@echo $(QUOTE)[DEPENDS] $<$(QUOTE)
262 ECHO_RSP =@echo $(QUOTE)[RSP] $@$(QUOTE)
263 else
264 ECHO_CP =
265 ECHO_MKDIR =
266 ECHO_BUILDNO =
267 ECHO_INVOKE =
268 ECHO_PCH =
269 ECHO_CPP =
270 ECHO_CC =
271 ECHO_HOSTCC =
272 ECHO_AS =
273 ECHO_NASM =
274 ECHO_AR =
275 ECHO_HOSTAR =
276 ECHO_WINEBLD =
277 ECHO_WRC =
278 ECHO_RC =
279 ECHO_CVTRES =
280 ECHO_WIDL =
281 ECHO_BIN2RES =
282 ECHO_IMPLIB =
283 ECHO_LD =
284 ECHO_HOSTLD =
285 ECHO_NM =
286 ECHO_OBJDUMP =
287 ECHO_RBUILD =
288 ECHO_RSYM =
289 ECHO_WMC =
290 ECHO_NCI =
291 ECHO_CABMAN =
292 ECHO_CDMAKE =
293 ECHO_MKHIVE =
294 ECHO_REGTESTS=
295 ECHO_TEST =
296 ECHO_GENDIB =
297 ECHO_STRIP =
298 ECHO_RGENSTAT=
299 ECHO_DEPENDS =
300 ECHO_RSP =
301 endif
302
303 # Set host compiler/linker
304 ifeq ($(HOST_CC),)
305 HOST_CC = gcc
306 endif
307 ifeq ($(HOST_CPP),)
308 HOST_CPP = g++
309 endif
310 host_gcc = $(Q)$(HOST_CC)
311 host_gpp = $(Q)$(HOST_CPP)
312 host_ld = $(Q)ld
313 host_ar = $(Q)ar
314 host_objcopy = $(Q)objcopy
315
316 # Set target compiler/linker
317 ifneq ($(ROS_PREFIX),)
318 PREFIX_ := $(ROS_PREFIX)-
319 else
320 ifeq ($(HOST),mingw32-linux)
321 PREFIX_ := mingw32-
322 else
323 PREFIX_ :=
324 endif
325 endif
326 ifeq ($(TARGET_CC),)
327 TARGET_CC = $(PREFIX_)gcc
328 endif
329 ifeq ($(TARGET_CPP),)
330 TARGET_CPP = $(PREFIX_)g++
331 endif
332 gcc = $(Q)$(TARGET_CC)
333 gpp = $(Q)$(TARGET_CPP)
334 gas = $(Q)$(TARGET_CC) -x assembler-with-cpp
335 ld = $(Q)$(PREFIX_)ld
336 nm = $(Q)$(PREFIX_)nm
337 objdump = $(Q)$(PREFIX_)objdump
338 ar = $(Q)$(PREFIX_)ar
339 objcopy = $(Q)$(PREFIX_)objcopy
340 dlltool = $(Q)$(PREFIX_)dlltool
341 strip = $(Q)$(PREFIX_)strip
342 windres = $(Q)$(PREFIX_)windres
343
344 # Set utilities
345 ifeq ($(OSTYPE),msys)
346 HOST=mingw32-linux
347 endif
348 ifeq ($(HOST),mingw32-linux)
349 ifeq ($(OSTYPE),msys)
350 export EXEPOSTFIX = .exe
351 else
352 export EXEPOSTFIX =
353 endif
354 export SEP = /
355 mkdir = -$(Q)mkdir -p
356 checkpoint = $(Q)touch
357 rm = $(Q)rm -f
358 cp = $(Q)cp
359 NUL = /dev/null
360 else # mingw32-windows
361 export EXEPOSTFIX = .exe
362 ROS_EMPTY =
363 export SEP = \$(ROS_EMPTY)
364 mkdir = -$(Q)mkdir
365 checkpoint = $(Q)copy /y NUL
366 rm = $(Q)del /f /q
367 cp = $(Q)copy /y
368 NUL = NUL
369 endif
370
371 ifneq ($(ROS_INTERMEDIATE),)
372 INTERMEDIATE := $(ROS_INTERMEDIATE)
373 else
374 INTERMEDIATE := obj-$(ARCH)
375 endif
376 INTERMEDIATE_ := $(INTERMEDIATE)$(SEP)
377
378 ifneq ($(ROS_OUTPUT),)
379 OUTPUT := $(ROS_OUTPUT)
380 else
381 OUTPUT := output-$(ARCH)
382 endif
383 OUTPUT_ := $(OUTPUT)$(SEP)
384
385 ifneq ($(ROS_CDOUTPUT),)
386 CDOUTPUT := $(ROS_CDOUTPUT)
387 else
388 CDOUTPUT := reactos
389 endif
390 CDOUTPUT_ := $(CDOUTPUT)$(SEP)
391
392 ifneq ($(ROS_TEMPORARY),)
393 TEMPORARY := $(ROS_TEMPORARY)
394 else
395 TEMPORARY := $(INTERMEDIATE)
396 endif
397 TEMPORARY_ := $(TEMPORARY)$(SEP)
398
399 ifneq ($(ROS_INSTALL),)
400 INSTALL := $(ROS_INSTALL)
401 else
402 INSTALL := $(CDOUTPUT)
403 endif
404 INSTALL_ := $(INSTALL)$(SEP)
405
406 RBUILD_FLAGS := -rReactOS-$(ARCH).rbuild -DARCH=$(ARCH)
407
408 $(INTERMEDIATE):
409 $(ECHO_MKDIR)
410 ${mkdir} $@
411
412 ifneq ($(INTERMEDIATE),$(OUTPUT))
413 $(OUTPUT):
414 $(ECHO_MKDIR)
415 ${mkdir} $@
416 endif
417
418 ifneq ($(TEMPORARY),$(INTERMEDIATE))
419 ifneq ($(TEMPORARY),$(OUTPUT))
420 $(TEMPORARY):
421 $(ECHO_MKDIR)
422 ${mkdir} $@
423 endif
424 endif
425
426 BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
427
428 include lib/lib.mak
429 include tools/tools.mak
430 -include $(ROS_AUTOMAKE)
431
432 PREAUTO := \
433 $(BIN2C_TARGET) \
434 $(BIN2RES_TARGET) \
435 $(BUILDNO_H) \
436 $(GENDIB_DIB_FILES) \
437 $(NCI_SERVICE_FILES)
438
439 ifeq ($(ARCH),powerpc)
440 PREAUTO += $(OFW_INTERFACE_SERVICE_FILES) $(PPCMMU_TARGETS)
441 endif
442
443 ifeq ($(ROS_BUILDENGINE),)
444 ROS_BUILDENGINE=$(RBUILD_TARGET)
445 endif
446
447 $(ROS_AUTOMAKE): $(ROS_BUILDENGINE) $(XMLBUILDFILES) | $(PREAUTO)
448 ${mkdir} $(OUTPUT_)media$(SEP)inf 2>$(NUL)
449 $(ECHO_RBUILD)
450 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw
451
452 world: all bootcd livecd
453
454 universe:
455 $(MAKE) KDBG=1 DBG=1 \
456 ROS_AUTOMAKE=makefile-$(ARCH)-kd.auto \
457 ROS_INSTALL=reactos-$(ARCH)-kd \
458 ROS_INTERMEDIATE=obj-$(ARCH)-kd \
459 ROS_OUTPUT=output-$(ARCH)-kd \
460 world
461 $(MAKE) KDBG=0 DBG=1 \
462 ROS_AUTOMAKE=makefile-$(ARCH)-d.auto \
463 ROS_INSTALL=reactos-$(ARCH)-d \
464 ROS_INTERMEDIATE=obj-$(ARCH)-d \
465 ROS_OUTPUT=output-$(ARCH)-d \
466 world
467 $(MAKE) KDBG=0 DBG=0 \
468 ROS_AUTOMAKE=makefile-$(ARCH)-r.auto \
469 ROS_INSTALL=reactos-$(ARCH)-r \
470 ROS_INTERMEDIATE=obj-$(ARCH)-r \
471 ROS_OUTPUT=output-$(ARCH)-r \
472 world
473
474 .PHONY: rgenstat
475 rgenstat: $(RGENSTAT_TARGET)
476 $(ECHO_RGENSTAT)
477 $(Q)$(RGENSTAT_TARGET) apistatus.lst apistatus.xml
478
479 .PHONY: msbuild
480 msbuild: $(ROS_BUILDENGINE)
481 $(ECHO_RBUILD)
482 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msbuild
483
484 .PHONY: msbuild_clean
485 msbuild_clean: $(ROS_BUILDENGINE)
486 $(ECHO_RBUILD)
487 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msbuild
488
489 .PHONY: depmap
490 depmap: $(ROS_BUILDENGINE)
491 $(ECHO_RBUILD)
492 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) depmap
493
494 .PHONY: vreport
495 vreport:$(ROS_BUILDENGINE)
496 $(ECHO_RBUILD)
497 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) vreport
498
499 .PHONY: msvc
500 msvc: $(ROS_BUILDENGINE)
501 $(ECHO_RBUILD)
502 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msvc
503
504 .PHONY: msvc6
505 msvc6: $(ROS_BUILDENGINE)
506 $(ECHO_RBUILD)
507 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs6.00 -voversionconfiguration msvc
508
509 .PHONY: msvc7
510 msvc7: $(ROS_BUILDENGINE)
511 $(ECHO_RBUILD)
512 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -voversionconfiguration msvc
513
514 .PHONY: msvc71
515 msvc71: $(ROS_BUILDENGINE)
516 $(ECHO_RBUILD)
517 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -voversionconfiguration msvc
518
519 .PHONY: msvc8
520 msvc8: $(ROS_BUILDENGINE)
521 $(ECHO_RBUILD)
522 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -voversionconfiguration msvc
523
524 .PHONY: msvc9
525 msvc9: $(ROS_BUILDENGINE)
526 $(ECHO_RBUILD)
527 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs9.00 -voversionconfiguration msvc
528
529 .PHONY: msvc10
530 msvc10: $(ROS_BUILDENGINE)
531 $(ECHO_RBUILD)
532 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs10.00 -voversionconfiguration msvc
533
534 .PHONY: msvc6_clean
535 msvc6_clean: $(ROS_BUILDENGINE)
536 $(ECHO_RBUILD)
537 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
538
539 .PHONY: msvc7_clean
540 msvc7_clean: $(ROS_BUILDENGINE)
541 $(ECHO_RBUILD)
542 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
543
544 .PHONY: msvc71_clean
545 msvc71_clean: $(ROS_BUILDENGINE)
546 $(ECHO_RBUILD)
547 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
548
549 .PHONY: msvc8_clean
550 msvc8_clean: $(ROS_BUILDENGINE)
551 $(ECHO_RBUILD)
552 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.00 -voversionconfiguration msvc
553
554 .PHONY: msvc9_clean
555 msvc9_clean: $(ROS_BUILDENGINE)
556 $(ECHO_RBUILD)
557 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs9.00 -voversionconfiguration msvc
558
559 .PHONY: msvc10_clean
560 msvc10_clean: $(ROS_BUILDENGINE)
561 $(ECHO_RBUILD)
562 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs10.00 -voversionconfiguration msvc
563
564 .PHONY: msvc_clean
565 msvc_clean: $(ROS_BUILDENGINE)
566 $(ECHO_RBUILD)
567 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msvc
568
569 .PHONY: msvc_clean_all
570 msvc_clean_all: $(ROS_BUILDENGINE)
571 $(ECHO_RBUILD)
572 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
573 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
574 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
575 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.10 -voversionconfiguration msvc
576
577 .PHONY: msvc7_install_debug
578 msvc7_install_debug: $(ROS_BUILDENGINE)
579 $(ECHO_RBUILD)
580 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcdebug -voversionconfiguration msvc
581
582 .PHONY: msvc7_install_release
583 msvc7_install_release: $(ROS_BUILDENGINE)
584 $(ECHO_RBUILD)
585 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcrelease -voversionconfiguration msvc
586
587 .PHONY: msvc7_install_speed
588 msvc7_install_speed: $(ROS_BUILDENGINE)
589 $(ECHO_RBUILD)
590 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcspeed -voversionconfiguration msvc
591
592 .PHONY: msvc71_install_debug
593 msvc71_install_debug: $(ROS_BUILDENGINE)
594 $(ECHO_RBUILD)
595 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcdebug -voversionconfiguration msvc
596
597 .PHONY: msvc71_install_release
598 msvc71_install_release: $(ROS_BUILDENGINE)
599 $(ECHO_RBUILD)
600 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcrelease -voversionconfiguration msvc
601
602
603 .PHONY: msvc71_install_speed
604 msvc71_install_speed: $(ROS_BUILDENGINE)
605 $(ECHO_RBUILD)
606 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcspeed -voversionconfiguration msvc
607
608 .PHONY: msvc8_install_debug
609 msvc8_install_debug: $(ROS_BUILDENGINE)
610 $(ECHO_RBUILD)
611 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcdebug -voversionconfiguration msvc
612
613 .PHONY: msvc8_install_release
614 msvc8_install_release: $(ROS_BUILDENGINE)
615 $(ECHO_RBUILD)
616 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcrelease -voversionconfiguration msvc
617
618 .PHONY: msvc8_install_speed
619 msvc8_install_speed: $(ROS_BUILDENGINE)
620 $(ECHO_RBUILD)
621 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcspeed -voversionconfiguration msvc
622
623 .PHONY: makefile_auto_clean
624 makefile_auto_clean:
625 -@$(rm) $(ROS_AUTOMAKE) $(PREAUTO) 2>$(NUL)
626
627 .PHONY: clean
628 clean: makefile_auto_clean
629
630 .PHONY: depends
631 depends: $(ROS_BUILDENGINE)
632 $(ECHO_RBUILD)
633 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw