source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/residual/Makefile.in @ fb16fed

4.104.114.84.95
Last change on this file since fb16fed was fb16fed, checked in by Joel Sherrill <joel.sherrill@…>, on 12/21/99 at 15:25:05

Patch rtems-rc-19991203-10.diff from Ralf Corsepius <corsepiu@…>
which fixes a couple of bugs in RTEMS's old style Makefile.ins, which
apparently were introduced by moving the start directories and not
having adapted the Makefile.ins.

To apply:

patch -p1 < rtems-rc-19991203-10.diff

  • 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 = powerpc/mcp750/residual
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/../../shared/residual
15
16# C source names, if any, go here -- minus the .c
17C_PIECES = $(RESIDUAL_C_PIECES)
18C_FILES = $(C_PIECES:%=%.c)
19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES = $(srcdir)/../../shared/residual/pnp.h \
22    $(srcdir)/../../shared/residual/residual.h
23
24SRCS = $(C_FILES) $(H_FILES)
25OBJS = $(C_O_FILES)
26
27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28include $(RTEMS_ROOT)/make/leaf.cfg
29
30INSTALL_CHANGE = @INSTALL_CHANGE@
31mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
32
33INSTALLDIRS = $(PROJECT_INCLUDE)/bsp
34
35$(INSTALLDIRS):
36        @$(mkinstalldirs) $(INSTALLDIRS)
37
38RESIDUAL_C_PIECES = residual
39
40#
41# (OPTIONAL) Add local stuff here using +=
42#
43
44DEFINES +=
45CPPFLAGS +=
46CFLAGS +=
47
48LD_PATHS +=
49LD_LIBS +=
50LDFLAGS +=
51
52#
53# Add your list of files to delete here.  The config files
54#  already know how to delete some stuff, so you may want
55#  to just run 'make clean' first to see what gets missed.
56#  'make clobber' already includes 'make clean'
57#
58
59CLEAN_ADDITIONS +=
60CLOBBER_ADDITIONS +=
61
62preinstall:
63        @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
64        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp
65
66all: ${ARCH} $(SRCS) preinstall $(OBJS)
67
68# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
69install: all
70
71Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
72        cd $(top_builddir) \
73         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.