source: rtems/c/src/lib/libbsp/sh/gensh2/scitab/Makefile.in @ 4a238002

4.104.114.84.95
Last change on this file since 4a238002 was 4a238002, checked in by Joel Sherrill <joel.sherrill@…>, on 11/18/99 at 21:22:58

Patch from "John M. Mills" <jmills@…> with subsequent cleanup from
Ralf Corsepius <corsepiu@…> that adds initial Hitachi SH-2
support to RTEMS. Ralf's comments are:

Changes:
------

  1. SH-Port:
  • Many files renamed.
  • CONSOLE_DEVNAME and MHZ defines removed from libcpu.
  • console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console applying VPATH.
  • CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
  • MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
  • -DHZ=HZ used in bspstart.c, only
  • Makefile variable HZ used in bsp-dependent directories only.
  1. SH1-Port
  • clock-driver rewritten to provide better resolution for odd CPU frequencies. This driver is only partially tested on hardware, ie. sightly experimental, but I don't expect severe problems with it.
  • Polling SCI-driver added. This driver is experimental and completly untested yet. Therefore it is not yet used for the console (/dev/console is still pointing to /dev/null, cf. gensh1/bsp.h).
  • minor changes to the timer driver
  • SH1 specific delay()/CPU_delay() now is implemented as a function
  1. SH2-Port
  • Merged
  • IMO, the code is still in its infancy. Therefore I have interspersed comments (FIXME) it for items which I think John should look after.
  • sci and console drivers partially rewritten and extended (John, I hope you don't mind).
  • Copyright notices are not yet adapted
  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[4a238002]1##
2##  $Id$
3##
[f8b27df9]4
5@SET_MAKE@
6srcdir = @srcdir@
[d8ff793]7top_srcdir = @top_srcdir@
[e1d8abb]8top_builddir = ../../..
[4a238002]9subdir = sh/gensh2/scitab
[f8b27df9]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]12PROJECT_ROOT = @PROJECT_ROOT@
13
[6693a68]14VPATH = @srcdir@
[d8ff793]15
[4a238002]16PGM = $(ARCH)/scitab.rel
[f8b27df9]17
18# C source names, if any, go here -- minus the .c
[4a238002]19C_PIECES = scitab
[6693a68]20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
[f8b27df9]22
[6693a68]23H_FILES =
[4a238002]24# Assembly source names, if any, go here -- minus the .s
[6693a68]25S_PIECES =
[4a238002]26S_FILES = $(S_PIECES:%=%.s)
27S_O_FILES = $(S_FILES:%.s=${ARCH}/%.o)
[f8b27df9]28
[4a238002]29SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
30OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
[f8b27df9]31
[6693a68]32include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[f8b27df9]33include $(RTEMS_ROOT)/make/leaf.cfg
34
[6693a68]35INSTALL_CHANGE = @INSTALL_CHANGE@
36
[4a238002]37SHGEN = $(PROJECT_ROOT)/tools/cpu/sh/shgen
38
[f8b27df9]39#
40# (OPTIONAL) Add local stuff here using +=
41#
42
[6693a68]43DEFINES +=
[f8b27df9]44CPPFLAGS +=
[6693a68]45CFLAGS +=
[f8b27df9]46
[6693a68]47LD_PATHS +=
48LD_LIBS +=
49LDFLAGS +=
[f8b27df9]50
51#
52# Add your list of files to delete here.  The config files
53#  already know how to delete some stuff, so you may want
54#  to just run 'make clean' first to see what gets missed.
55#  'make clobber' already includes 'make clean'
56#
57
58CLEAN_ADDITIONS +=
59CLOBBER_ADDITIONS +=
60
[4a238002]61$(PGM): $(SRCS) ${OBJS}
[f8b27df9]62        $(make-rel)
63
[6693a68]64all: ${ARCH} $(SRCS) $(PGM)
[f8b27df9]65
[4a238002]66scitab.c: $(SHGEN)
67        $(SHGEN) -H $(HZ) sci > $@
68
69# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
[6693a68]70install: all
[d8ff793]71
[08b5f55]72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]73        cd $(top_builddir) \
74         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.