source: rtems/c/src/exec/score/cpu/sparc/Makefile.in @ 254b4450

4.104.114.84.95
Last change on this file since 254b4450 was 254b4450, checked in by Joel Sherrill <joel.sherrill@…>, on 04/01/97 at 23:07:52

This set of changes is the build of what was required to convert to
GNU autoconf. This is the first large step in allowing an RTEMS
user to perform a one-tree build (per crossgcc FAQ) including RTEMS
in the build process. With this change RTEMS is configured in
built in the same style as the GNU tools, yet retains the basic
structure of its traditional Makefiles (ala Tony Bennett).
Jiri Gaisler (jgais@…) deserves (and received)
a big thank you for doing this.

There are still issues to be resolved but as of this commit, all target
which can be built on a linux host have been using a modified version
of the source Jiri submitted. This source was merged and most targets
built in the tree before this commit.

There are some issues which remain to be resolved but they are primarily
related to host OS dependencies, script issues, the use of gawk
for hack_specs, and the dependence on gcc snapshots. These will
be resolved.

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