source: rtems/c/src/lib/libcpu/powerpc/shared/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: 1.8 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = powerpc/shared
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16# C source names, if any, go here -- minus the .c
17C_PIECES = cpuIdent
18C_FILES = $(C_PIECES:%=%.c)
19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES = $(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h \
22    $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h
23
24# Assembly source names, if any, go here -- minus the .s
25S_PIECES =
26S_FILES = $(S_PIECES:%=%.S)
27S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
28
29SRCS = $(C_FILES) $(H_FILES)
30OBJS = $(C_O_FILES) $(S_O_FILES)
31
32include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
33include $(RTEMS_ROOT)/make/lib.cfg
34
35INSTALL_CHANGE = @INSTALL_CHANGE@
36mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
37
38INSTALLDIRS = $(PROJECT_INCLUDE)/libcpu
39
40$(INSTALLDIRS):
41        @$(mkinstalldirs) $(INSTALLDIRS)
42
43LIB = ${ARCH}/libcpuspec.a
44
45#
46# (OPTIONAL) Add local stuff here using +=
47#
48
49DEFINES +=
50CPPFLAGS +=
51CFLAGS +=
52
53LD_PATHS +=
54LD_LIBS +=
55LDFLAGS +=
56
57#
58# Add your list of files to delete here.  The config files
59#  already know how to delete some stuff, so you may want
60#  to just run 'make clean' first to see what gets missed.
61#  'make clobber' already includes 'make clean'
62#
63
64CLEAN_ADDITIONS +=
65CLOBBER_ADDITIONS +=
66
67${LIB}: ${SRCS} ${OBJS}
68        $(make-library)
69
70preinstall: $(INSTALLDIRS) $(H_FILES)
71        $(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/libcpu
72
73all: ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
74
75# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
76install: all
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.