source: rtems/c/src/exec/score/src/Makefile.in @ 1896a650

4.104.114.84.95
Last change on this file since 1896a650 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 30, 1999 at 5:52:50 PM

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.8 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = score/src
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(RTEMS_ROOT)/make/lib.cfg
18
19INSTALL_CHANGE = @INSTALL_CHANGE@
20
21# We only build multiprocessing related files if HAS_MP was defined
22MP_C_PIECES_yes_V = mpci objectmp threadmp
23MP_C_PIECES = $(MP_C_PIECES_$(HAS_MP)_V)
24
25THREAD_C_PIECES = thread threadchangepriority threadclearstate threadclose \
26    threadcreateidle threaddelayended threaddispatch threadevaluatemode \
27    threadget threadhandler threadidlebody threadinitialize threadloadenv \
28    threadready threadresettimeslice threadrestart threadsetpriority \
29    threadsetstate threadsettransient threadstackallocate threadstackfree \
30    threadstart threadstartmultitasking threadtickletimeslice \
31    threadyieldprocessor
32
33# C and C++ source names, if any, go here -- minus the .c or .cc
34C_PIECES = apiext chain coremsg coremutex coresem coretod heap interr isr \
35    object $(THREAD_C_PIECES) threadq userext watchdog wkspace \
36    $(MP_C_PIECES)
37C_FILES = $(C_PIECES:%=%.c)
38C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
39
40SRCS = $(C_FILES)
41OBJS = $(C_O_FILES)
42
43#
44# Add local stuff here using +=
45#
46
47DEFINES += -D__RTEMS_INSIDE__
48CPPFLAGS +=
49CFLAGS += $(CFLAGS_OS_V)
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
61all: ${ARCH} $(SRCS) ${OBJS}
62
63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
64        cd $(top_builddir) \
65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.