Files
rtems/scripts/cpukit/Makefile.am
Ralf Corsepius ab591073c5 2003-01-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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.
2003-01-31 07:29:27 +00:00

73 lines
2.2 KiB
Makefile

##
## $Id$
##
MKSPEC = $(SHELL) ./mkspec
SUBPACKAGES = header.add
SUBPACKAGES += $(top_builddir)/common/common.add
SUBPACKAGES += rtems-cpukit.add
SUBPACKAGES += $(top_builddir)/common/clean.add
MKSPEC_DEPS = mkspec rtems-cpukit.spec.in \
$(top_builddir)/setup.cache
rtems-cpukit.spec.in: $(SUBPACKAGES)
cat $^ > $@
CLEANFILES = rtems-cpukit.spec.in
c4x-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . c4x-rtems > $@
RPM_SPECS_DATA = c4x-rtems-cpukit.spec
hppa1.1-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems > $@
RPM_SPECS_DATA += hppa1.1-rtems-cpukit.spec
h8300-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . h8300-rtems > $@
RPM_SPECS_DATA += h8300-rtems-cpukit.spec
i386-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems > $@
RPM_SPECS_DATA += i386-rtems-cpukit.spec
i960-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems > $@
RPM_SPECS_DATA += i960-rtems-cpukit.spec
m68k-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems > $@
RPM_SPECS_DATA += m68k-rtems-cpukit.spec
mips64orion-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems > $@
RPM_SPECS_DATA += mips64orion-rtems-cpukit.spec
mips-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . mips-rtems > $@
RPM_SPECS_DATA += mips-rtems-cpukit.spec
powerpc-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems > $@
RPM_SPECS_DATA += powerpc-rtems-cpukit.spec
sh-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems > $@
RPM_SPECS_DATA += sh-rtems-cpukit.spec
sh-rtemself-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself > $@
RPM_SPECS_DATA += sh-rtemself-cpukit.spec
sparc-rtems-cpukit.spec: $(MKSPEC_DEPS)
$(MKSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems > $@
RPM_SPECS_DATA += sparc-rtems-cpukit.spec
EXTRA_DIST = $(SUBPACKAGES)
CLEANFILES += $(RPM_SPECS_DATA)
include $(top_srcdir)/../automake/local.am