summaryrefslogtreecommitdiffstats
path: root/c/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 13:19:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 13:19:14 +0000
commit196094eb79c6f6f139f7cab82d50f0dd3240f7dd (patch)
treeeb72b10cbbe98238b6231a7183e80b4ac76bd877 /c/Makefile.in
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff)
downloadrtems-196094eb79c6f6f139f7cab82d50f0dd3240f7dd.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
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
Diffstat (limited to 'c/Makefile.in')
-rw-r--r--c/Makefile.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/c/Makefile.in b/c/Makefile.in
index 0996b05732..98e436a299 100644
--- a/c/Makefile.in
+++ b/c/Makefile.in
@@ -27,7 +27,7 @@ mandir = @mandir@/man$(manext)
program_prefix = @program_prefix@
VPATH = @srcdir@
-include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
+include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
include $(RTEMS_ROOT)/make/directory.cfg
SUB_DIRS=build-tools src
@@ -69,7 +69,7 @@ CREATE_DIRS = \
tests/screens/mptests/node1 tests/screens/mptests/node2 \
build-tools update-tools
-BUILD_DIRS = ${CREATE_DIRS:%=$(PROJECT_ROOT)/$(RTEMS_BSP)/%}
+BUILD_DIRS = ${CREATE_DIRS:%=$(PROJECT_ROOT)/${RTEMS_BSP}/%}
# Make all/install must include 'env'
# if something is added to TARGET_VARIANTS, then account for it here
@@ -131,19 +131,19 @@ clean_dirs:
clean_tools:
cd build-tools; $(MAKE) clean
-$(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc: $(PROJECT_ROOT)/make/Templates/Makefile.inc
- echo "RTEMS_BSP = $(RTEMS_BSP)" > $@
+$(PROJECT_ROOT)/${RTEMS_BSP}/Makefile.inc: $(PROJECT_ROOT)/make/Templates/Makefile.inc
+ echo "RTEMS_BSP = ${RTEMS_BSP}" > $@
$(CAT) $< >> $@
# NOTE: The wildcard on the install should pick up everything except
# the tests directory. This significantly minimizes the install size.
-install_files: $(PROJECT_ROOT)/$(RTEMS_BSP)/Makefile.inc
+install_files: $(PROJECT_ROOT)/${RTEMS_BSP}/Makefile.inc
@top_srcdir@/mkinstalldirs $(prefix)
- -$(RM) -rf $(prefix)/$(RTEMS_BSP)
- cd ../; tar cf - $(RTEMS_BSP)/[bilsuM]* | \
+ -$(RM) -rf $(prefix)/${RTEMS_BSP}
+ cd ../; tar cf - ${RTEMS_BSP}/[bilsuM]* | \
(cd $(prefix); tar xpBf - )
- cd ../make; $(MAKE) RTEMS_BSP=$(RTEMS_BSP) install
+ cd ../make; $(MAKE) RTEMS_BSP=${RTEMS_BSP} install
tests:
cd src/tests; $(MAKE) all