gonzui


Format: Advanced Search

tkernel_2/lib/build/Makefile.commonbare sourcepermlink (0.02 seconds)

Search this content:

    1: #
    2: # ----------------------------------------------------------------------
    3: #     T-Kernel 2.0 Software Package
    4: #
    5: #     Copyright 2011 by Ken Sakamura.
    6: #     This software is distributed under the latest version of T-License 2.x.
    7: # ----------------------------------------------------------------------
    8: #
    9: #     Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
   10: #     Modified by T-Engine Forum at 2013/04/30.
   11: #     Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   12: #
   13: # ----------------------------------------------------------------------
   14: #
   15: 
   16: #
   17: #       Makefile for gmake
   18: #       library main (common description)
   19: #
   20: 
   21: # standard libraries
   22: LIB_TARGET = libtk libtm crt/crt0 crt/crttk
   23: LIB_TARGET += libsvc libstr libsys
   24: 
   25: # additional libraries
   26: LIB_TARGET += libdrvif
   27: 
   28: # ----------------------------------------------------------------------------
   29: .PHONY: all clean source clean_source clean_all
   30: 
   31: all: $(LIB_TARGET)
   32: 
   33: $(LIB_TARGET):
   34:         cd ../../$@/build/$(TETYPE)_$(MACHINE) ; \
   35:         $(MAKE) ; \
   36:         $(MAKE) install
   37: 
   38: clean:
   39:         @( cd ../.. ; \
   40:         for dir in $(LIB_TARGET); do \
   41:                 ( cd $$dir/build/$(TETYPE)_$(MACHINE) ; $(MAKE) clean clean_install ) ; \
   42:         done )
   43: 
   44: source:
   45:         cd ../../libsvc/build/$(TETYPE)_$(MACHINE) ; \
   46:         $(MAKE) source
   47: 
   48: clean_source:
   49:         cd ../../libsvc/build/$(TETYPE)_$(MACHINE) ; \
   50:         $(MAKE) clean_source
   51: 
   52: clean_all: clean clean_source