source: rtems/contrib/crossrpms/netbsd5.0.1/libs.am @ cedabcac

4.104.11
Last change on this file since cedabcac was cedabcac, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 30, 2009 at 8:38:43 AM

New.

  • Property mode set to 100644
File size: 792 bytes
Line 
1LIBS_SUBPACKAGES = $(top_srcdir)/common/common.add
2LIBS_SUBPACKAGES += $(srcdir)/libs.add
3LIBS_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add
4LIBS_SUBPACKAGES += $(top_srcdir)/common/clean.add
5LIBS_SUBPACKAGES += $(srcdir)/target-libs.add
6
7$(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) Makefile.am
8        cat $(LIBS_SUBPACKAGES) | sed \
9          -e "s/[@]NETBSD_VERS[@]/$(NETBSD_VERS)/g" \
10          -e "s/[@]NETBSD_RPMREL[@]/$(NETBSD_RPMREL)%{?dist}/g" \
11          -e "s,%{gcc_rpmvers},%{netbsd_rpmvers},g" \
12        > $(TARGET)-libs.spec.in
13CLEANFILES += $(TARGET)-libs.spec.in
14                             
15@rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in $(srcdir)/../libs.am
16        $(MKSPEC) $(TARGET)-libs.spec.in | $(SPECSTRIP) > $@
17CLEANFILES += @rpmprefix@$(TARGET)-libs.spec
18noinst_DATA += @rpmprefix@$(TARGET)-libs.spec
Note: See TracBrowser for help on using the repository browser.