source: rtems/c/src/lib/libcpu/powerpc/mpc6xx/exceptions/Makefile.in @ 5bce35b

4.104.114.84.95
Last change on this file since 5bce35b 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: 1.7 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../..
9subdir = powerpc/mpc6xx/exceptions
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16PGM = ${ARCH}/exceptions.rel
17
18# C source names, if any, go here -- minus the .c
19C_PIECES = raw_exception
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
22
23H_FILES = $(srcdir)/raw_exception.h
24
25# Assembly source names, if any, go here -- minus the .S
26S_PIECES = asm_utils
27S_FILES = $(S_PIECES:%=%.S)
28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
29
30SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
31OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
32
33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
34include $(RTEMS_ROOT)/make/leaf.cfg
35
36INSTALL_CHANGE = @INSTALL_CHANGE@
37mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
38
39INSTALLDIRS = $(PROJECT_INCLUDE)/libcpu
40
41$(INSTALLDIRS):
42        @$(mkinstalldirs) $(INSTALLDIRS)
43
44#
45# (OPTIONAL) Add local stuff here using +=
46#
47
48DEFINES +=
49CPPFLAGS +=
50CFLAGS +=
51
52LD_PATHS +=
53LD_LIBS +=
54LDFLAGS +=
55
56#
57# Add your list of files to delete here.  The config files
58#  already know how to delete some stuff, so you may want
59#  to just run 'make clean' first to see what gets missed.
60#  'make clobber' already includes 'make clean'
61#
62
63CLEAN_ADDITIONS +=
64CLOBBER_ADDITIONS +=
65
66${PGM}: ${OBJS}
67        $(make-rel)
68
69preinstall: $(INSTALLDIRS) $(H_FILES)
70        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
71
72all: ${ARCH} $(SRCS) preinstall $(PGM)
73
74# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
75install: all
76
77Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
78        cd $(top_builddir) \
79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.