source: rtems/c/src/lib/libbsp/i386/ts_386ex/console/Makefile.in @ 1d4048b2

4.104.114.84.95
Last change on this file since 1d4048b2 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on 07/30/99 at 17:52:50

Patch from Ralf Corsepius <corsepiu@…>:

The main topic is replacing the hard-coded values for HAS_MP and
HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
(This is the patch I had mentioned before earlier this week).

CHANGES

  • HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check
  • HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check
  • NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)/<bsp>/make/bsp.cfg
  • NEW: default.cfg includes bsp.cfg - this change is backward compatible.
  • IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins
  • HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  • Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files.
  • Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-4.diff
./autogen

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[16a384cf]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
[6693a68]8top_builddir = ../../../..
9subdir = libbsp/i386/ts_386ex/console
[16a384cf]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[16a384cf]12PROJECT_ROOT = @PROJECT_ROOT@
13
[1896a650]14VPATH = @srcdir@:@srcdir@/../../shared/io
[16a384cf]15
[6693a68]16PGM = ${ARCH}/console.rel
[16a384cf]17
18# C source names, if any, go here -- minus the .c
[6693a68]19C_PIECES = console printk
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
[16a384cf]22
[6693a68]23H_FILES =
[16a384cf]24
25# Assembly source names, if any, go here -- minus the .S
[6693a68]26S_PIECES =
27S_FILES = $(S_PIECES:%=%.S)
28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
[16a384cf]29
[6693a68]30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
31OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
[16a384cf]32
[6693a68]33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[16a384cf]34include $(RTEMS_ROOT)/make/leaf.cfg
35
[6693a68]36INSTALL_CHANGE = @INSTALL_CHANGE@
37
[16a384cf]38#
39# (OPTIONAL) Add local stuff here using +=
40#
41
[6693a68]42DEFINES +=
43CFLAGS +=
[16a384cf]44
[6693a68]45LD_PATHS +=
46LD_LIBS +=
47LDFLAGS +=
[16a384cf]48
49#
50# Add your list of files to delete here.  The config files
51#  already know how to delete some stuff, so you may want
52#  to just run 'make clean' first to see what gets missed.
53#  'make clobber' already includes 'make clean'
54#
55
56CLEAN_ADDITIONS +=
57CLOBBER_ADDITIONS +=
58
59${PGM}: ${SRCS} ${OBJS}
60        $(make-rel)
61
[1896a650]62all: ${ARCH} $(SRCS) $(PGM)
[16a384cf]63
64# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
[6693a68]65install: all
[16a384cf]66
[08b5f55]67Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[16a384cf]68        cd $(top_builddir) \
[6693a68]69         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.