Files
rtems/scripts/rtems/Makefile.am
Ralf Corsepius b17dd93574 2005-04-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: chmod +x rtems/mkspec.
	* binutils/binutils.add: Remove Prefix.
	Use mkdir -p.
	* cpukit/rtems-cpukit.add: Fix Source URL.
	* rtems/Makefile.am: Append @osversion@ to rules.
	* rtems/rtems.add: Fix Source URL. Misc cosmetics.
2005-04-20 07:14:16 +00:00

48 lines
1.5 KiB
Makefile

##
## $Id$
##
include $(top_srcdir)/common/common.am
SUBPACKAGES = header.add
SUBPACKAGES += $(top_builddir)/common/common.add
SUBPACKAGES += rtems.add
SUBPACKAGES += $(top_builddir)/common/clean.add
SUBPACKAGES += target-rtems.add
noinst_DATA = rtems.spec.in
rtems.spec.in: $(SUBPACKAGES)
cat $^ > $@
CLEANFILES = rtems.spec.in
RPM_SPECS_DATA =
MKBSPSPEC = $(SHELL) ./mkspec
MKBSPSPEC_DEPS = $(top_builddir)/mkspec rtems.spec.in \
$(top_builddir)/setup.cache
i386-rtems-pc386-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems@osversion@ pc386
RPM_SPECS_DATA += i386-rtems-pc386-$(BSPVERS).spec
m68k-rtems-gen68360-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems@osversion@ gen68360
RPM_SPECS_DATA += m68k-rtems-gen68360-$(BSPVERS).spec
powerpc-rtems-mcp750-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems@osversion@ mcp750
RPM_SPECS_DATA += powerpc-rtems-mcp750-$(BSPVERS).spec
sh-rtems-gensh1-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems@osversion@ gensh1
RPM_SPECS_DATA += sh-rtems-gensh1-$(BSPVERS).spec
sparc-rtems-erc32-$(BSPVERS).spec: $(MKBSPSPEC_DEPS)
$(MKBSPSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems@osversion@ erc32
RPM_SPECS_DATA += sparc-rtems-erc32-$(BSPVERS).spec
CLEANFILES += $(RPM_SPECS_DATA)
include $(top_srcdir)/../automake/local.am