source: rtems/contrib/crossrpms/freebsd6.4/gcc.am @ 6cc3dfb

4.104.11
Last change on this file since 6cc3dfb was d03b469, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 30, 2009 at 8:49:41 AM

Update.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1EXTRA_DIST += $(srcdir)/../gcc-prep.add
2EXTRA_DIST += $(srcdir)/gcc-sources.add
3
4GCC_OPTS =
5
6GCC_SUBPACKAGES = $(top_srcdir)/common/common.add
7GCC_SUBPACKAGES += $(top_srcdir)/gcc/gccnewlib.add
8GCC_SUBPACKAGES += $(top_srcdir)/gcc/prep.add
9GCC_SUBPACKAGES += $(top_srcdir)/gcc/build.add
10GCC_SUBPACKAGES += $(top_srcdir)/gcc/install.add
11GCC_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
12GCC_SUBPACKAGES += $(top_srcdir)/common/clean.add
13GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gcc.add
14GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gcc.add
15GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-c++.add
16GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-gfortran.add
17GCC_SUBPACKAGES += $(top_srcdir)/gcc/base-gfortran.add
18GCC_SUBPACKAGES += $(top_srcdir)/gcc/target-objc.add
19
20$(TARGET)-gcc.spec.in: $(GCC_SUBPACKAGES) Makefile.am $(srcdir)/gcc-sources.add $(srcdir)/../gcc-prep.add $(srcdir)/../gcc.am
21        cat $(GCC_SUBPACKAGES) \
22          | sed \
23          -e "/[@]SOURCES[@]/r $(srcdir)/gcc-sources.add" \
24          -e "/[@]SOURCES[@]/d" \
25          -e "/[@]PREP[@]/r $(srcdir)/../gcc-prep.add" \
26          -e "/[@]PREP[@]/d" \
27          | sed \
28          -e "s/[@]GCC_VERS[@]/$(GCC_VERS)/g" \
29          -e "s/[@]GCC_PKGVERS[@]/$(GCC_PKGVERS)/g" \
30          -e "s/[@]GCC_RPMREL[@]/$(GCC_RPMREL)%{?dist}/g" \
31          -e "/[@]tool_target[@]-newlib/d" \
32          -e "/[@]tool_target[@]-w32api-sys-root/d" \
33          -e "/--with-newlib/d" \
34          | $(MKSPEC0) > $(TARGET)-gcc.spec.in
35CLEANFILES += $(TARGET)-gcc.spec.in
36
37@rpmprefix@$(TARGET)-gcc.spec: $(TARGET)-gcc.spec.in
38        $(MKSPEC) $(TARGET)-gcc.spec.in | $(SPECSTRIP) $(GCC_OPTS) > $@
39CLEANFILES += @rpmprefix@$(TARGET)-gcc.spec
40noinst_DATA += @rpmprefix@$(TARGET)-gcc.spec
41
42EXTRA_DIST += $(GCC_SUBPACKAGES)
Note: See TracBrowser for help on using the repository browser.