gonzui


Format: Advanced Search

tkernel_2/monitor/driver/sio/build/tef_em1d/Makefilebare sourcepermlink (0.00 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 2012/11/07.
   11: #     Modified by T-Engine Forum at 2013/02/20.
   12: #     Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   13: #
   14: # ----------------------------------------------------------------------
   15: #
   16: 
   17: #       T-Monitor : sio (em1d)
   18: 
   19: MACHINE = em1d
   20: TETYPE = tef
   21: 
   22: SRC_SYSDEP = ns16550.c
   23: 
   24: # ----------------------------------------------------------------------------
   25: 
   26: DEPS = Dependencies
   27: DEPENDENCIES_OUTPUT := $(DEPS)
   28: 
   29: include $(BD)/etc/makerules
   30: 
   31: TMONITOR_INSTALLDIR = $(BD)/monitor/bin/$(TETYPE)_$(MACHINE)
   32: 
   33: HEADER = $(BD)/include $(BD)/monitor/include
   34: 
   35: # ----------------------------------------------------------------------------
   36: 
   37: TARGET = sio
   38: 
   39: S = ../../src
   40: 
   41: VPATH = $(S)
   42: HEADER += $(S)
   43: 
   44: SRC =
   45: SRC += $(SRC_SYSDEP)
   46: 
   47: OBJ = $(addsuffix .o, $(basename $(SRC)))
   48: 
   49: CFLAGS += $(CFLAGS_WARNING)
   50: 
   51: # ----------------------------------------------------------------------------
   52: 
   53: .PHONY: all clean install
   54: 
   55: ALL = $(TARGET).o
   56: 
   57: all: $(ALL)
   58: 
   59: $(TARGET).o: $(OBJ)
   60:         $(LINK_R.o) $^ $(OUTPUT_OPTION)
   61: 
   62: clean:
   63:         $(RM) $(OBJ) $(ALL) $(DEPS)
   64: 
   65: install: $(addprefix $(TMONITOR_INSTALLDIR)/, $(ALL))
   66: 
   67: $(TMONITOR_INSTALLDIR)/%: %
   68:         $(BD)/etc/backup_copy -t -d !OLD $< $(TMONITOR_INSTALLDIR)
   69: 
   70: ifdef DEPENDENCIES_OUTPUT
   71:   $(DEPS): ; touch $(DEPS)
   72: else
   73:   $(DEPS): $(SRC) ; $(MAKEDEPS) $@ $?
   74: endif
   75: -include $(DEPS)