diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-08-27 10:44:18 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-08-27 10:44:18 +0000 |
commit | a34a266a83cc7adab55b6cd7eab2bb07234d0bc8 (patch) | |
tree | 3396e13ce639adf5d764a4a941c51caf9950dd2f | |
parent | Modernize. (diff) | |
download | rtems-a34a266a83cc7adab55b6cd7eab2bb07234d0bc8.tar.bz2 |
New.
-rw-r--r-- | contrib/crossrpms/freebsd7.0/libs.am | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/crossrpms/freebsd7.0/libs.am b/contrib/crossrpms/freebsd7.0/libs.am new file mode 100644 index 0000000000..a44fe588b3 --- /dev/null +++ b/contrib/crossrpms/freebsd7.0/libs.am @@ -0,0 +1,18 @@ +LIBS_SUBPACKAGES = $(top_srcdir)/common/common.add +LIBS_SUBPACKAGES += $(srcdir)/libs.add +LIBS_SUBPACKAGES += $(top_srcdir)/gcc/rpm-install.add +LIBS_SUBPACKAGES += $(top_srcdir)/common/clean.add +LIBS_SUBPACKAGES += $(srcdir)/target-libs.add + +$(TARGET)-libs.spec.in: $(LIBS_SUBPACKAGES) Makefile.am + cat $(LIBS_SUBPACKAGES) | sed \ + -e "s/[@]FREEBSD_VERS[@]/$(FREEBSD_VERS)/g" \ + -e "s/[@]FREEBSD_RPMREL[@]/$(FREEBSD_RPMREL)%{?dist}/g" \ + -e "s,%{gcc_rpmvers},%{freebsd_rpmvers},g" \ + > $(TARGET)-libs.spec.in +CLEANFILES += $(TARGET)-libs.spec.in + +@rpmprefix@$(TARGET)-libs.spec: $(TARGET)-libs.spec.in + $(MKSPEC) $(TARGET)-libs.spec.in | $(SPECSTRIP) > $@ +CLEANFILES += @rpmprefix@$(TARGET)-libs.spec +noinst_DATA += @rpmprefix@$(TARGET)-libs.spec |