forked from Imagelibrary/rtems
Split out libs.am
This commit is contained in:
@@ -8,26 +8,7 @@ FREEBSD_VERS = 7.2
|
|||||||
FREEBSD_RPMREL = 0.20090827.1
|
FREEBSD_RPMREL = 0.20090827.1
|
||||||
EXTRA_DIST += libs.add
|
EXTRA_DIST += libs.add
|
||||||
EXTRA_DIST += target-libs.add
|
EXTRA_DIST += target-libs.add
|
||||||
|
include ../libs.am
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
BINUTILS_VERS = 2.19
|
BINUTILS_VERS = 2.19
|
||||||
BINUTILS_PKGVERS = $(BINUTILS_VERS)
|
BINUTILS_PKGVERS = $(BINUTILS_VERS)
|
||||||
|
|||||||
Reference in New Issue
Block a user