Changes in Makefile [406d514:4e9aaf5] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r406d514 r4e9aaf5  
    2828
    2929CSCOPE = cscope
    30 CHECK = tools/check.sh
    3130CONFIG = tools/config.py
    3231AUTOTOOL = tools/autotool.py
     
    4241CONFIG_HEADER = config.h
    4342
    44 .PHONY: all precheck cscope autotool config_auto config_default config distclean clean check releasefile release
     43.PHONY: all precheck cscope autotool config_default config distclean clean
    4544
    4645all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER)
     
    5655        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
    5756
    58 # Pre-integration build check
    59 check: $(CHECK)
    60 ifdef JOBS
    61         $(CHECK) -j $(JOBS)
    62 else
    63         $(CHECK)
    64 endif
    65 
    66 # Autotool (detects compiler features)
    67 
    6857$(COMMON_MAKEFILE): autotool
    6958$(COMMON_HEADER): autotool
     
    7362        -[ -f $(COMMON_HEADER_PREV) ] && diff -q $(COMMON_HEADER_PREV) $(COMMON_HEADER) && mv -f $(COMMON_HEADER_PREV) $(COMMON_HEADER)
    7463
    75 # Build-time configuration
    76 
    7764$(CONFIG_MAKEFILE): config_default
    7865$(CONFIG_HEADER): config_default
    7966
    8067config_default: $(CONFIG_RULES)
    81 ifeq ($(HANDS_OFF),y)
    82         $(CONFIG) $< hands-off $(PROFILE)
    83 else
    84         $(CONFIG) $< default $(PROFILE)
    85 endif
     68        $(CONFIG) $< default
    8669
    8770config: $(CONFIG_RULES)
    8871        $(CONFIG) $<
    8972
    90 # Release files
    91 
    92 releasefile: all
    93         $(MAKE) -C release releasefile
    94 
    95 release:
    96         $(MAKE) -C release release
    97 
    98 # Cleaning
    99 
    10073distclean: 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
    10275
    10376clean:
Note: See TracChangeset for help on using the changeset viewer.