summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-06-08 15:07:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-06-08 15:07:30 +0000
commit549e88f62312dd972d0b1c9353999611404934bd (patch)
tree7765dbce89886568a94c28e3ca6472865e52ea08
parent965c3924ff749986bf0141999b9c4567f1bf0e5a (diff)
downloadrtems-549e88f62312dd972d0b1c9353999611404934bd.tar.bz2
Preps for VPATH builts.
Diffstat (limited to '')
-rw-r--r--contrib/crossrpms/rtems/Makefile.am78
1 files changed, 39 insertions, 39 deletions
diff --git a/contrib/crossrpms/rtems/Makefile.am b/contrib/crossrpms/rtems/Makefile.am
index 2c322e89a5..5fae65a6ad 100644
--- a/contrib/crossrpms/rtems/Makefile.am
+++ b/contrib/crossrpms/rtems/Makefile.am
@@ -12,19 +12,19 @@ BINUTILS_VERS = 2.16.1
BINUTILS_RPMREL = @VERSION@
EXTRA_DIST += binutils-sources.add
-BINUTILS_SUBPACKAGES = $(top_builddir)/common/common.add
-BINUTILS_SUBPACKAGES += ../binutils/binutils.add
-BINUTILS_SUBPACKAGES += ../binutils/prep.add
-BINUTILS_SUBPACKAGES += ../binutils/build.add
-BINUTILS_SUBPACKAGES += ../binutils/install.add
-BINUTILS_SUBPACKAGES += ../binutils/rpm-install.add
-BINUTILS_SUBPACKAGES += $(top_builddir)/common/clean.add
-BINUTILS_SUBPACKAGES += ../binutils/target-binutils.add
-BINUTILS_SUBPACKAGES += ../binutils/base-binutils.add
+BINUTILS_SUBPACKAGES = $(top_srcdir)/common/common.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/binutils.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/prep.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/build.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/install.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/rpm-install.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/common/clean.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/target-binutils.add
+BINUTILS_SUBPACKAGES += $(top_srcdir)/binutils/base-binutils.add
$(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources.add
cat $(BINUTILS_SUBPACKAGES) | sed \
- -e "/[@]SOURCES[@]/r ./binutils-sources.add" \
+ -e "/[@]SOURCES[@]/r $(srcdir)/binutils-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "s/[@]BINUTILS_VERS[@]/$(BINUTILS_VERS)/g" \
-e "s/[@]BINUTILS_RPMREL[@]/$(BINUTILS_RPMREL)/g" \
@@ -33,7 +33,7 @@ $(TARGET)-binutils.spec.in: $(BINUTILS_SUBPACKAGES) Makefile.am binutils-sources
CLEANFILES += $(TARGET)-binutils.spec.in
@rpmprefix@$(TARGET)-binutils.spec: $(TARGET)-binutils.spec.in
- $(MKSPEC) $(srcdir)/$(TARGET)-binutils.spec.in > $@
+ $(MKSPEC) $(TARGET)-binutils.spec.in > $@
CLEANFILES += @rpmprefix@$(TARGET)-binutils.spec
noinst_DATA += @rpmprefix@$(TARGET)-binutils.spec
@@ -44,25 +44,25 @@ NEWLIB_VERS = 1.14.0
EXTRA_DIST += gcc-prep.add
EXTRA_DIST += gcc-sources.add
-GCC_SUBPACKAGES = $(top_builddir)/common/common.add
-GCC_SUBPACKAGES += ../gcc/gccnewlib.add
-GCC_SUBPACKAGES += ../gcc/prep.add
-GCC_SUBPACKAGES += ../gcc/build.add
-GCC_SUBPACKAGES += ../gcc/install.add
-GCC_SUBPACKAGES += ../gcc/rpm-install.add
-GCC_SUBPACKAGES += $(top_builddir)/common/clean.add
-GCC_SUBPACKAGES += ../gcc/target-gcc.add
-GCC_SUBPACKAGES += ../gcc/base-gcc.add
-GCC_SUBPACKAGES += ../gcc/target-c++.add
-GCC_SUBPACKAGES += ../gcc/target-gfortran.add
-GCC_SUBPACKAGES += ../gcc/base-gfortran.add
-GCC_SUBPACKAGES += ../gcc/target-objc.add
-GCC_SUBPACKAGES += ../gcc/target-newlib.add
-GCC_SUBPACKAGES += ../gcc/base-newlib.add
+GCC_SUBPACKAGES = $(top_srcdir)/common/common.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/gccnewlib.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/prep.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/build.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/install.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
+GCC_SUBPACKAGES += $(top_srcdir)/common/clean.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gcc.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gcc.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-c++.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gfortran.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gfortran.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-objc.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-newlib.add
+GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-newlib.add
$(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add gcc-prep.add
cat $(GCC_SUBPACKAGES) | sed \
- -e "/[@]SOURCES[@]/r ./gcc-sources.add" \
+ -e "/[@]SOURCES[@]/r $(srcdir)/gcc-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "/[@]PREP[@]/r ./gcc-prep.add" \
-e "/[@]PREP[@]/d" \
@@ -77,7 +77,7 @@ $(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am gcc-sources.add gcc-prep.a
CLEANFILES += $(TARGET)-gcc.spec.in
@rpmprefix@$(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
- $(MKSPEC) $(srcdir)/$(TARGET)-gcc.spec.in > $@
+ $(MKSPEC) $(TARGET)-gcc.spec.in > $@
CLEANFILES += @rpmprefix@$(TARGET)-gcc.spec
noinst_DATA += @rpmprefix@$(TARGET)-gcc.spec
@@ -86,19 +86,19 @@ GDB_VERS = 6.4
GDB_RPMREL = @VERSION@
EXTRA_DIST += gdb-sources.add
-GDB_SUBPACKAGES = $(top_builddir)/common/common.add
-GDB_SUBPACKAGES += ../gdb/gdb.add
-GDB_SUBPACKAGES += ../gdb/prep.add
-GDB_SUBPACKAGES += ../gdb/build.add
-GDB_SUBPACKAGES += ../gdb/install.add
-GDB_SUBPACKAGES += ../gdb/rpm-install.add
-GDB_SUBPACKAGES += $(top_builddir)/common/clean.add
-GDB_SUBPACKAGES += ../gdb/target-gdb.add
-GDB_SUBPACKAGES += ../gdb/base-gdb.add
+GDB_SUBPACKAGES = $(top_srcdir)/common/common.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/gdb.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/prep.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/build.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/install.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/rpm-install.add
+GDB_SUBPACKAGES += $(top_srcdir)/common/clean.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/target-gdb.add
+GDB_SUBPACKAGES += $(top_srcdir)/gdb/base-gdb.add
$(TARGET)-gdb.spec.in: $(GDB_SUBPACKAGES) Makefile.am gdb-sources.add
cat $(GDB_SUBPACKAGES) | sed \
- -e "/[@]SOURCES[@]/r ./gdb-sources.add" \
+ -e "/[@]SOURCES[@]/r $(srcdir)/gdb-sources.add" \
-e "/[@]SOURCES[@]/d" \
-e "s/[@]GDB_VERS[@]/$(GDB_VERS)/g" \
-e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)/g" \
@@ -107,6 +107,6 @@ $(TARGET)-gdb.spec.in: $(GDB_SUBPACKAGES) Makefile.am gdb-sources.add
CLEANFILES += $(TARGET)-gdb.spec.in
@rpmprefix@$(TARGET)-gdb.spec: $(TARGET)-gdb.spec.in
- $(MKSPEC) $(srcdir)/$(TARGET)-gdb.spec.in > $@
+ $(MKSPEC) $(TARGET)-gdb.spec.in > $@
CLEANFILES += @rpmprefix@$(TARGET)-gdb.spec
noinst_DATA += @rpmprefix@$(TARGET)-gdb.spec