source: rtems/c/src/lib/libbsp/powerpc/mvme2307/wrapup/Makefile.in @ 17978a1

4.104.114.84.95
Last change on this file since 17978a1 was 17978a1, checked in by Joel Sherrill <joel.sherrill@…>, on 10/05/99 at 14:05:30

Minor corrections to get mvme2307 to compile.

  • 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 = powerpc/mvme2307/wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16# We only build the Network library if HAS_NETWORKING was defined
17NETWORK_yes_V = network
18NETWORK = $(NETWORK_$(HAS_NETWORKING)_V)
19
20BSP_PIECES=startup clock console nvram timer pci $(NETWORK)
21# pieces to pick up out of libcpu/ppc
22CPU_PIECES=
23GENERIC_PIECES=
24
25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
26include $(RTEMS_ROOT)/make/lib.cfg
27
28INSTALL = @INSTALL@
29INSTALL_CHANGE = @INSTALL_CHANGE@
30
31ifeq ($(HAS_MP),yes)
32GENERIC_PIECES += shmdr
33BSP_PIECES += shmsupp
34endif
35
36# bummer; have to use $foreach since % pattern subst rules only replace 1x
37OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
38     $(foreach piece, $(CPU_PIECES), \
39         ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
40     $(foreach piece, $(GENERIC_PIECES), \
41         ../../../$(piece)/$(ARCH)/$(piece).rel)
42LIB=$(ARCH)/libbsp.a
43
44#
45# (OPTIONAL) Add local stuff here using +=
46#
47
48DEFINES  +=
49CPPFLAGS +=
50CFLAGS   +=
51
52LD_PATHS  +=
53LD_LIBS   +=
54LDFLAGS   +=
55
56#
57# Add your list of files to delete here.  The config files
58#  already know how to delete some stuff, so you may want
59#  to just run 'make clean' first to see what gets missed.
60#  'make clobber' already includes 'make clean'
61#
62
63CLEAN_ADDITIONS +=
64CLOBBER_ADDITIONS +=
65
66$(LIB): ${OBJS}
67        $(make-library)
68
69all:    ${ARCH} $(SRCS) $(LIB)
70        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
71
72$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
73        $(INSTALL_DATA) $< $@
74
75Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
76        cd $(top_builddir) \
77         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.