source: rtems/c/src/lib/libbsp/unix/posix/wrapup/Makefile.in @ 49e05f41

4.104.114.84.95
Last change on this file since 49e05f41 was 49e05f41, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:03:32

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

Ralf's note: Please check c/src/lib/libbsp/unix/posix/startup/Makefile.am.
I am not sure if it is correct.

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