source: rtems/c/src/lib/libbsp/m68k/mvme162/wrapup/Makefile.in @ a86443fb

4.104.114.84.95
Last change on this file since a86443fb was a86443fb, checked in by Joel Sherrill <joel.sherrill@…>, on 10/09/97 at 18:33:46

Added search of libcpu and fpsp.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8VPATH=@srcdir@
9
10BSP_PIECES=startup clock console timer
11CPU_PIECES=
12GENERIC_PIECES=
13
14# bummer; have to use $foreach since % pattern subst rules only replace 1x
15OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
16     $(wildcard ../consolex/$(ARCH)/consolex.rel) \
17     $(foreach piece, $(CPU_PIECES), \
18         ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
19     $(wildcard \
20    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/fpsp/$(ARCH)/fpsp.rel) \
21     $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
22LIB=$(ARCH)/libbsp.a
23
24include $(RTEMS_CUSTOM)
25include $(PROJECT_ROOT)/make/lib.cfg
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31DEFINES  +=
32CPPFLAGS +=
33CFLAGS   +=
34
35LD_PATHS  +=
36LD_LIBS   +=
37LDFLAGS   +=
38
39#
40# Add your list of files to delete here.  The config files
41#  already know how to delete some stuff, so you may want
42#  to just run 'make clean' first to see what gets missed.
43#  'make clobber' already includes 'make clean'
44#
45
46CLEAN_ADDITIONS +=
47CLOBBER_ADDITIONS +=
48
49$(LIB): ${OBJS}
50        $(make-library)
51
52all:    ${ARCH} $(SRCS) $(LIB)
53        $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
54
Note: See TracBrowser for help on using the repository browser.