source: rtems/c/src/exec/score/cpu/i960/Makefile.in @ 38840f7b

4.104.114.84.95
Last change on this file since 38840f7b was 38840f7b, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 18:03:38

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

3) rtems-rc-19990131-2.diff

This patch removes generating bsp_specs from leaf.cfg and generates
bsp_specs from inside of c/Makefile instead.

The motivation behind this patch is to avoid "polluting" Makefiles by
unneccessary rules from included Makefile-fragments (*.cfg-files) and
try to handle files by explicit rules in Makefiles instead (FYI:
automake-1.4 physically includes Makefile fragments at the time
automake is run, not at the time make is run as RTEMS Makefile.ins do
now)

Nevertheless, this patch is rather uncritical, almost cosmetical - If
you don't like it, then dump it ;-, however I doubt that subsequent
patches will apply then ;-.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11RELS=$(ARCH)/rtems-cpu.rel
12
13# C source names, if any, go here -- minus the .c
14C_PIECES=cpu
15C_FILES=$(C_PIECES:%=%.c)
16C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
17
18H_FILES=$(srcdir)/cpu.h $(srcdir)/i960.h $(srcdir)/i960types.h
19
20# H_FILES that get installed externally
21EXTERNAL_H_FILES = $(srcdir)/asm.h
22
23# Assembly source names, if any, go here -- minus the .S
24S_PIECES=cpu_asm rtems
25S_FILES=$(S_PIECES:%=%.S)
26S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
27
28SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
29OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
30
31include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
32include $(RTEMS_ROOT)/make/leaf.cfg
33
34#
35# (OPTIONAL) Add local stuff here using +=
36#
37
38DEFINES  +=
39CPPFLAGS +=
40CFLAGS   += $(CFLAGS_OS_V)
41
42LD_PATHS  +=
43LD_LIBS   +=
44LDFLAGS   +=
45
46#
47# Add your list of files to delete here.  The config files
48#  already know how to delete some stuff, so you may want
49#  to just run 'make clean' first to see what gets missed.
50#  'make clobber' already includes 'make clean'
51#
52
53CLEAN_ADDITIONS +=
54CLOBBER_ADDITIONS +=
55
56$(ARCH)/rtems-cpu.rel: $(OBJS)
57        $(make-rel)
58
59all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
60
61# Install the program(s), appending _g or _p as appropriate.
62# for include files, just use $(INSTALL)
63install:  all
64
65preinstall: $(ARCH)
66        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
67# we will share the basic cpu file
68        $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
69
Note: See TracBrowser for help on using the repository browser.