source: rtems/contrib/crossrpms/rtems4.7/gdb.am @ 74829f7

Last change on this file since 74829f7 was b63e4ba, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 4, 2006 at 3:33:56 PM

New.

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