source: rtems/c/src/exec/score/cpu/i960/wrap/Makefile.in @ 7908ba5b

4.104.114.84.95
Last change on this file since 7908ba5b was 7908ba5b, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 18:28:24

Part of the automake VI patch from Ralf Corsepius <corsepiu@…>:

4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh

reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
contains the diffs after reorg-score-cpu.sh has been run on a
rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.

This patch is rather nasty and may break something. However, I've tested
it for about 10 different target/bsp pairs and believe to have shaken
out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h

  • Property mode set to 100644
File size: 1.8 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@
14VPATH = @srcdir@/..
15RTEMS_ROOT = @top_srcdir@
16PROJECT_ROOT = @PROJECT_ROOT@
17
18RELS=../$(ARCH)/rtems-cpu.rel
19
20# C source names, if any, go here -- minus the .c
21C_PIECES = cpu
22C_FILES=$(C_PIECES:%=%.c)
23C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
24
25H_PIECES = asm.h
26H_FILES=$(H_PIECES:%=$(srcdir)/../%)
27
28# Assembly source names, if any, go here -- minus the .S
29S_PIECES = cpu_asm rtems
30S_FILES=$(S_PIECES:%=%.S)
31S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
32
33SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
34OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
35
36include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
37include $(RTEMS_ROOT)/make/leaf.cfg
38
39#
40# (OPTIONAL) Add local stuff here using +=
41#
42
43DEFINES  +=
44CPPFLAGS += -I$(srcdir)/..
45CFLAGS   += $(CFLAGS_OS_V)
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 += ../$(ARCH)
59CLOBBER_ADDITIONS +=
60
61../$(ARCH)/rtems-cpu.rel: $(OBJS)
62        test -d ../$(ARCH) || mkdir ../$(ARCH)
63        $(make-rel)
64
65all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
66
67# Install the program(s), appending _g or _p as appropriate.
68# for include files, just use $(INSTALL)
69install:  all
70
71preinstall: ${ARCH}
72        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)
Note: See TracBrowser for help on using the repository browser.