From 50698d94cdee69bac7914655f111206a458450cc Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 16 Dec 2000 22:37:30 +0000 Subject: Rename "suse.mk" to "Makefile.common" which is the standard name for make include files shared between packages. --- emulators/suse_linux/Makefile.common | 45 ++++++++++++++++++++++++++++++++++++ emulators/suse_linux/suse.mk | 45 ------------------------------------ 2 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 emulators/suse_linux/Makefile.common delete mode 100644 emulators/suse_linux/suse.mk (limited to 'emulators/suse_linux') diff --git a/emulators/suse_linux/Makefile.common b/emulators/suse_linux/Makefile.common new file mode 100644 index 00000000000..444ac302df2 --- /dev/null +++ b/emulators/suse_linux/Makefile.common @@ -0,0 +1,45 @@ +# $NetBSD: Makefile.common,v 1.1 2000/12/16 22:37:32 tron Exp $ + +MASTER_SITE_SUSE= ftp://ftp.suse.com/pub/suse/i386/6.3/suse/ + +DIST_SUBDIR?= suse63 + +WRKSRC?= ${WRKDIR} +MANCOMPRESSED?= yes + +EMULSUBDIR= emul/linux +EMULDIR= ${PREFIX}/${EMULSUBDIR} + +RPM2PKG= ${PREFIX}/sbin/rpm2pkg + +# The SuSE Linux packages have circular dependencies. +LDD?= ${TRUE} + +RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR} +.for TEMP in ${RPMIGNOREPATH} +RPM2PKGARGS+= -i ${TEMP} +.endfor +.for TEMP in ${RPMFILES} +RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP} +.endfor + +.if !target(do-install) +do-install: + @if [ -f ${PKGDIR}/PLIST ]; then \ + ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \ + else \ + ${RM} -f ${PLIST_SRC}; \ + fi + ${RPM2PKG} ${RPM2PKGARGS} + @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \ + ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \ + ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \ + ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \ + ${ECHO} "@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \ + fi +.endif + +show-shlib-type: + @${ECHO} linux-${MACHINE_ARCH} + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/suse_linux/suse.mk b/emulators/suse_linux/suse.mk deleted file mode 100644 index 85b569041a9..00000000000 --- a/emulators/suse_linux/suse.mk +++ /dev/null @@ -1,45 +0,0 @@ -# $NetBSD: suse.mk,v 1.7 2000/09/04 16:05:12 wiz Exp $ - -MASTER_SITE_SUSE= ftp://ftp.suse.com/pub/suse/i386/6.3/suse/ - -DIST_SUBDIR?= suse63 - -WRKSRC?= ${WRKDIR} -MANCOMPRESSED?= yes - -EMULSUBDIR= emul/linux -EMULDIR= ${PREFIX}/${EMULSUBDIR} - -RPM2PKG= ${PREFIX}/sbin/rpm2pkg - -# The SuSE Linux packages have circular dependencies. -LDD?= ${TRUE} - -RPM2PKGARGS= -d ${PREFIX} -f ${PLIST_SRC} -p ${EMULSUBDIR} -.for TEMP in ${RPMIGNOREPATH} -RPM2PKGARGS+= -i ${TEMP} -.endfor -.for TEMP in ${RPMFILES} -RPM2PKGARGS+= ${DISTDIR}/${DIST_SUBDIR}/${TEMP} -.endfor - -.if !target(do-install) -do-install: - @if [ -f ${PKGDIR}/PLIST ]; then \ - ${CP} ${PKGDIR}/PLIST ${PLIST_SRC}; \ - else \ - ${RM} -f ${PLIST_SRC}; \ - fi - ${RPM2PKG} ${RPM2PKGARGS} - @if ${GREP} -q 'lib.*\.so' ${PLIST_SRC}; then \ - ${ECHO_MSG} "===> [Automatic Linux shared object handling]"; \ - ${EMULDIR}/sbin/ldconfig -r ${EMULDIR}; \ - ${ECHO} "@exec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR}" >>${PLIST_SRC}; \ - ${ECHO} "@unexec %D/${EMULSUBDIR}/sbin/ldconfig -r %D/${EMULSUBDIR} 2>/dev/null" >>${PLIST_SRC}; \ - fi -.endif - -show-shlib-type: - @${ECHO} linux-${MACHINE_ARCH} - -.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3