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