blob: a1dd7f808d33f85c8376a1f50e9620a8bcef7f26 [file] [log] [blame]
jerrymf1579332013-02-07 01:56:28 +00001# The file ".wrmakefile" is the template used by the Wind River Workbench to
2# generate the makefiles of this project. Add user-specific build targets and
3# make rules only(!) in this project's ".wrmakefile" file. These will then be
4# automatically dumped into the makefiles.
5
6WIND_HOME := $(subst \,/,$(WIND_HOME))
7WIND_BASE := $(subst \,/,$(WIND_BASE))
8WIND_USR := $(subst \,/,$(WIND_USR))
9
10all : pre_build main_all post_build
11
12_clean ::
13 @echo "make: removing targets and objects of `pwd`"
14
15%IDE_GENERATED%
16
17-include $(PRJ_ROOT_DIR)/*.makefile
18
19-include *.makefile
20
21main_all : external_build $(PROJECT_TARGETS)
22 @echo "make: built targets of `pwd`"
23
24# entry point for extending the build
25external_build ::
26 @echo ""
27
28# main entry point for pre processing prior to the build
29pre_build :: $(PRE_BUILD_STEP) generate_sources
30 @echo ""
31
32# entry point for generating sources prior to the build
33generate_sources ::
34 @echo ""
35
36# main entry point for post processing after the build
37post_build :: $(POST_BUILD_STEP) deploy_output
38 @echo ""
39
40# entry point for deploying output after the build
41deploy_output ::
42 @echo ""
43
44clean :: external_clean $(CLEAN_STEP) _clean
45
46# entry point for extending the build clean
47external_clean ::
48 @echo ""