source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.in @ 362ec23e

4.104.114.84.95
Last change on this file since 362ec23e was 362ec23e, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 18:10:59

Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@…>
which converts the PowerPC BSPs to configuration and more automake.

  • Besides adding partial automake support, rsp converting all powerpc BSPs to make them compliant to the new configuration scheme, this patch attempts to fix several configuration bugs in powerpc related Makefiles.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = vectors
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/../console:@srcdir@/../../shared/vectors
15
16# C source names, if any, go here -- minus the .c
17C_PIECES = vectors_init
18C_FILES = $(C_PIECES:%=%.c)
19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES = $(srcdir)/../../shared/vectors/vectors.h
22
23# Assembly source names, if any, go here -- minus the .s
24S_PIECES = vectors
25S_FILES = $(S_PIECES:%=%.S)
26S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
27
28SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
29OBJS = $(S_O_FILES) $(C_O_FILES) $(CC_O_FILES)
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/leaf.cfg
33
34INSTALL_CHANGE = @INSTALL_CHANGE@
35mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
36
37INSTALLDIRS = $(PROJECT_INCLUDE)/bsp
38
39$(INSTALLDIRS):
40        @$(mkinstalldirs) $(INSTALLDIRS)
41
42#
43# (OPTIONAL) Add local stuff here using +=
44#
45
46DEFINES +=
47CPPFLAGS +=
48CFLAGS +=
49
50LD_PATHS +=
51LD_LIBS +=
52LDFLAGS +=
53
54#
55# Add your list of files to delete here.  The config files
56#  already know how to delete some stuff, so you may want
57#  to just run 'make clean' first to see what gets missed.
58#  'make clobber' already includes 'make clean'
59#
60
61CLEAN_ADDITIONS +=
62CLOBBER_ADDITIONS +=
63
64$(PGM): ${OBJS}
65        $(make-rel)
66
67preinstall:
68        @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
69        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp
70
71all: ${ARCH} $(SRCS) preinstall $(OBJS) $(PGM)
72
73Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
74        cd $(top_builddir) \
75         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.