forked from Imagelibrary/rtems
This one is an enhancement to acpolish.
It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.
To apply:
cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
@SET_MAKE@
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
top_builddir = ../../../../../../..
|
|
subdir = c/src/lib/libbsp/sparc/erc32/include
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h
|
|
|
|
#
|
|
# Equate files are for including from assembly preprocessed by
|
|
# gm4 or gasp. No examples are provided except for those for
|
|
# other CPUs. The best way to generate them would be to
|
|
# provide a program which generates the constants used based
|
|
# on the C equivalents.
|
|
#
|
|
# If you add equate files, don't forget to uncomment the install line
|
|
# below.
|
|
#
|
|
|
|
EQ_FILES =
|
|
|
|
SRCS=$(H_FILES) $(EQ_FILES)
|
|
|
|
include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
|
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
|
|
CLEAN_ADDITIONS +=
|
|
CLOBBER_ADDITIONS +=
|
|
|
|
all: $(SRCS)
|
|
$(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|