gonzui


Format: Advanced Search

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