source: rtems/contrib/crossrpms/cygwin/zlib.am @ a837ab2

4.104.114.95
Last change on this file since a837ab2 was a837ab2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 22, 2008 at 4:56:51 AM

New (Split-out from i686/Makefile.am).

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