- Timestamp:
- 2010-03-21T09:25:29Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 19f857a
- Parents:
- facebd56 (diff), 4e9aaf5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rfacebd56 re2b73d4f 27 27 # 28 28 29 ## Include configuration30 #31 32 29 CSCOPE = cscope 33 30 CONFIG = tools/config.py 31 AUTOTOOL = tools/autotool.py 32 SANDBOX = autotool 34 33 35 .PHONY: all config config_default distclean clean cscope precheck 34 CONFIG_RULES = HelenOS.config 36 35 37 all: Makefile.config config.h config.defs 36 COMMON_MAKEFILE = Makefile.common 37 COMMON_HEADER = common.h 38 COMMON_HEADER_PREV = $(COMMON_HEADER).prev 39 40 CONFIG_MAKEFILE = Makefile.config 41 CONFIG_HEADER = config.h 42 43 .PHONY: all precheck cscope autotool config_default config distclean clean 44 45 all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) 46 cp -a $(COMMON_HEADER) $(COMMON_HEADER_PREV) 38 47 $(MAKE) -C kernel PRECHECK=$(PRECHECK) 39 48 $(MAKE) -C uspace PRECHECK=$(PRECHECK) … … 46 55 find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out 47 56 48 Makefile.config: config_default 57 $(COMMON_MAKEFILE): autotool 58 $(COMMON_HEADER): autotool 49 59 50 config.h: config_default 60 autotool: $(CONFIG_MAKEFILE) 61 $(AUTOTOOL) 62 -[ -f $(COMMON_HEADER_PREV) ] && diff -q $(COMMON_HEADER_PREV) $(COMMON_HEADER) && mv -f $(COMMON_HEADER_PREV) $(COMMON_HEADER) 51 63 52 config.defs: config_default 64 $(CONFIG_MAKEFILE): config_default 65 $(CONFIG_HEADER): config_default 53 66 54 config_default: HelenOS.config55 $(CONFIG) HelenOS.configdefault67 config_default: $(CONFIG_RULES) 68 $(CONFIG) $< default 56 69 57 config: HelenOS.config58 $(CONFIG) HelenOS.config70 config: $(CONFIG_RULES) 71 $(CONFIG) $< 59 72 60 73 distclean: clean 61 rm -f $(CSCOPE).out Makefile.config config.h config.defstools/*.pyc tools/checkers/*.pyc74 rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(COMMON_HEADER) $(COMMON_HEADER_PREV) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc 62 75 63 76 clean: 77 rm -fr $(SANDBOX) 64 78 $(MAKE) -C kernel clean 65 79 $(MAKE) -C uspace clean
Note:
See TracChangeset
for help on using the changeset viewer.