source: rtems/c/src/lib/libcpu/powerpc/shared/Makefile.in @ 2a6a029f

4.104.114.84.95
Last change on this file since 2a6a029f was e7792b25, checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/99 at 22:07:32

Cleaned up to behave properly -- does not make a directory in the
install tree and does not "cd wrapup."

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11
12# C source names, if any, go here -- minus the .c
13C_PIECES=
14C_FILES=$(C_PIECES:%=%.c)
15C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
16
17H_FILES=$(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h $(srcdir)/processor.h
18
19# Assembly source names, if any, go here -- minus the .s
20S_PIECES=
21S_FILES=$(S_PIECES:%=%.S)
22S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
23
24SRCS=$(C_FILES) $(H_FILES)
25OBJS=$(C_O_FILES) $(S_O_FILES)
26
27include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
28include $(RTEMS_ROOT)/make/lib.cfg
29
30LIB=${ARCH}/libcpuspec.a
31
32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
36DEFINES  +=
37CPPFLAGS +=
38CFLAGS   +=
39
40LD_PATHS  +=
41LD_LIBS   +=
42LDFLAGS   +=
43
44#
45# Add your list of files to delete here.  The config files
46#  already know how to delete some stuff, so you may want
47#  to just run 'make clean' first to see what gets missed.
48#  'make clobber' already includes 'make clean'
49#
50
51CLEAN_ADDITIONS +=
52CLOBBER_ADDITIONS +=
53
54${LIB}: ${SRCS} ${OBJS}
55        $(make-library)
56
57preinstall :
58        $(INSTALL_CHANGE) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/libcpu
59
60all:    ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
61        # cd wrapup; $(MAKE)
62
63# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
64install:  all
Note: See TracBrowser for help on using the repository browser.