Sync to trunk (r44371)
[reactos.git] / reactos / 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 .PHONY: all
156 .PHONY: clean
157 .PHONY: world
158 .PHONY: universe
159
160 ifneq ($(ROS_ARCH),)
161 ARCH := $(ROS_ARCH)
162 else
163 ARCH := i386
164 endif
165
166 ifeq ($(ROS_AUTOMAKE),)
167 ifeq ($(ARCH),i386)
168 ROS_AUTOMAKE=makefile.auto
169 else
170 ROS_AUTOMAKE=makefile-$(ARCH).auto
171 endif
172 endif
173
174 all: $(ROS_AUTOMAKE)
175
176
177 .SUFFIXES:
178
179 ifeq ($(HOST),)
180 ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
181 ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
182 export OSTYPE = msys
183 HOST=mingw32-linux
184 HOST_CFLAGS+=-fshort-wchar
185 HOST_CPPFLAGS+=-fshort-wchar
186 else
187 HOST=mingw32-windows
188 endif
189 else
190 HOST=mingw32-linux
191 HOST_CFLAGS+=-fshort-wchar
192 HOST_CPPFLAGS+=-fshort-wchar
193 endif
194 endif
195
196 # Default to half-verbose mode
197 ifeq ($(VERBOSE),no)
198 Q = @
199 HALFVERBOSEECHO = no
200 BUILDNO_QUIET = -q
201 else
202 ifeq ($(VERBOSE),full)
203 Q =
204 HALFVERBOSEECHO = no
205 BUILDNO_QUIET =
206 else
207 Q = @
208 HALFVERBOSEECHO = yes
209 BUILDNO_QUIET = -q
210 endif
211 endif
212 ifeq ($(HOST),mingw32-linux)
213 QUOTE = "
214 else
215 QUOTE =
216 endif
217 ifeq ($(HALFVERBOSEECHO),yes)
218 ECHO_CP =@echo $(QUOTE)[COPY] $@$(QUOTE)
219 ECHO_MKDIR =@echo $(QUOTE)[MKDIR] $@$(QUOTE)
220 ECHO_BUILDNO =@echo $(QUOTE)[BUILDNO] $@$(QUOTE)
221 ECHO_INVOKE =@echo $(QUOTE)[INVOKE] $<$(QUOTE)
222 ECHO_PCH =@echo $(QUOTE)[PCH] $@$(QUOTE)
223 ECHO_CPP =@echo $(QUOTE)[CPP] $@$(QUOTE)
224 ECHO_CC =@echo $(QUOTE)[CC] $<$(QUOTE)
225 ECHO_HOSTCC =@echo $(QUOTE)[HOST-CC] $<$(QUOTE)
226 ECHO_CL =@echo $(QUOTE)[CL] $<$(QUOTE)
227 ECHO_AS =@echo $(QUOTE)[AS] $<$(QUOTE)
228 ECHO_NASM =@echo $(QUOTE)[NASM] $<$(QUOTE)
229 ECHO_AR =@echo $(QUOTE)[AR] $@$(QUOTE)
230 ECHO_HOSTAR =@echo $(QUOTE)[HOST-AR] $@$(QUOTE)
231 ECHO_WINEBLD =@echo $(QUOTE)[WINEBLD] $@$(QUOTE)
232 ECHO_WRC =@echo $(QUOTE)[WRC] $@$(QUOTE)
233 ECHO_RC =@echo $(QUOTE)[RC] $@$(QUOTE)
234 ECHO_CVTRES =@echo $(QUOTE)[CVTRES] $@$(QUOTE)
235 ECHO_WIDL =@echo $(QUOTE)[WIDL] $@$(QUOTE)
236 ECHO_BIN2RES =@echo $(QUOTE)[BIN2RES] $<$(QUOTE)
237 ECHO_DLLTOOL =@echo $(QUOTE)[DLLTOOL] $@$(QUOTE)
238 ECHO_LD =@echo $(QUOTE)[LD] $@$(QUOTE)
239 ECHO_HOSTLD =@echo $(QUOTE)[HOST-LD] $@$(QUOTE)
240 ECHO_LINK =@echo $(QUOTE)[LINK] $@$(QUOTE)
241 ECHO_NM =@echo $(QUOTE)[NM] $@$(QUOTE)
242 ECHO_OBJDUMP =@echo $(QUOTE)[OBJDUMP] $@$(QUOTE)
243 ECHO_RBUILD =@echo $(QUOTE)[RBUILD] $@$(QUOTE)
244 ECHO_RSYM =@echo $(QUOTE)[RSYM] $@$(QUOTE)
245 ECHO_WMC =@echo $(QUOTE)[WMC] $@$(QUOTE)
246 ECHO_NCI =@echo $(QUOTE)[NCI] $@$(QUOTE)
247 ECHO_CABMAN =@echo $(QUOTE)[CABMAN] $<$(QUOTE)
248 ECHO_CDMAKE =@echo $(QUOTE)[CDMAKE] $@$(QUOTE)
249 ECHO_MKHIVE =@echo $(QUOTE)[MKHIVE] $@$(QUOTE)
250 ECHO_REGTESTS=@echo $(QUOTE)[REGTESTS] $@$(QUOTE)
251 ECHO_TEST =@echo $(QUOTE)[TEST] $@$(QUOTE)
252 ECHO_GENDIB =@echo $(QUOTE)[GENDIB] $@$(QUOTE)
253 ECHO_STRIP =@echo $(QUOTE)[STRIP] $@$(QUOTE)
254 ECHO_RGENSTAT=@echo $(QUOTE)[RGENSTAT] $@$(QUOTE)
255 ECHO_DEPENDS =@echo $(QUOTE)[DEPENDS] $<$(QUOTE)
256 else
257 ECHO_CP =
258 ECHO_MKDIR =
259 ECHO_BUILDNO =
260 ECHO_INVOKE =
261 ECHO_PCH =
262 ECHO_CPP =
263 ECHO_CC =
264 ECHO_HOSTCC =
265 ECHO_AS =
266 ECHO_NASM =
267 ECHO_AR =
268 ECHO_HOSTAR =
269 ECHO_WINEBLD =
270 ECHO_WRC =
271 ECHO_RC =
272 ECHO_CVTRES =
273 ECHO_WIDL =
274 ECHO_BIN2RES =
275 ECHO_DLLTOOL =
276 ECHO_LD =
277 ECHO_HOSTLD =
278 ECHO_NM =
279 ECHO_OBJDUMP =
280 ECHO_RBUILD =
281 ECHO_RSYM =
282 ECHO_WMC =
283 ECHO_NCI =
284 ECHO_CABMAN =
285 ECHO_CDMAKE =
286 ECHO_MKHIVE =
287 ECHO_REGTESTS=
288 ECHO_TEST =
289 ECHO_GENDIB =
290 ECHO_STRIP =
291 ECHO_RGENSTAT=
292 ECHO_DEPENDS =
293 endif
294
295 # Set host compiler/linker
296 ifeq ($(HOST_CC),)
297 HOST_CC = gcc
298 endif
299 ifeq ($(HOST_CPP),)
300 HOST_CPP = g++
301 endif
302 host_gcc = $(Q)$(HOST_CC)
303 host_gpp = $(Q)$(HOST_CPP)
304 host_ld = $(Q)ld
305 host_ar = $(Q)ar
306 host_objcopy = $(Q)objcopy
307
308 # Set target compiler/linker
309 ifneq ($(ROS_PREFIX),)
310 PREFIX_ := $(ROS_PREFIX)
311 else
312 ifeq ($(HOST),mingw32-linux)
313 PREFIX_ := mingw32
314 else
315 PREFIX_ :=
316 endif
317 endif
318 ifeq ($(TARGET_CC),)
319 TARGET_CC = $(PREFIX_)-gcc
320 endif
321 ifeq ($(TARGET_CPP),)
322 TARGET_CPP = $(PREFIX_)-g++
323 endif
324 gcc = $(Q)$(TARGET_CC)
325 gpp = $(Q)$(TARGET_CPP)
326 gas = $(Q)$(TARGET_CC) -x assembler-with-cpp
327 ld = $(Q)$(PREFIX_)-ld
328 nm = $(Q)$(PREFIX_)-nm
329 objdump = $(Q)$(PREFIX_)-objdump
330 ar = $(Q)$(PREFIX_)-ar
331 objcopy = $(Q)$(PREFIX_)-objcopy
332 dlltool = $(Q)$(PREFIX_)-dlltool
333 strip = $(Q)$(PREFIX_)-strip
334 windres = $(Q)$(PREFIX_)-windres
335
336 # Set utilities
337 ifeq ($(OSTYPE),msys)
338 HOST=mingw32-linux
339 endif
340 ifeq ($(HOST),mingw32-linux)
341 ifeq ($(OSTYPE),msys)
342 export EXEPOSTFIX = .exe
343 else
344 export EXEPOSTFIX =
345 endif
346 export SEP = /
347 mkdir = -$(Q)mkdir -p
348 rm = $(Q)rm -f
349 cp = $(Q)cp
350 NUL = /dev/null
351 else # mingw32-windows
352 export EXEPOSTFIX = .exe
353 ROS_EMPTY =
354 export SEP = \$(ROS_EMPTY)
355 mkdir = -$(Q)mkdir
356 rm = $(Q)del /f /q
357 cp = $(Q)copy /y
358 NUL = NUL
359 endif
360
361 ifneq ($(ROS_INTERMEDIATE),)
362 INTERMEDIATE := $(ROS_INTERMEDIATE)
363 else
364 INTERMEDIATE := obj-$(ARCH)
365 endif
366 INTERMEDIATE_ := $(INTERMEDIATE)$(SEP)
367
368 ifneq ($(ROS_OUTPUT),)
369 OUTPUT := $(ROS_OUTPUT)
370 else
371 OUTPUT := output-$(ARCH)
372 endif
373 OUTPUT_ := $(OUTPUT)$(SEP)
374
375 ifneq ($(ROS_CDOUTPUT),)
376 CDOUTPUT := $(ROS_CDOUTPUT)
377 else
378 CDOUTPUT := reactos
379 endif
380 CDOUTPUT_ := $(CDOUTPUT)$(SEP)
381
382 ifneq ($(ROS_TEMPORARY),)
383 TEMPORARY := $(ROS_TEMPORARY)
384 else
385 TEMPORARY := $(INTERMEDIATE)
386 endif
387 TEMPORARY_ := $(TEMPORARY)$(SEP)
388
389 ifneq ($(ROS_INSTALL),)
390 INSTALL := $(ROS_INSTALL)
391 else
392 INSTALL := $(CDOUTPUT)
393 endif
394 INSTALL_ := $(INSTALL)$(SEP)
395
396 RBUILD_FLAGS := -rReactOS-$(ARCH).rbuild -DARCH=$(ARCH)
397
398 $(INTERMEDIATE):
399 $(ECHO_MKDIR)
400 ${mkdir} $@
401
402 ifneq ($(INTERMEDIATE),$(OUTPUT))
403 $(OUTPUT):
404 $(ECHO_MKDIR)
405 ${mkdir} $@
406 endif
407
408 ifneq ($(TEMPORARY),$(INTERMEDIATE))
409 ifneq ($(TEMPORARY),$(OUTPUT))
410 $(TEMPORARY):
411 $(ECHO_MKDIR)
412 ${mkdir} $@
413 endif
414 endif
415
416 BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
417
418 include lib/lib.mak
419 include tools/tools.mak
420 -include $(ROS_AUTOMAKE)
421
422 PREAUTO := \
423 $(BIN2C_TARGET) \
424 $(BIN2RES_TARGET) \
425 $(BUILDNO_H) \
426 $(GENDIB_DIB_FILES) \
427 $(NCI_SERVICE_FILES)
428
429 ifeq ($(ARCH),powerpc)
430 PREAUTO += $(OFW_INTERFACE_SERVICE_FILES) $(PPCMMU_TARGETS)
431 endif
432
433 ifeq ($(ROS_BUILDENGINE),)
434 ROS_BUILDENGINE=$(RBUILD_TARGET)
435 endif
436
437 $(ROS_AUTOMAKE): $(ROS_BUILDENGINE) $(XMLBUILDFILES) | $(PREAUTO)
438 ${mkdir} $(OUTPUT_)media$(SEP)inf 2>$(NUL)
439 $(ECHO_RBUILD)
440 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw
441
442 world: all bootcd livecd
443
444 universe:
445 $(MAKE) KDBG=1 DBG=1 \
446 ROS_AUTOMAKE=makefile-$(ARCH)-kd.auto \
447 ROS_INSTALL=reactos-$(ARCH)-kd \
448 ROS_INTERMEDIATE=obj-$(ARCH)-kd \
449 ROS_OUTPUT=output-$(ARCH)-kd \
450 world
451 $(MAKE) KDBG=0 DBG=1 \
452 ROS_AUTOMAKE=makefile-$(ARCH)-d.auto \
453 ROS_INSTALL=reactos-$(ARCH)-d \
454 ROS_INTERMEDIATE=obj-$(ARCH)-d \
455 ROS_OUTPUT=output-$(ARCH)-d \
456 world
457 $(MAKE) KDBG=0 DBG=0 \
458 ROS_AUTOMAKE=makefile-$(ARCH)-r.auto \
459 ROS_INSTALL=reactos-$(ARCH)-r \
460 ROS_INTERMEDIATE=obj-$(ARCH)-r \
461 ROS_OUTPUT=output-$(ARCH)-r \
462 world
463
464 .PHONY: rgenstat
465 rgenstat: $(RGENSTAT_TARGET)
466 $(ECHO_RGENSTAT)
467 $(Q)$(RGENSTAT_TARGET) apistatus.lst apistatus.xml
468
469 .PHONY: cb
470 cb: $(ROS_BUILDENGINE)
471 $(ECHO_RBUILD)
472 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) cb
473
474 .PHONY: msbuild
475 msbuild: $(ROS_BUILDENGINE)
476 $(ECHO_RBUILD)
477 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msbuild
478
479 .PHONY: msbuild_clean
480 msbuild_clean: $(ROS_BUILDENGINE)
481 $(ECHO_RBUILD)
482 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msbuild
483
484 .PHONY: depmap
485 depmap: $(ROS_BUILDENGINE)
486 $(ECHO_RBUILD)
487 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) depmap
488
489 .PHONY: vreport
490 vreport:$(ROS_BUILDENGINE)
491 $(ECHO_RBUILD)
492 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) vreport
493
494 .PHONY: msvc
495 msvc: $(ROS_BUILDENGINE)
496 $(ECHO_RBUILD)
497 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msvc
498
499 .PHONY: msvc6
500 msvc6: $(ROS_BUILDENGINE)
501 $(ECHO_RBUILD)
502 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs6.00 -voversionconfiguration msvc
503
504 .PHONY: msvc7
505 msvc7: $(ROS_BUILDENGINE)
506 $(ECHO_RBUILD)
507 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -voversionconfiguration msvc
508
509 .PHONY: msvc71
510 msvc71: $(ROS_BUILDENGINE)
511 $(ECHO_RBUILD)
512 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -voversionconfiguration msvc
513
514 .PHONY: msvc8
515 msvc8: $(ROS_BUILDENGINE)
516 $(ECHO_RBUILD)
517 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -voversionconfiguration msvc
518
519 .PHONY: msvc9
520 msvc9: $(ROS_BUILDENGINE)
521 $(ECHO_RBUILD)
522 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs9.00 -voversionconfiguration msvc
523
524 .PHONY: msvc6_clean
525 msvc6_clean: $(ROS_BUILDENGINE)
526 $(ECHO_RBUILD)
527 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
528
529 .PHONY: msvc7_clean
530 msvc7_clean: $(ROS_BUILDENGINE)
531 $(ECHO_RBUILD)
532 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
533
534 .PHONY: msvc71_clean
535 msvc71_clean: $(ROS_BUILDENGINE)
536 $(ECHO_RBUILD)
537 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
538
539 .PHONY: msvc8_clean
540 msvc8_clean: $(ROS_BUILDENGINE)
541 $(ECHO_RBUILD)
542 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.00 -voversionconfiguration msvc
543
544 .PHONY: msvc9_clean
545 msvc9_clean: $(ROS_BUILDENGINE)
546 $(ECHO_RBUILD)
547 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs9.00 -voversionconfiguration msvc
548
549 .PHONY: msvc_clean
550 msvc_clean: $(ROS_BUILDENGINE)
551 $(ECHO_RBUILD)
552 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msvc
553
554 .PHONY: msvc_clean_all
555 msvc_clean_all: $(ROS_BUILDENGINE)
556 $(ECHO_RBUILD)
557 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
558 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
559 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
560 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.10 -voversionconfiguration msvc
561
562 .PHONY: msvc7_install_debug
563 msvc7_install_debug: $(ROS_BUILDENGINE)
564 $(ECHO_RBUILD)
565 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcdebug -voversionconfiguration msvc
566
567 .PHONY: msvc7_install_release
568 msvc7_install_release: $(ROS_BUILDENGINE)
569 $(ECHO_RBUILD)
570 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcrelease -voversionconfiguration msvc
571
572 .PHONY: msvc7_install_speed
573 msvc7_install_speed: $(ROS_BUILDENGINE)
574 $(ECHO_RBUILD)
575 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcspeed -voversionconfiguration msvc
576
577 .PHONY: msvc71_install_debug
578 msvc71_install_debug: $(ROS_BUILDENGINE)
579 $(ECHO_RBUILD)
580 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcdebug -voversionconfiguration msvc
581
582 .PHONY: msvc71_install_release
583 msvc71_install_release: $(ROS_BUILDENGINE)
584 $(ECHO_RBUILD)
585 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcrelease -voversionconfiguration msvc
586
587
588 .PHONY: msvc71_install_speed
589 msvc71_install_speed: $(ROS_BUILDENGINE)
590 $(ECHO_RBUILD)
591 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcspeed -voversionconfiguration msvc
592
593 .PHONY: msvc8_install_debug
594 msvc8_install_debug: $(ROS_BUILDENGINE)
595 $(ECHO_RBUILD)
596 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcdebug -voversionconfiguration msvc
597
598 .PHONY: msvc8_install_release
599 msvc8_install_release: $(ROS_BUILDENGINE)
600 $(ECHO_RBUILD)
601 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcrelease -voversionconfiguration msvc
602
603 .PHONY: msvc8_install_speed
604 msvc8_install_speed: $(ROS_BUILDENGINE)
605 $(ECHO_RBUILD)
606 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcspeed -voversionconfiguration msvc
607
608 .PHONY: makefile_auto_clean
609 makefile_auto_clean:
610 -@$(rm) $(ROS_AUTOMAKE) $(PREAUTO) 2>$(NUL)
611
612 .PHONY: clean
613 clean: makefile_auto_clean
614
615 .PHONY: depends
616 depends: $(ROS_BUILDENGINE)
617 $(ECHO_RBUILD)
618 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw