source: rtems/c/src/lib/libcpu/powerpc/new_exception_processing/Makefile.in @ acc25ee

4.104.114.84.95
Last change on this file since acc25ee was acc25ee, checked in by Joel Sherrill <joel.sherrill@…>, on 12/02/99 at 14:31:19

Merged of mcp750 and mvme2307 BSP by Eric Valette <valette@…>.
As part of this effort, the mpc750 libcpu code is now shared with the
ppc6xx.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1#
2# $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = powerpc/new_exception_processing
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16RELS = ../$(ARCH)/rtems-cpu.rel
17
18# C source names, if any, go here -- minus the .c
19C_PIECES = cpu
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
22
23ROOT_H_PIECES =
24ROOT_H_FILES = $(ROOT_H_PIECES:%=$(srcdir)/%)
25RTEMS_SCORE_H_PIECES = cpu.h
26RTEMS_SCORE_H_FILES = $(RTEMS_SCORE_H_PIECES:%=$(srcdir)/%)
27H_PIECES = $(ROOT_H_PIECES) $(RTEMS_SCORE_H_PIECES)
28H_FILES = $(H_PIECES%=$(srcdir)/%)
29I_PIECES = c_isr
30I_FILES = $(I_PIECES:%=$(srcdir)/%.inl)
31
32# Assembly source names, if any, go here -- minus the .S
33S_PIECES = cpu_asm
34S_FILES = $(S_PIECES:%=%.S)
35S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
36
37SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES) \
38    $(I_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)/rtems/score $(PROJECT_INCLUDE)
48
49$(INSTALLDIRS):
50        @$(mkinstalldirs) $(INSTALLDIRS)
51
52#
53# (OPTIONAL) Add local stuff here using +=
54#
55
56DEFINES +=
57CPPFLAGS +=
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 +=
72CLOBBER_ADDITIONS +=
73
74../$(ARCH)/rtems-cpu.rel: $(OBJS)
75        test -d ../$(ARCH) || mkdir ../$(ARCH)
76        $(make-rel)
77
78all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
79
80# Install the program(s), appending _g or _p as appropriate.
81# for include files, just use $(INSTALL_CHANGE)
82install: all
83
84preinstall: ${ARCH}
85        @$(INSTALL_CHANGE) -m 644 $(RTEMS_SCORE_H_FILES) $(I_FILES) $(PROJECT_INCLUDE)/rtems/score
86        @$(INSTALL_CHANGE) -m 644 $(ROOT_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.