68eb6613acab39bd3e0e6bde1682a5be1180864d
[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_RBUILDFLAGS
116 # Pass parameters to rbuild.
117 # -v Be verbose.
118 # -c Clean as you go. Delete generated files as soon as they are not needed anymore.
119 # -dd Disable automatic dependencies.
120 # -dm{module} Check only automatic dependencies for this module.
121 # -hd Disable precompiled headers.
122 # -mi Let make handle creation of install directories. Rbuild will not generate the directories.
123 # -ps Generate proxy makefiles in source tree instead of the output tree.
124 # -ud Disable compilation units.
125 # -r Input XML
126 #
127 # ROS_AUTOMAKE
128 # Alternate name of makefile-$(ARCH).auto
129 #
130 # ROS_BUILDENGINE
131 # The Build engine to be used. The variable defaults to rbuild (RBUILD_TARGET)
132 #
133
134 # check for versions of make that don't have features we need...
135 # the function "eval" is only available in 3.80+, which happens to be the minimum
136 # version that has the features we use...
137 # THIS CHECK IS BORROWED FROM THE "GMSL" PROJECT, AND IS COVERED BY THE GPL LICENSE
138 # YOU CAN FIND OUT MORE ABOUT GMSL - A VERY COOL PROJECT - AT:
139 # http://gmsl.sourceforge.net/
140
141 __gmsl_have_eval :=
142 __gmsl_ignore := $(eval __gmsl_have_eval := T)
143
144 ifndef __gmsl_have_eval
145 $(error ReactOS's makefiles use GNU Make 3.80+ features, you have $(MAKE_VERSION), you MUST UPGRADE in order to build ReactOS - Sorry)
146 endif
147 # END of code borrowed from GMSL ( http://gmsl.sourceforge.net/ )
148
149 .PHONY: all
150 .PHONY: clean
151 .PHONY: world
152 .PHONY: universe
153
154 ifneq ($(ROS_ARCH),)
155 ARCH := $(ROS_ARCH)
156 else
157 ARCH := i386
158 endif
159
160 ifeq ($(ROS_AUTOMAKE),)
161 ROS_AUTOMAKE=makefile-$(ARCH).auto
162 endif
163
164 all: $(ROS_AUTOMAKE)
165
166
167 .SUFFIXES:
168
169 ifeq ($(HOST),)
170 ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32)
171 ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys)
172 export OSTYPE = msys
173 HOST=mingw32-linux
174 HOST_CFLAGS+=-fshort-wchar
175 HOST_CPPFLAGS+=-fshort-wchar
176 else
177 HOST=mingw32-windows
178 endif
179 else
180 HOST=mingw32-linux
181 HOST_CFLAGS+=-fshort-wchar
182 HOST_CPPFLAGS+=-fshort-wchar
183 endif
184 endif
185
186 # Default to half-verbose mode
187 ifeq ($(VERBOSE),no)
188 Q = @
189 HALFVERBOSEECHO = no
190 BUILDNO_QUIET = -q
191 else
192 ifeq ($(VERBOSE),full)
193 Q =
194 HALFVERBOSEECHO = no
195 BUILDNO_QUIET =
196 else
197 Q = @
198 HALFVERBOSEECHO = yes
199 BUILDNO_QUIET = -q
200 endif
201 endif
202 ifeq ($(HOST),mingw32-linux)
203 QUOTE = "
204 else
205 QUOTE =
206 endif
207 ifeq ($(HALFVERBOSEECHO),yes)
208 ECHO_CP =@echo $(QUOTE)[COPY] $@$(QUOTE)
209 ECHO_MKDIR =@echo $(QUOTE)[MKDIR] $@$(QUOTE)
210 ECHO_BUILDNO =@echo $(QUOTE)[BUILDNO] $@$(QUOTE)
211 ECHO_INVOKE =@echo $(QUOTE)[INVOKE] $<$(QUOTE)
212 ECHO_PCH =@echo $(QUOTE)[PCH] $@$(QUOTE)
213 ECHO_CC =@echo $(QUOTE)[CC] $<$(QUOTE)
214 ECHO_GAS =@echo $(QUOTE)[GAS] $<$(QUOTE)
215 ECHO_NASM =@echo $(QUOTE)[NASM] $<$(QUOTE)
216 ECHO_AR =@echo $(QUOTE)[AR] $@$(QUOTE)
217 ECHO_WINEBLD =@echo $(QUOTE)[WINEBLD] $@$(QUOTE)
218 ECHO_WRC =@echo $(QUOTE)[WRC] $@$(QUOTE)
219 ECHO_WIDL =@echo $(QUOTE)[WIDL] $@$(QUOTE)
220 ECHO_BIN2RES =@echo $(QUOTE)[BIN2RES] $<$(QUOTE)
221 ECHO_DLLTOOL =@echo $(QUOTE)[DLLTOOL] $@$(QUOTE)
222 ECHO_LD =@echo $(QUOTE)[LD] $@$(QUOTE)
223 ECHO_NM =@echo $(QUOTE)[NM] $@$(QUOTE)
224 ECHO_OBJDUMP =@echo $(QUOTE)[OBJDUMP] $@$(QUOTE)
225 ECHO_RBUILD =@echo $(QUOTE)[RBUILD] $@$(QUOTE)
226 ECHO_RSYM =@echo $(QUOTE)[RSYM] $@$(QUOTE)
227 ECHO_WMC =@echo $(QUOTE)[WMC] $@$(QUOTE)
228 ECHO_NCI =@echo $(QUOTE)[NCI] $@$(QUOTE)
229 ECHO_CABMAN =@echo $(QUOTE)[CABMAN] $<$(QUOTE)
230 ECHO_CDMAKE =@echo $(QUOTE)[CDMAKE] $@$(QUOTE)
231 ECHO_MKHIVE =@echo $(QUOTE)[MKHIVE] $@$(QUOTE)
232 ECHO_REGTESTS=@echo $(QUOTE)[REGTESTS] $@$(QUOTE)
233 ECHO_TEST =@echo $(QUOTE)[TEST] $@$(QUOTE)
234 ECHO_GENDIB =@echo $(QUOTE)[GENDIB] $@$(QUOTE)
235 ECHO_STRIP =@echo $(QUOTE)[STRIP] $@$(QUOTE)
236 ECHO_RGENSTAT=@echo $(QUOTE)[RGENSTAT] $@$(QUOTE)
237 else
238 ECHO_CP =
239 ECHO_MKDIR =
240 ECHO_BUILDNO =
241 ECHO_INVOKE =
242 ECHO_PCH =
243 ECHO_CC =
244 ECHO_GAS =
245 ECHO_NASM =
246 ECHO_AR =
247 ECHO_WINEBLD =
248 ECHO_WRC =
249 ECHO_WIDL =
250 ECHO_BIN2RES =
251 ECHO_DLLTOOL =
252 ECHO_LD =
253 ECHO_NM =
254 ECHO_OBJDUMP =
255 ECHO_RBUILD =
256 ECHO_RSYM =
257 ECHO_WMC =
258 ECHO_NCI =
259 ECHO_CABMAN =
260 ECHO_CDMAKE =
261 ECHO_MKHIVE =
262 ECHO_REGTESTS=
263 ECHO_TEST =
264 ECHO_GENDIB =
265 ECHO_STRIP =
266 ECHO_RGENSTAT=
267 endif
268
269 # Set host compiler/linker
270 ifeq ($(HOST_CC),)
271 HOST_CC = gcc
272 endif
273 ifeq ($(HOST_CPP),)
274 HOST_CPP = g++
275 endif
276 host_gcc = $(Q)$(HOST_CC)
277 host_gpp = $(Q)$(HOST_CPP)
278 host_ld = $(Q)ld
279 host_ar = $(Q)ar
280 host_objcopy = $(Q)objcopy
281
282 # Set target compiler/linker
283 ifneq ($(ROS_PREFIX),)
284 PREFIX_ := $(ROS_PREFIX)-
285 else
286 ifeq ($(HOST),mingw32-linux)
287 PREFIX_ := mingw32-
288 else
289 PREFIX_ :=
290 endif
291 endif
292 ifeq ($(TARGET_CC),)
293 TARGET_CC = $(PREFIX_)gcc
294 endif
295 ifeq ($(TARGET_CPP),)
296 TARGET_CPP = $(PREFIX_)g++
297 endif
298 gcc = $(Q)$(TARGET_CC)
299 gpp = $(Q)$(TARGET_CPP)
300 ld = $(Q)$(PREFIX_)ld
301 nm = $(Q)$(PREFIX_)nm
302 objdump = $(Q)$(PREFIX_)objdump
303 ar = $(Q)$(PREFIX_)ar
304 objcopy = $(Q)$(PREFIX_)objcopy
305 dlltool = $(Q)$(PREFIX_)dlltool
306 strip = $(Q)$(PREFIX_)strip
307 windres = $(Q)$(PREFIX_)windres
308
309 # Set utilities
310 ifeq ($(OSTYPE),msys)
311 HOST=mingw32-linux
312 endif
313 ifeq ($(HOST),mingw32-linux)
314 ifeq ($(OSTYPE),msys)
315 export EXEPOSTFIX = .exe
316 else
317 export EXEPOSTFIX =
318 endif
319 export SEP = /
320 mkdir = -$(Q)mkdir -p
321 rm = $(Q)rm -f
322 cp = $(Q)cp
323 NUL = /dev/null
324 else # mingw32-windows
325 export EXEPOSTFIX = .exe
326 ROS_EMPTY =
327 export SEP = \$(ROS_EMPTY)
328 mkdir = -$(Q)mkdir
329 rm = $(Q)del /f /q
330 cp = $(Q)copy /y
331 NUL = NUL
332 endif
333
334 ifneq ($(ROS_INTERMEDIATE),)
335 INTERMEDIATE := $(ROS_INTERMEDIATE)
336 else
337 INTERMEDIATE := obj-$(ARCH)
338 endif
339 INTERMEDIATE_ := $(INTERMEDIATE)$(SEP)
340
341 ifneq ($(ROS_OUTPUT),)
342 OUTPUT := $(ROS_OUTPUT)
343 else
344 OUTPUT := output-$(ARCH)
345 endif
346 OUTPUT_ := $(OUTPUT)$(SEP)
347
348 ifneq ($(ROS_CDOUTPUT),)
349 CDOUTPUT := $(ROS_CDOUTPUT)
350 else
351 CDOUTPUT := reactos
352 endif
353 CDOUTPUT_ := $(CDOUTPUT)$(SEP)
354
355 ifneq ($(ROS_TEMPORARY),)
356 TEMPORARY := $(ROS_TEMPORARY)
357 else
358 TEMPORARY := $(INTERMEDIATE)
359 endif
360 TEMPORARY_ := $(TEMPORARY)$(SEP)
361
362 ifneq ($(ROS_INSTALL),)
363 INSTALL := $(ROS_INSTALL)
364 else
365 INSTALL := $(CDOUTPUT)
366 endif
367 INSTALL_ := $(INSTALL)$(SEP)
368
369 RBUILD_FLAGS := -rReactOS-$(ARCH).rbuild -DARCH=$(ARCH)
370
371 $(INTERMEDIATE):
372 $(ECHO_MKDIR)
373 ${mkdir} $@
374
375 ifneq ($(INTERMEDIATE),$(OUTPUT))
376 $(OUTPUT):
377 $(ECHO_MKDIR)
378 ${mkdir} $@
379 endif
380
381 ifneq ($(TEMPORARY),$(INTERMEDIATE))
382 ifneq ($(TEMPORARY),$(OUTPUT))
383 $(TEMPORARY):
384 $(ECHO_MKDIR)
385 ${mkdir} $@
386 endif
387 endif
388
389 BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
390
391 include lib/lib.mak
392 include tools/tools.mak
393 -include $(ROS_AUTOMAKE)
394
395 PREAUTO := \
396 $(BIN2C_TARGET) \
397 $(BIN2RES_TARGET) \
398 $(BUILDNO_H) \
399 $(GENDIB_DIB_FILES) \
400 $(NCI_SERVICE_FILES)
401
402 ifeq ($(ARCH),powerpc)
403 PREAUTO += $(OFW_INTERFACE_SERVICE_FILES) $(PPCMMU_TARGETS)
404 endif
405
406 ifeq ($(ROS_BUILDENGINE),)
407 ROS_BUILDENGINE=$(RBUILD_TARGET)
408 endif
409
410 $(ROS_AUTOMAKE): $(ROS_BUILDENGINE) $(XMLBUILDFILES) | $(PREAUTO)
411 ${mkdir} $(OUTPUT_)media$(SEP)inf 2>$(NUL)
412 $(ECHO_RBUILD)
413 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw
414
415 world: all bootcd livecd
416
417 universe:
418 $(MAKE) KDBG=1 DBG=1 \
419 ROS_AUTOMAKE=makefile-$(ARCH)-kd.auto \
420 ROS_INSTALL=reactos-$(ARCH)-kd \
421 ROS_INTERMEDIATE=obj-$(ARCH)-kd \
422 ROS_OUTPUT=output-$(ARCH)-kd \
423 world
424 $(MAKE) KDBG=0 DBG=1 \
425 ROS_AUTOMAKE=makefile-$(ARCH)-d.auto \
426 ROS_INSTALL=reactos-$(ARCH)-d \
427 ROS_INTERMEDIATE=obj-$(ARCH)-d \
428 ROS_OUTPUT=output-$(ARCH)-d \
429 world
430 $(MAKE) KDBG=0 DBG=0 \
431 ROS_AUTOMAKE=makefile-$(ARCH)-r.auto \
432 ROS_INSTALL=reactos-$(ARCH)-r \
433 ROS_INTERMEDIATE=obj-$(ARCH)-r \
434 ROS_OUTPUT=output-$(ARCH)-r \
435 world
436
437 sysregtest:
438 $(OUTPUT_)tools$(SEP)sysreg$(SEP)sysreg$(EXEPOSTFIX) tools$(SEP)sysreg$(SEP)txtmode.cfg
439
440 .PHONY: rgenstat
441 rgenstat: $(RGENSTAT_TARGET)
442 $(ECHO_RGENSTAT)
443 $(Q)$(RGENSTAT_TARGET) apistatus.lst apistatus.xml
444
445 .PHONY: cb
446 cb: $(ROS_BUILDENGINE)
447 $(ECHO_RBUILD)
448 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) cb
449
450 .PHONY: msbuild
451 msbuild: $(ROS_BUILDENGINE)
452 $(ECHO_RBUILD)
453 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msbuild
454
455 .PHONY: msbuild_clean
456 msbuild_clean: $(ROS_BUILDENGINE)
457 $(ECHO_RBUILD)
458 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msbuild
459
460 .PHONY: depmap
461 depmap: $(ROS_BUILDENGINE)
462 $(ECHO_RBUILD)
463 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) depmap
464
465 .PHONY: vreport
466 vreport:$(ROS_BUILDENGINE)
467 $(ECHO_RBUILD)
468 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) vreport
469
470 .PHONY: msvc
471 msvc: $(ROS_BUILDENGINE)
472 $(ECHO_RBUILD)
473 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msvc
474
475 .PHONY: msvc6
476 msvc6: $(ROS_BUILDENGINE)
477 $(ECHO_RBUILD)
478 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs6.00 -voversionconfiguration msvc
479
480 .PHONY: msvc7
481 msvc7: $(ROS_BUILDENGINE)
482 $(ECHO_RBUILD)
483 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -voversionconfiguration msvc
484
485 .PHONY: msvc71
486 msvc71: $(ROS_BUILDENGINE)
487 $(ECHO_RBUILD)
488 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -voversionconfiguration msvc
489
490 .PHONY: msvc8
491 msvc8: $(ROS_BUILDENGINE)
492 $(ECHO_RBUILD)
493 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -voversionconfiguration msvc
494
495 .PHONY: msvc9
496 msvc9: $(ROS_BUILDENGINE)
497 $(ECHO_RBUILD)
498 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs9.00 -voversionconfiguration msvc
499
500 .PHONY: msvc6_clean
501 msvc6_clean: $(ROS_BUILDENGINE)
502 $(ECHO_RBUILD)
503 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
504
505 .PHONY: msvc7_clean
506 msvc7_clean: $(ROS_BUILDENGINE)
507 $(ECHO_RBUILD)
508 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
509
510 .PHONY: msvc71_clean
511 msvc71_clean: $(ROS_BUILDENGINE)
512 $(ECHO_RBUILD)
513 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
514
515 .PHONY: msvc8_clean
516 msvc8_clean: $(ROS_BUILDENGINE)
517 $(ECHO_RBUILD)
518 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.00 -voversionconfiguration msvc
519
520 .PHONY: msvc9_clean
521 msvc9_clean: $(ROS_BUILDENGINE)
522 $(ECHO_RBUILD)
523 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs9.00 -voversionconfiguration msvc
524
525 .PHONY: msvc_clean
526 msvc_clean: $(ROS_BUILDENGINE)
527 $(ECHO_RBUILD)
528 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c msvc
529
530 .PHONY: msvc_clean_all
531 msvc_clean_all: $(ROS_BUILDENGINE)
532 $(ECHO_RBUILD)
533 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs6.00 -voversionconfiguration msvc
534 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.00 -voversionconfiguration msvc
535 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs7.10 -voversionconfiguration msvc
536 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -c -vs8.10 -voversionconfiguration msvc
537
538 .PHONY: msvc7_install_debug
539 msvc7_install_debug: $(ROS_BUILDENGINE)
540 $(ECHO_RBUILD)
541 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcdebug -voversionconfiguration msvc
542
543 .PHONY: msvc7_install_release
544 msvc7_install_release: $(ROS_BUILDENGINE)
545 $(ECHO_RBUILD)
546 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcrelease -voversionconfiguration msvc
547
548 .PHONY: msvc7_install_speed
549 msvc7_install_speed: $(ROS_BUILDENGINE)
550 $(ECHO_RBUILD)
551 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.00 -vcspeed -voversionconfiguration msvc
552
553 .PHONY: msvc71_install_debug
554 msvc71_install_debug: $(ROS_BUILDENGINE)
555 $(ECHO_RBUILD)
556 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcdebug -voversionconfiguration msvc
557
558 .PHONY: msvc71_install_release
559 msvc71_install_release: $(ROS_BUILDENGINE)
560 $(ECHO_RBUILD)
561 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcrelease -voversionconfiguration msvc
562
563
564 .PHONY: msvc71_install_speed
565 msvc71_install_speed: $(ROS_BUILDENGINE)
566 $(ECHO_RBUILD)
567 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs7.10 -vcspeed -voversionconfiguration msvc
568
569 .PHONY: msvc8_install_debug
570 msvc8_install_debug: $(ROS_BUILDENGINE)
571 $(ECHO_RBUILD)
572 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcdebug -voversionconfiguration msvc
573
574 .PHONY: msvc8_install_release
575 msvc8_install_release: $(ROS_BUILDENGINE)
576 $(ECHO_RBUILD)
577 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcrelease -voversionconfiguration msvc
578
579 .PHONY: msvc8_install_speed
580 msvc8_install_speed: $(ROS_BUILDENGINE)
581 $(ECHO_RBUILD)
582 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) -vs8.00 -vcspeed -voversionconfiguration msvc
583
584 .PHONY: makefile_auto_clean
585 makefile_auto_clean:
586 -@$(rm) $(ROS_AUTOMAKE) $(PREAUTO) 2>$(NUL)
587
588 .PHONY: clean
589 clean: makefile_auto_clean
590
591 .PHONY: depends
592 depends: $(ROS_BUILDENGINE)
593 $(ECHO_RBUILD)
594 $(Q)$(ROS_BUILDENGINE) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw