source: rtems/c/src/lib/libbsp/powerpc/psim/wrapup/Makefile.in @ 8961188

4.104.114.84.95
Last change on this file since 8961188 was 8961188, checked in by Joel Sherrill <joel.sherrill@…>, on 04/14/98 at 19:49:13

new files

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