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

4.104.114.84.95
Last change on this file since d0a8b4b8 was d0a8b4b8, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 10, 2000 at 2:07:00 PM

Patch rtems-rc-20000104-4.diff from Ralf Corsepius <corsepiu@…>
that converts the mips64orion directory to automake.

Ralf's Note: This patch demonstrates another kind of supporting the new
style of configuration, which avoids having to port all Makefile.ins to
automake, but to keep using most old style Makefile.ins.

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