util/nvramtool: Remove "this file is part of" lines
[coreboot.git] / Makefile
blob55d3db1e889ad0160eff3e487a2310ef420ac8bf
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright (C) 2008 Advanced Micro Devices, Inc.
5 ## Copyright (C) 2008 Uwe Hermann <uwe@hermann-uwe.de>
6 ## Copyright (C) 2009-2010 coresystems GmbH
7 ## Copyright (C) 2011 secunet Security Networks AG
8 ##
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted provided that the following conditions
11 ## are met:
12 ## 1. Redistributions of source code must retain the above copyright
13 ## notice, this list of conditions and the following disclaimer.
14 ## 2. Redistributions in binary form must reproduce the above copyright
15 ## notice, this list of conditions and the following disclaimer in the
16 ## documentation and/or other materials provided with the distribution.
17 ## 3. The name of the author may not be used to endorse or promote products
18 ## derived from this software without specific prior written permission.
20 ## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
21 ## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 ## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
24 ## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 ## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 ## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 ## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 ## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 ## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 ## SUCH DAMAGE.
33 ifneq ($(words $(CURDIR)),1)
34 $(error Error: Path to the main directory cannot contain spaces)
35 endif
36 top := $(CURDIR)
37 src := src
38 srck := $(top)/util/kconfig
39 obj ?= build
40 override obj := $(subst $(top)/,,$(abspath $(obj)))
41 objutil ?= $(obj)/util
42 objk := $(objutil)/kconfig
43 absobj := $(abspath $(obj))
45 VBOOT_HOST_BUILD ?= $(abspath $(objutil)/vboot_lib)
47 COREBOOT_EXPORTS := COREBOOT_EXPORTS
48 COREBOOT_EXPORTS += top src srck obj objutil objk
50 # reproducible builds
51 LANG:=C
52 LC_ALL:=C
53 TZ:=UTC0
54 COREBOOT_EXPORTS += LANG LC_ALL TZ
56 DOTCONFIG ?= $(top)/.config
57 KCONFIG_CONFIG = $(DOTCONFIG)
58 KCONFIG_AUTOADS := $(obj)/cb-config.ads
59 KCONFIG_AUTOHEADER := $(obj)/config.h
60 KCONFIG_AUTOCONFIG := $(obj)/auto.conf
61 KCONFIG_DEPENDENCIES := $(obj)/auto.conf.cmd
62 KCONFIG_SPLITCONFIG := $(obj)/config
63 KCONFIG_TRISTATE := $(obj)/tristate.conf
64 KCONFIG_NEGATIVES := 1
65 KCONFIG_STRICT := 1
66 KCONFIG_PACKAGE := CB.Config
68 COREBOOT_EXPORTS += KCONFIG_CONFIG KCONFIG_AUTOHEADER KCONFIG_AUTOCONFIG
69 COREBOOT_EXPORTS += KCONFIG_DEPENDENCIES KCONFIG_SPLITCONFIG KCONFIG_TRISTATE
70 COREBOOT_EXPORTS += KCONFIG_NEGATIVES KCONFIG_STRICT
71 COREBOOT_EXPORTS += KCONFIG_AUTOADS KCONFIG_PACKAGE
73 # directory containing the toplevel Makefile.inc
74 TOPLEVEL := .
76 CONFIG_SHELL := sh
77 KBUILD_DEFCONFIG := configs/defconfig
78 UNAME_RELEASE := $(shell uname -r)
79 HAVE_DOTCONFIG := $(wildcard $(DOTCONFIG))
80 MAKEFLAGS += -rR --no-print-directory
82 # Make is silent per default, but 'make V=1' will show all compiler calls.
83 Q:=@
84 ifneq ($(V),1)
85 ifneq ($(Q),)
86 .SILENT:
87 MAKEFLAGS += -s
88 endif
89 endif
91 # Disable implicit/built-in rules to make Makefile errors fail fast.
92 .SUFFIXES:
94 HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc)
95 HOSTCXX = g++
96 HOSTCFLAGS := -g
97 HOSTCXXFLAGS := -g
99 PREPROCESS_ONLY := -E -P -x assembler-with-cpp -undef -I .
101 DOXYGEN := doxygen
102 DOXYGEN_OUTPUT_DIR := doxygen
104 export $(COREBOOT_EXPORTS)
106 all: real-all
108 help_coreboot help::
109 @echo '*** coreboot platform targets ***'
110 @echo ' Use "make [target] V=1" for extra build debug information'
111 @echo ' all - Build coreboot'
112 @echo ' clean - Remove coreboot build artifacts'
113 @echo ' distclean - Remove build artifacts and config files'
114 @echo ' doxygen - Build doxygen documentation for coreboot'
115 @echo ' doxyplatform - Build doxygen documentation for the current platform'
116 @echo ' filelist - Show files used in current build'
117 @echo ' printall - print makefile info for debugging'
118 @echo ' gitconfig - set up git to submit patches to coreboot'
119 @echo ' ctags / ctags-project - make ctags file for all of coreboot or current board'
120 @echo ' cscope / cscope-project - make cscope.out file for coreboot or current board'
121 @echo
123 # This include must come _before_ the pattern rules below!
124 # Order _does_ matter for pattern rules.
125 include $(srck)/Makefile.inc
127 # Three cases where we don't need fully populated $(obj) lists:
128 # 1. when no .config exists
129 # 2. when make config (in any flavour) is run
130 # 3. when make distclean is run
131 # Don't waste time on reading all Makefile.incs in these cases
132 ifeq ($(strip $(HAVE_DOTCONFIG)),)
133 NOCOMPILE:=1
134 endif
135 ifneq ($(MAKECMDGOALS),)
136 ifneq ($(filter %config %clean cross% clang iasl gnumake lint% help% what-jenkins-does,$(MAKECMDGOALS)),)
137 NOCOMPILE:=1
138 endif
139 ifneq ($(filter %clean lint% help% what-jenkins-does,$(MAKECMDGOALS)),)
140 NOMKDIR:=1
141 endif
142 endif
144 ifneq ($(filter %-test %-tests,$(MAKECMDGOALS)),)
145 ifneq ($(filter-out %-test %-tests, $(MAKECMDGOALS)),)
146 $(error Cannot mix unit-tests targets with other targets)
147 endif
148 UNIT_TEST:=1
149 NOCOMPILE:=
150 endif
152 .xcompile: util/xcompile/xcompile
153 rm -f $@
154 $< $(XGCCPATH) > $@.tmp
155 \mv -f $@.tmp $@ 2> /dev/null
156 rm -f $@.tmp
158 ifeq ($(NOCOMPILE),1)
159 include $(TOPLEVEL)/Makefile.inc
160 include $(TOPLEVEL)/payloads/Makefile.inc
161 include $(TOPLEVEL)/util/testing/Makefile.inc
162 -include $(TOPLEVEL)/site-local/Makefile.inc
163 real-all:
164 @echo "Error: Expected config file ($(DOTCONFIG)) not present." >&2
165 @echo "Please specify a config file or run 'make menuconfig' to" >&2
166 @echo "generate a new config file." >&2
167 @exit 1
168 else
170 ifneq ($(UNIT_TEST),1)
171 include $(DOTCONFIG)
172 endif
174 # in addition to the dependency below, create the file if it doesn't exist
175 # to silence stupid warnings about a file that would be generated anyway.
176 $(if $(wildcard .xcompile)$(NOCOMPILE),,$(eval $(shell util/xcompile/xcompile $(XGCCPATH) > .xcompile || rm -f .xcompile)))
178 -include .xcompile
180 ifneq ($(XCOMPILE_COMPLETE),1)
181 $(shell rm -f .xcompile)
182 $(error .xcompile deleted because it's invalid. \
183 Restarting the build should fix that, or explain the problem)
184 endif
186 ifneq ($(CONFIG_MMX),y)
187 CFLAGS_x86_32 += -mno-mmx
188 endif
190 ifneq ($(UNIT_TEST),1)
191 include toolchain.inc
192 endif
194 strip_quotes = $(strip $(subst ",,$(subst \",,$(1))))
195 # fix makefile syntax highlighting after strip macro \" "))
197 # The primary target needs to be here before we include the
198 # other files
200 real-all: real-target
202 # must come rather early
203 .SECONDEXPANSION:
204 .DELETE_ON_ERROR:
206 $(KCONFIG_AUTOHEADER): $(KCONFIG_CONFIG) $(objutil)/kconfig/conf
207 +$(MAKE) oldconfig
209 $(KCONFIG_AUTOCONFIG): $(KCONFIG_AUTOHEADER)
210 true
212 $(KCONFIG_AUTOADS): $(KCONFIG_CONFIG) $(KCONFIG_AUTOHEADER) $(objutil)/kconfig/toada
213 $(objutil)/kconfig/toada CB.Config <$< >$@
215 $(obj)/%/$(notdir $(KCONFIG_AUTOADS)): $(KCONFIG_AUTOADS)
216 cp $< $@
218 # Add a new class of source/object files to the build system
219 add-class= \
220 $(eval $(1)-srcs:=) \
221 $(eval $(1)-objs:=) \
222 $(eval classes+=$(1))
224 # Special classes are managed types with special behaviour
225 # On parse time, for each entry in variable $(1)-y
226 # a handler $(1)-handler is executed with the arguments:
227 # * $(1): directory the parser is in
228 # * $(2): current entry
229 add-special-class= \
230 $(eval $(1):=) \
231 $(eval special-classes+=$(1))
233 # Converts one or more source file paths to their corresponding build/ paths.
234 # Only .ads, adb, .c and .S get converted to .o, other files (like .ld) keep
235 # their name.
236 # $1 stage name
237 # $2 file path (list)
238 src-to-obj=\
239 $(patsubst $(obj)/%,$(obj)/$(1)/%,\
240 $(patsubst $(obj)/$(1)/%,$(obj)/%,\
241 $(patsubst 3rdparty/%,$(obj)/%,\
242 $(patsubst src/%,$(obj)/%,\
243 $(patsubst %.ads,%.o,\
244 $(patsubst %.adb,%.o,\
245 $(patsubst %.c,%.o,\
246 $(patsubst %.S,%.o,\
247 $(subst .$(1),,$(2))))))))))
249 # Converts one or more source file paths to the corresponding build/ paths
250 # of their Ada library information (.ali) files.
251 # $1 stage name
252 # $2 file path (list)
253 src-to-ali=\
254 $(patsubst $(obj)/%,$(obj)/$(1)/%,\
255 $(patsubst $(obj)/$(1)/%,$(obj)/%,\
256 $(patsubst 3rdparty/%,$(obj)/%,\
257 $(patsubst src/%,$(obj)/%,\
258 $(patsubst %.ads,%.ali,\
259 $(patsubst %.adb,%.ali,\
260 $(subst .$(1),,\
261 $(filter %.ads %.adb,$(2)))))))))
263 # Clean -y variables, include Makefile.inc
264 # Add paths to files in X-y to X-srcs
265 # Add subdirs-y to subdirs
266 includemakefiles= \
267 $(foreach class,classes subdirs $(classes) $(special-classes), $(eval $(class)-y:=)) \
268 $(eval -include $(1)) \
269 $(foreach class,$(classes-y), $(call add-class,$(class))) \
270 $(foreach special,$(special-classes), \
271 $(foreach item,$($(special)-y), $(call $(special)-handler,$(dir $(1)),$(item)))) \
272 $(foreach class,$(classes), \
273 $(eval $(class)-srcs+= \
274 $$(subst $(absobj)/,$(obj)/, \
275 $$(subst $(top)/,, \
276 $$(abspath $$(subst $(dir $(1))/,/,$$(addprefix $(dir $(1)),$$($(class)-y)))))))) \
277 $(eval subdirs+=$$(subst $(CURDIR)/,,$$(wildcard $$(abspath $$(addprefix $(dir $(1)),$$(subdirs-y))))))
279 # For each path in $(subdirs) call includemakefiles
280 # Repeat until subdirs is empty
281 evaluate_subdirs= \
282 $(eval cursubdirs:=$(subdirs)) \
283 $(eval subdirs:=) \
284 $(foreach dir,$(cursubdirs), \
285 $(eval $(call includemakefiles,$(dir)/Makefile.inc))) \
286 $(if $(subdirs),$(eval $(call evaluate_subdirs)))
288 # collect all object files eligible for building
289 subdirs:=$(TOPLEVEL)
290 postinclude-hooks :=
292 # Don't iterate through Makefile.incs under src/ when building tests
293 ifneq ($(UNIT_TEST),1)
294 $(eval $(call evaluate_subdirs))
295 else
296 include $(TOPLEVEL)/tests/Makefile.inc
297 endif
299 ifeq ($(FAILBUILD),1)
300 $(error cannot continue build)
301 endif
303 # Run hooks registered by subdirectories that need to be evaluated after all files have been parsed
304 $(eval $(postinclude-hooks))
306 # Eliminate duplicate mentions of source files in a class
307 $(foreach class,$(classes),$(eval $(class)-srcs:=$(sort $($(class)-srcs))))
309 # Build Kconfig .ads if necessary
310 ifeq ($(CONFIG_RAMSTAGE_ADA),y)
311 ramstage-srcs += $(obj)/ramstage/$(notdir $(KCONFIG_AUTOADS))
312 endif
314 # To track dependencies, we need all Ada specification (.ads) files in
315 # *-srcs. Extract / filter all specification files that have a matching
316 # body (.adb) file here (specifications without a body are valid sources
317 # in Ada).
318 $(foreach class,$(classes),$(eval $(class)-extra-specs := \
319 $(filter \
320 $(addprefix %/,$(patsubst %.adb,%.ads,$(notdir $(filter %.adb,$($(class)-srcs))))), \
321 $(filter %.ads,$($(class)-srcs)))))
322 $(foreach class,$(classes),$(eval $(class)-srcs := \
323 $(filter-out $($(class)-extra-specs),$($(class)-srcs))))
325 $(foreach class,$(classes),$(eval $(class)-objs:=$(call src-to-obj,$(class),$($(class)-srcs))))
326 $(foreach class,$(classes),$(eval $(class)-alis:=$(call src-to-ali,$(class),$($(class)-srcs))))
328 # For Ada includes
329 $(foreach class,$(classes),$(eval $(class)-ada-dirs:=$(sort $(dir $(filter %.ads %.adb,$($(class)-srcs)) $($(class)-extra-specs)))))
331 # Save all objs before processing them (for dependency inclusion)
332 originalobjs:=$(foreach var, $(addsuffix -objs,$(classes)), $($(var)))
334 # Call post-processors if they're defined
335 $(foreach class,$(classes),\
336 $(if $(value $(class)-postprocess),$(eval $(call $(class)-postprocess,$($(class)-objs)))))
338 allsrcs:=$(foreach var, $(addsuffix -srcs,$(classes)), $($(var)))
339 allobjs:=$(foreach var, $(addsuffix -objs,$(classes)), $($(var)))
340 alldirs:=$(sort $(abspath $(dir $(allobjs))))
342 # Reads dependencies from an Ada library information (.ali) file
343 # Only basenames (with suffix) are preserved so we have to look the
344 # paths up in $($(stage)-srcs).
345 # $1 stage name
346 # $2 ali file
347 create_ada_deps=$$(if $(2),\
348 gnat.adc \
349 $$(filter \
350 $$(addprefix %/,$$(shell sed -ne's/^D \([^\t]\+\).*$$$$/\1/p' $(2) 2>/dev/null)), \
351 $$($(1)-srcs) $$($(1)-extra-specs)))
353 # macro to define template macros that are used by use_template macro
354 define create_cc_template
355 # $1 obj class
356 # $2 source suffix (c, S, ld, ...)
357 # $3 additional compiler flags
358 # $4 additional dependencies
359 ifn$(EMPTY)def $(1)-objs_$(2)_template
360 de$(EMPTY)fine $(1)-objs_$(2)_template
361 ifn$(EMPTY)eq ($(filter ads adb,$(2)),)
362 $$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $$(call create_ada_deps,$1,$$(call src-to-ali,$1,$$(1).$2)) $(4)
363 @printf " GCC $$$$(subst $$$$(obj)/,,$$$$(@))\n"
364 $(GCC_$(1)) \
365 $$$$(ADAFLAGS_$(1)) $$$$(addprefix -I,$$$$($(1)-ada-dirs)) \
366 $(3) -c -o $$$$@ $$$$<
367 el$(EMPTY)se
368 $$(call src-to-obj,$1,$$(1).$2): $$(1).$2 $(KCONFIG_AUTOHEADER) $(4)
369 @printf " CC $$$$(subst $$$$(obj)/,,$$$$(@))\n"
370 $(CC_$(1)) \
371 -MMD $$$$(CPPFLAGS_$(1)) $$$$(CFLAGS_$(1)) -MT $$$$(@) \
372 $(3) -c -o $$$$@ $$$$<
373 end$(EMPTY)if
374 en$(EMPTY)def
375 end$(EMPTY)if
376 endef
378 filetypes-of-class=$(subst .,,$(sort $(suffix $($(1)-srcs))))
379 $(foreach class,$(classes), \
380 $(foreach type,$(call filetypes-of-class,$(class)), \
381 $(eval $(class)-$(type)-ccopts += $(generic-$(type)-ccopts) $($(class)-generic-ccopts)) \
382 $(if $(generic-objs_$(type)_template_gen),$(eval $(call generic-objs_$(type)_template_gen,$(class))),\
383 $(eval $(call create_cc_template,$(class),$(type),$($(class)-$(type)-ccopts),$($(class)-$(type)-deps))))))
385 foreach-src=$(foreach file,$($(1)-srcs),$(eval $(call $(1)-objs_$(subst .,,$(suffix $(file)))_template,$(basename $(file)))))
386 $(eval $(foreach class,$(classes),$(call foreach-src,$(class))))
388 # To supported complex package initializations, we need to call the
389 # emitted code explicitly. gnatbind gathers all the calls for us
390 # and exports them as a procedure $(stage)_adainit(). Every stage that
391 # uses Ada code has to call it!
392 define gnatbind_template
393 # $1 class
394 $$(obj)/$(1)/b__$(1).adb: $$$$(filter-out $$(obj)/$(1)/b__$(1).ali,$$$$($(1)-alis))
395 @printf " BIND $$(subst $$(obj)/,,$$@)\n"
396 # We have to give gnatbind a simple filename (without leading
397 # path components) so just cd there.
398 cd $$(dir $$@) && \
399 $$(GNATBIND_$(1)) -a -n \
400 --RTS=$$(absobj)/libgnat-$$(ARCH-$(1)-y)/ \
401 -L$(1)_ada -o $$(notdir $$@) \
402 $$(subst $$(dir $$@),,$$^)
403 $$(obj)/$(1)/b__$(1).o: $$(obj)/$(1)/b__$(1).adb
404 @printf " GCC $$(subst $$(obj)/,,$$@)\n"
405 $(GCC_$(1)) $$(ADAFLAGS_$(1)) -c -o $$@ $$<
406 $(1)-objs += $$(obj)/$(1)/b__$(1).o
407 $($(1)-alis): %.ali: %.o ;
408 endef
410 $(eval $(foreach class,$(filter-out libgnat-%,$(classes)), \
411 $(if $($(class)-alis),$(call gnatbind_template,$(class)))))
413 DEPENDENCIES += $(addsuffix .d,$(basename $(allobjs)))
414 -include $(DEPENDENCIES)
416 printall:
417 @$(foreach class,$(classes), echo $(class)-objs: $($(class)-objs) | tr ' ' '\n'; echo; )
418 @echo alldirs: $(alldirs) | tr ' ' '\n'; echo
419 @echo allsrcs: $(allsrcs) | tr ' ' '\n'; echo
420 @echo DEPENDENCIES: $(DEPENDENCIES) | tr ' ' '\n'; echo
421 @$(foreach class,$(special-classes),echo $(class):'$($(class))' | tr ' ' '\n'; echo; )
422 endif
424 ifndef NOMKDIR
425 $(shell mkdir -p $(KCONFIG_SPLITCONFIG) $(objk)/lxdialog $(additional-dirs) $(alldirs))
426 endif
428 $(obj)/project_filelist.txt:
429 if [ -z "$(wildcard $(obj)/coreboot.rom)" ]; then \
430 echo "*** Error: Project must be built before generating file list ***"; \
431 exit 1; \
433 find $(obj) -path "$(obj)/util" -prune -o -name "*.d" -exec cat {} \; | \
434 sed "s|$(top)/||" | sed 's/[:\\]/ /g' | sed 's/ /\n/g' | sort | uniq | \
435 grep -v '\.o$$' > $(obj)/project_filelist.txt
437 filelist: $(obj)/project_filelist.txt
438 printf "\nFiles used in build:\n"
439 cat $(obj)/project_filelist.txt
441 #works with either exuberant ctags or ctags.emacs
442 ctags-project: clean-ctags $(obj)/project_filelist.txt
443 cat $(obj)/project_filelist.txt | \
444 xargs ctags -o tags
446 cscope-project: clean-cscope $(obj)/project_filelist.txt
447 cat $(obj)/project_filelist.txt | xargs cscope -b
449 cscope:
450 cscope -bR
452 doxy: doxygen
453 doxygen:
454 $(DOXYGEN) Documentation/Doxyfile.coreboot
456 doxygen_simple:
457 $(DOXYGEN) Documentation/Doxyfile.coreboot_simple
459 doxyplatform doxygen_platform: $(obj)/project_filelist.txt
460 echo
461 echo "Building doxygen documentation for $(CONFIG_MAINBOARD_PART_NUMBER)"
462 export DOXYGEN_OUTPUT_DIR="$(DOXYGEN_OUTPUT_DIR)/$(CONFIG_MAINBOARD_VENDOR)/$(CONFIG_MAINBOARD_PART_NUMBER)"; \
463 mkdir -p "$$DOXYGEN_OUTPUT_DIR"; \
464 export DOXYFILES="$$(cat $(obj)/project_filelist.txt | grep -v '\.ld$$' | sed 's/\.aml/\.dsl/' | tr '\n' ' ')"; \
465 export DOXYGEN_PLATFORM="$(CONFIG_MAINBOARD_DIR) ($(CONFIG_MAINBOARD_PART_NUMBER)) version $(KERNELVERSION)"; \
466 $(DOXYGEN) Documentation/doxygen/Doxyfile.coreboot_platform
468 doxyclean: doxygen-clean
469 doxygen-clean:
470 rm -rf $(DOXYGEN_OUTPUT_DIR)
472 clean-for-update: doxygen-clean clean-for-update-target
473 rm -rf $(obj) .xcompile
475 clean: clean-for-update clean-target clean-utils
476 rm -f .ccwrap
478 clean-cscope:
479 rm -f cscope.out
481 clean-ctags:
482 rm -f tags
484 clean-utils:
485 $(foreach tool, $(TOOLLIST), \
486 $(MAKE) -C util/$(tool) clean MFLAGS= MAKEFLAGS= ;)
488 distclean-utils:
489 $(foreach tool, $(TOOLLIST), \
490 $(MAKE) -C util/$(tool) distclean MFLAGS= MAKEFLAGS= ; \
491 rm -f /util/$(tool)/junit.xml;)
493 distclean: clean clean-ctags clean-cscope distclean-payloads distclean-utils
494 rm -f .config .config.old ..config.tmp* .kconfig.d .tmpconfig* .ccwrap .xcompile
495 rm -rf coreboot-builds coreboot-builds-chromeos
496 rm -f abuild*.xml junit.xml* util/lint/junit.xml
498 .PHONY: $(PHONY) clean clean-for-update clean-cscope cscope distclean doxygen doxy doxygen_simple
499 .PHONY: ctags-project cscope-project clean-ctags