source: rtems/c/src/exec/score/cpu/sh/wrap/Makefile.in @ 08b5f55

4.104.114.84.95
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 20:31:49

Patch from Ralf Corsepius <corsepiu@…>:

A bug in acpolish made it into rtems-rc-19990709-0.diff, which
unfortunately affects all Makefile.ins:

  • The maintainer mode conditional was erroniously applied to the dependencies of "Makefile".

In case you already checked in rtems-rc-19990709-0.diff to CVS you have
to check in all Makefile.ins again after applying the patch below :).

Please apply the patch below as follows:

patch -p1 < rtems-rc-19990709-1.diff
tools/update/rtems-polish.sh -ac

Note: There is no need to rerun your tests if you have used
--enable-maintainer-mode to configure RTEMS, because this patch converts
all Makefile.ins to the same settings as used for
--enable-maintainer-mode.

  • Property mode set to 100644
File size: 2.3 KB
Line 
1#
2# $Id$
3#
4# *** NOTE *** This Makefile violates RTEMS Makefile standards.
5# This Makefile picks up sources from outside this directory
6# and installs relocatible objects outside of this directory.
7# This behavior is a work-around for RTEMS Makefile's missing
8# ability to compile inside of directories containing subdirectories.
9# This directory will disapear once automake will be introduced.
10#
11
12@SET_MAKE@
13srcdir = @srcdir@
14top_srcdir = @top_srcdir@
15top_builddir = ../../../..
16subdir = score/cpu/sh/wrap
17
18RTEMS_ROOT = @RTEMS_ROOT@
19PROJECT_ROOT = @PROJECT_ROOT@
20
21VPATH = @srcdir@/..
22
23RELS = ../$(ARCH)/rtems-cpu.rel
24
25# C source names, if any, go here -- minus the .c
26C_PIECES = cpu cpu_asm cpu_isps
27C_FILES = $(C_PIECES:%=%.c)
28C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
29
30H_PIECES = asm.h
31H_FILES = $(H_PIECES:%=$(srcdir)/../%)
32
33# Assembly source names, if any, go here -- minus the .S
34S_PIECES =
35S_FILES = $(S_PIECES:%=%.S)
36S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
37
38SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
39OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
40
41include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
42include $(RTEMS_ROOT)/make/leaf.cfg
43
44INSTALL_CHANGE = @INSTALL_CHANGE@
45mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
46
47INSTALLDIRS = $(PROJECT_INCLUDE)
48
49$(INSTALLDIRS):
50        @$(mkinstalldirs) $(INSTALLDIRS)
51
52#
53# (OPTIONAL) Add local stuff here using +=
54#
55
56DEFINES +=
57CPPFLAGS += -I$(srcdir)/..
58CFLAGS += $(CFLAGS_OS_V)
59
60LD_PATHS +=
61LD_LIBS +=
62LDFLAGS +=
63
64#
65# Add your list of files to delete here.  The config files
66#  already know how to delete some stuff, so you may want
67#  to just run 'make clean' first to see what gets missed.
68#  'make clobber' already includes 'make clean'
69#
70
71CLEAN_ADDITIONS += ../$(ARCH)
72CLOBBER_ADDITIONS +=
73
74all: ${ARCH} $(SRCS) preinstall $(OBJS) $(ARCH)/rtems.o $(RELS)
75        $(INSTALL_VARIANT) -m 644 $(ARCH)/rtems.o $(PROJECT_RELEASE)/lib
76
77../$(ARCH)/rtems-cpu.rel: $(OBJS)
78        test -d ../$(ARCH) || mkdir ../$(ARCH)
79        $(make-rel)
80
81# Install the program(s), appending _g or _p as appropriate.
82# for include files, just use $(INSTALL_CHANGE)
83install: all
84
85preinstall: ${ARCH}
86        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
87
88Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
89        cd $(top_builddir) \
90         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.