source: rtems/c/src/lib/libbsp/a29k/portsw/wrapup/Makefile.in @ 1597ab4a

4.104.114.84.95
Last change on this file since 1597ab4a was 1597ab4a, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:17:27

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

NOTE: This port is not based on the GNU tools so no one can test it.

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[254b4450]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[d8ff793]7top_srcdir = @top_srcdir@
[1597ab4a]8top_builddir = ..
9subdir = wrapup
[254b4450]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
[6693a68]16BSP_PIECES = startup console iic ethernet flash nvram
17CPU_PIECES = clock timer
18GENERIC_PIECES =
[254b4450]19
20# bummer; have to use $foreach since % pattern subst rules only replace 1x
[6693a68]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
[254b4450]26
[6693a68]27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[cb5bfe4]28include $(RTEMS_ROOT)/make/lib.cfg
[254b4450]29
[6693a68]30INSTALL_CHANGE = @INSTALL_CHANGE@
31
[254b4450]32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
[6693a68]36DEFINES +=
[254b4450]37CPPFLAGS +=
[6693a68]38CFLAGS +=
[254b4450]39
[6693a68]40LD_PATHS +=
41LD_LIBS +=
42LDFLAGS +=
[254b4450]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
[6693a68]57all: ${ARCH} $(SRCS) $(LIB)
58        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
[254b4450]59
[08b5f55]60Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]61        cd $(top_builddir) \
62         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.