From df49c60c9671e4a28e636964d744c1f59fb6cb68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 15:00:15 +0000 Subject: Merged from 4.5.0-beta3a --- scripts/gdb/Makefile.am | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) (limited to 'scripts/gdb/Makefile.am') diff --git a/scripts/gdb/Makefile.am b/scripts/gdb/Makefile.am index 16bd1e449c..e1dfc9d037 100644 --- a/scripts/gdb/Makefile.am +++ b/scripts/gdb/Makefile.am @@ -2,12 +2,18 @@ ## $Id$ ## -AUTOMAKE_OPTIONS = foreign +AUTOMAKE_OPTIONS = foreign 1.4 MKGDBSPEC = $(SHELL) $(top_builddir)/mkgdbspec -MKGDBSPEC_DEPS = \ -$(top_builddir)/mkgdbspec gdb.spec.in $(top_builddir)/setup.cache +SUBPACKAGES = gdb.add base-gdb.add target-gdb.add + +gdb.spec.in: $(SUBPACKAGES) + cat $^ > $@ +CLEANFILES += gdb.spec.in + +MKGDBSPEC_DEPS = $(top_builddir)/mkgdbspec gdb.spec.in \ + $(top_builddir)/setup.cache hppa1.1-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems @@ -39,25 +45,13 @@ sh-rtemself-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) sparc-rtems-$(GDBVERS).spec: $(MKGDBSPEC_DEPS) $(MKGDBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems -TEMPLATES = \ -gdb.spec.in - -RPM_SPECS_DATA = \ -hppa1.1-rtems-$(GDBVERS).spec \ -i386-rtems-$(GDBVERS).spec \ -i960-rtems-$(GDBVERS).spec \ -m68k-rtems-$(GDBVERS).spec \ -m68k-rtemself-$(GDBVERS).spec \ -mips64orion-rtems-$(GDBVERS).spec \ -powerpc-rtems-$(GDBVERS).spec \ -sh-rtems-$(GDBVERS).spec \ -sh-rtemself-$(GDBVERS).spec \ -sparc-rtems-$(GDBVERS).spec - -noinst_DATA = \ -$(TEMPLATES) +RPM_SPECS_DATA = hppa1.1-rtems-$(GDBVERS).spec i386-rtems-$(GDBVERS).spec \ + i960-rtems-$(GDBVERS).spec m68k-rtems-$(GDBVERS).spec \ + m68k-rtemself-$(GDBVERS).spec mips64orion-rtems-$(GDBVERS).spec \ + powerpc-rtems-$(GDBVERS).spec sh-rtems-$(GDBVERS).spec \ + sh-rtemself-$(GDBVERS).spec sparc-rtems-$(GDBVERS).spec +CLEANFILES += $(RPM_SPECS_DATA) -EXTRA_DIST = \ -$(TEMPLATES) +EXTRA_DIST = $(SUBPACKAGES) -CLEANFILES = $(RPM_SPECS_DATA) +include $(top_srcdir)/../automake/local.am -- cgit v1.2.3