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

4.104.114.84.95
Last change on this file since e1d8abb was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on 09/07/99 at 13:45:03

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[ba46ffa6]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[6693a68]7top_srcdir = @top_srcdir@
[e1d8abb]8top_builddir = ../../..
9subdir = powerpc/mcp750/openpic
[6693a68]10
11RTEMS_ROOT = @RTEMS_ROOT@
[ba46ffa6]12PROJECT_ROOT = @PROJECT_ROOT@
13
[6693a68]14VPATH = @srcdir@
[ba46ffa6]15
[6693a68]16PGM = ${ARCH}/openpic.rel
[ba46ffa6]17
18# C source names, if any, go here -- minus the .c
[6693a68]19C_PIECES = $(OPENPIC_C_PIECES)
20C_FILES = $(C_PIECES:%=%.c)
21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
[ba46ffa6]22
[6693a68]23H_FILES = $(srcdir)/openpic.h
[ba46ffa6]24
[6693a68]25SRCS = $(C_FILES) $(H_FILES)
26OBJS = $(C_O_FILES)
[ba46ffa6]27
[6693a68]28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[ba46ffa6]29include $(RTEMS_ROOT)/make/leaf.cfg
30
[6693a68]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
[ba46ffa6]40
41#
42# (OPTIONAL) Add local stuff here using +=
43#
44
[6693a68]45DEFINES +=
[ba46ffa6]46CPPFLAGS +=
[6693a68]47CFLAGS +=
[ba46ffa6]48
[6693a68]49LD_PATHS +=
50LD_LIBS +=
51LDFLAGS +=
[ba46ffa6]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}: ${SRCS} ${OBJS}
64        $(make-rel)
65
[6693a68]66preinstall:
67        @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
68        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp
[ba46ffa6]69
[6693a68]70all: ${ARCH} $(SRCS) preinstall $(PGM)
[ba46ffa6]71
72# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
[6693a68]73install: all
74
[08b5f55]75Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[6693a68]76        cd $(top_builddir) \
77         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.