Changes in Makefile [406d514:4e9aaf5] in mainline
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r406d514 r4e9aaf5 28 28 29 29 CSCOPE = cscope 30 CHECK = tools/check.sh31 30 CONFIG = tools/config.py 32 31 AUTOTOOL = tools/autotool.py … … 42 41 CONFIG_HEADER = config.h 43 42 44 .PHONY: all precheck cscope autotool config_ auto config_default config distclean clean check releasefile release43 .PHONY: all precheck cscope autotool config_default config distclean clean 45 44 46 45 all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) … … 56 55 find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out 57 56 58 # Pre-integration build check59 check: $(CHECK)60 ifdef JOBS61 $(CHECK) -j $(JOBS)62 else63 $(CHECK)64 endif65 66 # Autotool (detects compiler features)67 68 57 $(COMMON_MAKEFILE): autotool 69 58 $(COMMON_HEADER): autotool … … 73 62 -[ -f $(COMMON_HEADER_PREV) ] && diff -q $(COMMON_HEADER_PREV) $(COMMON_HEADER) && mv -f $(COMMON_HEADER_PREV) $(COMMON_HEADER) 74 63 75 # Build-time configuration76 77 64 $(CONFIG_MAKEFILE): config_default 78 65 $(CONFIG_HEADER): config_default 79 66 80 67 config_default: $(CONFIG_RULES) 81 ifeq ($(HANDS_OFF),y) 82 $(CONFIG) $< hands-off $(PROFILE) 83 else 84 $(CONFIG) $< default $(PROFILE) 85 endif 68 $(CONFIG) $< default 86 69 87 70 config: $(CONFIG_RULES) 88 71 $(CONFIG) $< 89 72 90 # Release files91 92 releasefile: all93 $(MAKE) -C release releasefile94 95 release:96 $(MAKE) -C release release97 98 # Cleaning99 100 73 distclean: clean 101 rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(COMMON_HEADER) $(COMMON_HEADER_PREV) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc release/HelenOS-*74 rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(COMMON_HEADER) $(COMMON_HEADER_PREV) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc 102 75 103 76 clean:
Note:
See TracChangeset
for help on using the changeset viewer.