source: rtems/c/src/lib/libbsp/mips64orion/p4000/wrapup/Makefile.in @ 3c0e80c3

4.104.114.84.95
Last change on this file since 3c0e80c3 was 3c0e80c3, checked in by Joel Sherrill <joel.sherrill@…>, on 04/06/99 at 22:07:36

Patch from Ralf Corsepius <corsepiu@…> to preinstall
all bsp_specs.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../../../..
9subdir = c/src/lib/libbsp/mips64orion/p4000/wrapup
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18BSP_PIECES=startup console liblnk
19CPU_PIECES=clock timer
20GENERIC_PIECES=
21
22# bummer; have to use $foreach since % pattern subst rules only replace 1x
23OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
24     $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
25     $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
26LIB=$(ARCH)/libbsp.a
27
28include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
29include $(RTEMS_ROOT)/make/lib.cfg
30
31#
32# (OPTIONAL) Add local stuff here using +=
33#
34
35DEFINES  +=
36CPPFLAGS +=
37CFLAGS   +=
38
39LD_PATHS  +=
40LD_LIBS   +=
41LDFLAGS   +=
42
43#
44# Add your list of files to delete here.  The config files
45#  already know how to delete some stuff, so you may want
46#  to just run 'make clean' first to see what gets missed.
47#  'make clobber' already includes 'make clean'
48#
49
50CLEAN_ADDITIONS +=
51CLOBBER_ADDITIONS +=
52
53$(LIB): ${OBJS}
54        $(make-library)
55
56all:    ${ARCH} $(SRCS) $(LIB)
57        $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
58
59install:  all
60
61$(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
62        $(INSTALL_DATA) $< $@
63
64Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
65        cd $(top_builddir) \
66         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.