source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/wrapup/Makefile.in @ 53ab4823

4.104.114.84.95
Last change on this file since 53ab4823 was 53ab4823, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:23:56

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

NOTE:

  • Due to not having a toolchain (gcc refuses to build) this patch is untested.
  • I omited/deactivated the pxfl subdirectory, because I don't understand how it supposed to work.

Joel's note: It was right to ignore the pxfl directory. It should be
removed one the BSPs are moved outside the tree. This was an old hack.

  • Property mode set to 100644
File size: 1.6 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
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(RTEMS_ROOT)/make/lib.cfg
18
19INSTALL_CHANGE = @INSTALL_CHANGE@
20
21BSP_PIECES = startup tty
22# pieces to pick up out of libcpu/hppa
23CPU_PIECES = clock milli timer
24GENERIC_PIECES =
25
26GENERIC_MP_REL_PIECES_yes_V = shmdr
27GENERIC_MP_REL_PIECES_no_V =
28GENERIC_PIECES += $(GENERIC_MP_REL_PIECES_$(HAS_MP)_V)
29
30BSP_MP_O_PIECES_yes_V = shmsupp
31BSP_MP_O_PIECES_no_V =
32BSP_PIECES += $(BSP_MP_O_PIECES_$(HAS_MP)_V)
33
34# bummer; have to use $foreach since % pattern subst rules only replace 1x
35OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
36    $(foreach piece, $(CPU_PIECES), \
37    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) $(foreach \
38    piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
39LIB = $(ARCH)/libbsp.a
40
41#
42# (OPTIONAL) Add local stuff here using +=
43#
44
45DEFINES +=
46CPPFLAGS +=
47CFLAGS +=
48
49LD_PATHS +=
50LD_LIBS +=
51LDFLAGS +=
52
53#
54# Add your list of files to delete here.  The config files
55#  already know how to delete some stuff, so you may want
56#  to just run 'make clean' first to see what gets missed.
57#  'make clobber' already includes 'make clean'
58#
59
60CLEAN_ADDITIONS +=
61CLOBBER_ADDITIONS +=
62
63$(LIB): ${OBJS}
64        $(make-library)
65
66all: ${ARCH} $(SRCS) $(LIB)
67        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
68
69Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
70        cd $(top_builddir) \
71         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.