source: rtems/contrib/crossrpms/rtems4.9/gdb.am @ df16b8bf

4.104.114.9
Last change on this file since df16b8bf was ed73806b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Sep 28, 2007 at 7:24:56 AM

copy from rtems-4.8 to rtems-4.9.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1EXTRA_DIST += gdb-sources.add
2
3GDB_OPTS =
4
5GDB_SUBPACKAGES = $(top_srcdir)/common/common.add
6GDB_SUBPACKAGES += $(top_srcdir)/gdb/gdb.add
7GDB_SUBPACKAGES += $(top_srcdir)/gdb/prep.add
8GDB_SUBPACKAGES += $(top_srcdir)/gdb/build.add
9GDB_SUBPACKAGES += $(top_srcdir)/gdb/install.add
10GDB_SUBPACKAGES += $(top_srcdir)/gdb/rpm-install.add
11GDB_SUBPACKAGES += $(top_srcdir)/common/clean.add
12GDB_SUBPACKAGES += $(top_srcdir)/gdb/target-gdb.add
13GDB_SUBPACKAGES += $(top_srcdir)/gdb/base-gdb.add
14
15$(TARGET)-gdb.spec.in: $(GDB_SUBPACKAGES) Makefile.am $(srcdir)/gdb-sources.add
16        cat $(GDB_SUBPACKAGES) | sed \
17          -e "/[@]SOURCES[@]/r $(srcdir)/gdb-sources.add" \
18          -e "/[@]SOURCES[@]/d" \
19          -e "s/[@]GDB_VERS[@]/$(GDB_VERS)/g" \
20          -e "s/[@]GDB_PKGVERS[@]/$(GDB_PKGVERS)/g" \
21          -e "s/[@]GDB_RPMREL[@]/$(GDB_RPMREL)/g" \
22          -e "/--with-sysroot/d" \
23          | $(MKSPEC0) > $(TARGET)-gdb.spec.in
24CLEANFILES += $(TARGET)-gdb.spec.in
25
26@rpmprefix@$(TARGET)-gdb.spec: $(TARGET)-gdb.spec.in
27        $(MKSPEC) $(TARGET)-gdb.spec.in | $(SPECSTRIP) $(GDB_OPTS) > $@
28CLEANFILES += @rpmprefix@$(TARGET)-gdb.spec
29noinst_DATA += @rpmprefix@$(TARGET)-gdb.spec
30
31EXTRA_DIST += $(GDB_SUBPACKAGES)
Note: See TracBrowser for help on using the repository browser.