forked from Imagelibrary/rtems
* common/common.add.in: Add Vendor, Distribution, BuildRoot. * binutils/Makefile.am: Fix path to clean.add. * binutils/binutils.add: Remove BuildRoot. * cpukit/Makefile.am: Use $(top_builddir)/common/common.add, $(top_builddir)/common/clean.add, header.add. Generate rtems-cpukit.spec.in. * cpukit/header.add: New. * cpukit/rtems-cpukit.spec.in: Remove. * cpukit/rtems-cpukit.add: New. * gccnewlib/gccnewlib.add: Remove Buildroot. * gdb/gdb.add: Remove Buildroot. * rtemsdoc/rtemsdoc.add: Remove BuildRoot.
76 lines
2.7 KiB
Makefile
76 lines
2.7 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
|
|
MKBINUTILSSPEC = $(SHELL) ./mkspec
|
|
|
|
SUBPACKAGES = header.add
|
|
SUBPACKAGES += $(top_builddir)/common/common.add binutils.add
|
|
SUBPACKAGES += $(top_builddir)/common/clean.add
|
|
SUBPACKAGES += base-binutils.add target-binutils.add
|
|
|
|
binutils.spec.in: $(SUBPACKAGES)
|
|
cat $^ > $@
|
|
CLEANFILES = binutils.spec.in
|
|
|
|
MKBINUTILSSPEC_DEPS = mkspec binutils.spec.in \
|
|
$(top_builddir)/setup.cache
|
|
|
|
arm-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache arm-rtems > $@
|
|
|
|
c4x-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache c4x-rtems > $@
|
|
|
|
h8300-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache h8300-rtems > $@
|
|
|
|
hppa1.1-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache hppa1.1-rtems > $@
|
|
|
|
i386-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i386-rtems > $@
|
|
|
|
i960-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache i960-rtems > $@
|
|
|
|
m68k-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache m68k-rtems > $@
|
|
|
|
mips64orion-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips64orion-rtems > $@
|
|
mips-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache mips-rtems > $@
|
|
|
|
or32-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache or32-rtems > $@
|
|
|
|
powerpc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache powerpc-rtems > $@
|
|
|
|
sh-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtems > $@
|
|
|
|
sh-rtemself-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sh-rtemself > $@
|
|
|
|
sparc-rtems-$(BINUTILSVERS).spec: $(MKBINUTILSSPEC_DEPS)
|
|
$(MKBINUTILSSPEC) -cfg $(top_builddir)/setup.cache sparc-rtems > $@
|
|
|
|
RPM_SPECS_DATA = \
|
|
arm-rtems-$(BINUTILSVERS).spec \
|
|
c4x-rtems-$(BINUTILSVERS).spec h8300-rtems-$(BINUTILSVERS).spec \
|
|
hppa1.1-rtems-$(BINUTILSVERS).spec \
|
|
i386-rtems-$(BINUTILSVERS).spec i960-rtems-$(BINUTILSVERS).spec \
|
|
m68k-rtems-$(BINUTILSVERS).spec \
|
|
mips-rtems-$(BINUTILSVERS).spec mips64orion-rtems-$(BINUTILSVERS).spec \
|
|
or32-rtems-$(BINUTILSVERS).spec \
|
|
powerpc-rtems-$(BINUTILSVERS).spec sh-rtems-$(BINUTILSVERS).spec \
|
|
sh-rtemself-$(BINUTILSVERS).spec sparc-rtems-$(BINUTILSVERS).spec
|
|
CLEANFILES += $(RPM_SPECS_DATA)
|
|
|
|
EXTRA_DIST = $(SUBPACKAGES)
|
|
|
|
include $(top_srcdir)/../automake/local.am
|