gonzui


Format: Advanced Search

tkernel_2/kernel/sysmain/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 2014/07/31.
   12: #     Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   13: #
   14: # ----------------------------------------------------------------------
   15: #
   16: 
   17: #
   18: #       Makefile for gmake
   19: #       sysmain (system-dependent description)
   20: #
   21: 
   22: # T-Engine type
   23: MACHINE = em1d
   24: TETYPE  = tef
   25: 
   26: # ----------------------------------------------------------------------------
   27: # default rules
   28: include ../../../../etc/makerules
   29: 
   30: # ----------------------------------------------------------------------------
   31: # user source files (system-dependent)
   32: SRC     = usermain.c
   33: 
   34: # include debug sample code in usermain.c
   35: CFLAGS += -DDEBUG_SAMPLE
   36: 
   37: # user-level libraries
   38: LDUSRLIBS =
   39: 
   40: # ----------------------------------------------------------------------------
   41: # device driver definitions
   42: DRV_CONSOLE = yes
   43: DRV_CLOCK   = yes
   44: DRV_SYSDISK = yes
   45: DRV_SCREEN  = yes
   46: DRV_KBPD    = yes
   47: DRV_LOWKBPD = yes
   48: 
   49: OBJ_DRIVER = ../../../../driver/$(TETYPE)_$(MACHINE)/build
   50: ifdef DRV_CONSOLE
   51:   I_OBJ += $(OBJ_DRIVER)/console.o
   52:   CFLAGS += -DDRV_CONSOLE
   53:   LDUSRLIBS += -lconsolesvc
   54: endif
   55: ifdef DRV_CLOCK
   56:   I_OBJ += $(OBJ_DRIVER)/clkdrv.o
   57:   CFLAGS += -DDRV_CLOCK
   58:   LDUSRLIBS += -lem1diic
   59: endif
   60: ifdef DRV_SYSDISK
   61:   I_OBJ += $(OBJ_DRIVER)/sysdsk.o
   62:   CFLAGS += -DDRV_SYSDISK
   63: endif
   64: ifdef   DRV_SCREEN
   65:   I_OBJ += $(OBJ_DRIVER)/screen.o
   66:   CFLAGS += -DDRV_SCREEN
   67: endif
   68: ifdef   DRV_KBPD
   69:   I_OBJ += $(OBJ_DRIVER)/kbpd.o
   70:   CFLAGS += -DDRV_KBPD
   71: endif
   72: ifdef   DRV_LOWKBPD
   73:   I_OBJ += $(OBJ_DRIVER)/lowkbpd.o
   74:   CFLAGS += -DDRV_LOWKBPD
   75: endif
   76: 
   77: # ----------------------------------------------------------------------------
   78: # additional libraries
   79: LDUSRLIBS += -ldrvif -lstr
   80: 
   81: # ----------------------------------------------------------------------------
   82: # include main makefile (common description)
   83: include ../Makefile.common
   84: