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