source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/wrapup/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 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.8 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../..
9subdir = libbsp/hppa1.1/simhppa/wrapup
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 = @INSTALL@
20INSTALL_CHANGE = @INSTALL_CHANGE@
21
22BSP_PIECES = startup tty
23# pieces to pick up out of libcpu/hppa
24CPU_PIECES = clock milli timer
25GENERIC_PIECES =
26
27GENERIC_MP_REL_PIECES_yes_V = shmdr
28GENERIC_MP_REL_PIECES_no_V =
29GENERIC_PIECES += $(GENERIC_MP_REL_PIECES_$(HAS_MP)_V)
30
31BSP_MP_O_PIECES_yes_V = shmsupp
32BSP_MP_O_PIECES_no_V =
33BSP_PIECES += $(BSP_MP_O_PIECES_$(HAS_MP)_V)
34
35# bummer; have to use $foreach since % pattern subst rules only replace 1x
36OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
37    $(foreach piece, $(CPU_PIECES), \
38    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) $(foreach \
39    piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
40LIB = $(ARCH)/libbsp.a
41
42#
43# (OPTIONAL) Add local stuff here using +=
44#
45
46DEFINES +=
47CPPFLAGS +=
48CFLAGS +=
49
50LD_PATHS +=
51LD_LIBS +=
52LDFLAGS +=
53
54#
55# Add your list of files to delete here.  The config files
56#  already know how to delete some stuff, so you may want
57#  to just run 'make clean' first to see what gets missed.
58#  'make clobber' already includes 'make clean'
59#
60
61CLEAN_ADDITIONS +=
62CLOBBER_ADDITIONS +=
63
64$(LIB): ${OBJS}
65        $(make-library)
66
67all: ${ARCH} $(SRCS) $(LIB)
68        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
69
70$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
71        $(INSTALL_DATA) $< $@
72
73Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
74        cd $(top_builddir) \
75         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.