Changeset db4d6de in mainline for Makefile


Ignore:
Timestamp:
2009-11-28T16:30:43Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c4702804
Parents:
ba8f8cb (diff), 67392fa (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rba8f8cb rdb4d6de  
    3030#
    3131
    32 .PHONY: all config distclean clean cscope
     32CSCOPE = cscope
     33STANSE = stanse
     34
     35.PHONY: all config config_default distclean clean cscope stanse
    3336
    3437all: Makefile.config config.h config.defs
     
    3740        $(MAKE) -C boot
    3841
    39 Makefile.config config.h config.defs: HelenOS.config
     42stanse: Makefile.config config.h config.defs
     43        $(MAKE) -C kernel clean
     44        $(MAKE) -C kernel EXTRA_TOOL=stanse
     45        $(STANSE) --checker ReachabilityChecker --checker ThreadChecker:contrib/$(STANSE)/ThreadChecker.xml --jobfile kernel/kernel.job
     46
     47cscope:
     48        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
     49
     50Makefile.config: config_default
     51
     52config.h: config_default
     53
     54config.defs: config_default
     55
     56config_default: HelenOS.config
    4057        tools/config.py HelenOS.config default
    4158
    42 config:
     59config: HelenOS.config
    4360        tools/config.py HelenOS.config
    4461
    4562distclean: clean
    46         rm -f Makefile.config config.h config.defs tools/*.pyc
     63        rm -f $(CSCOPE).out Makefile.config config.h config.defs tools/*.pyc
    4764
    4865clean:
    49         -$(MAKE) -C kernel clean
    50         -$(MAKE) -C uspace clean
    51         -$(MAKE) -C boot clean
    52 
    53 cscope:
    54         find kernel boot uspace -regex '^.*\.[chsS]$$' -print > srclist
    55         rm -f cscope.out
    56         cscope -bi srclist
     66        $(MAKE) -C kernel clean
     67        $(MAKE) -C uspace clean
     68        $(MAKE) -C boot clean
Note: See TracChangeset for help on using the changeset viewer.