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