source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.in @ b0ab1d74

4.104.114.84.95
Last change on this file since b0ab1d74 was 7e642ba, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 19:27:13

Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@…>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."

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