source: rtems/c/src/lib/libbsp/powerpc/dmv177/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.8 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../../../..
9subdir = c/src/lib/libbsp/powerpc/dmv177/wrapup
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18# We only build the networking device driver if HAS_NETWORKING was defined
19NETWORKING_DRIVER_yes_V = sonic
20NETWORKING_DRIVER = $(NETWORKING_DRIVER_$(HAS_NETWORKING)_V)
21
22# pieces specific to this BSP
23BSP_PIECES=startup clock console scv64 timer tod $(NETWORKING_DRIVER)
24
25# pieces to pick up out of libcpu/$(RTEMS_CPU)
26CPU_PIECES=
27
28# shared pieces
29GENERIC_PIECES=
30
31# bummer; have to use $foreach since % pattern subst rules only replace 1x
32OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
33     $(foreach piece, $(CPU_PIECES), \
34         ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
35     $(foreach piece, $(GENERIC_PIECES), \
36         ../../../$(piece)/$(ARCH)/$(piece).rel)
37LIB=$(ARCH)/libbsp.a
38
39include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
40include $(RTEMS_ROOT)/make/lib.cfg
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.