Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/gmp/lib/libgmp enable lint.



details:   https://anonhg.NetBSD.org/src/rev/152e6d00d6de
branches:  trunk
changeset: 766667:152e6d00d6de
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 29 08:09:43 2011 +0000

description:
enable lint.
fix the 32 / 64 bit problem.

diffstat:

 external/lgpl3/gmp/lib/libgmp/Makefile |  17 +++++++----------
 1 files changed, 7 insertions(+), 10 deletions(-)

diffs (53 lines):

diff -r c246fd5594a1 -r 152e6d00d6de external/lgpl3/gmp/lib/libgmp/Makefile
--- a/external/lgpl3/gmp/lib/libgmp/Makefile    Wed Jun 29 08:08:54 2011 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile    Wed Jun 29 08:09:43 2011 +0000
@@ -1,12 +1,9 @@
-#      $NetBSD: Makefile,v 1.3 2011/06/24 03:50:23 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2011/06/29 08:09:43 mrg Exp $
 
 .include <bsd.init.mk>
 
 DIST=${.CURDIR}/../../dist
 
-# XXX
-MKLINT=no
-
 LIB=   gmp
 
 MPF_SRCS = \
@@ -167,29 +164,29 @@
 
 fac_ui.h: gen-fac_ui.c
        ${HOST_CC} -o ${.OBJDIR}/gen-fac_ui ${.ALLSRC}
-       ${.OBJDIR}/gen-fac_ui 64 0 > ${.OBJDIR}/fac_ui.h
+       ${.OBJDIR}/gen-fac_ui ${GMP_LIMB_BITS} 0 > ${.OBJDIR}/fac_ui.h
 
 gen-fib: gen-fib.c
        ${HOST_CC} -o ${.OBJDIR}/gen-fib ${.ALLSRC}
 
 fib_table.h: gen-fib
-       ${.OBJDIR}/gen-fib header 64 0 > ${.OBJDIR}/fib_table.h
+       ${.OBJDIR}/gen-fib header ${GMP_LIMB_BITS} 0 > ${.OBJDIR}/fib_table.h
 
 fib_table.c: gen-fib
-       ${.OBJDIR}/gen-fib table 64 0 > ${.OBJDIR}/fib_table.c
+       ${.OBJDIR}/gen-fib table ${GMP_LIMB_BITS} 0 > ${.OBJDIR}/fib_table.c
 
 gen-bases: gen-bases.c
        ${HOST_CC} -o ${.OBJDIR}/gen-bases ${.ALLSRC} -lm
 
 mp_bases.h: gen-bases
-       ${.OBJDIR}/gen-bases header 64 0 > ${.OBJDIR}/mp_bases.h
+       ${.OBJDIR}/gen-bases header ${GMP_LIMB_BITS} 0 > ${.OBJDIR}/mp_bases.h
 
 mp_bases.c: gen-bases
-       ${.OBJDIR}/gen-bases table 64 0 > ${.OBJDIR}/mp_bases.c
+       ${.OBJDIR}/gen-bases table ${GMP_LIMB_BITS} 0 > ${.OBJDIR}/mp_bases.c
 
 perfsqr.h: gen-psqr.c
        ${HOST_CC} -o ${.OBJDIR}/gen-psqr ${.ALLSRC}
-       ${.OBJDIR}/gen-psqr 64 0 > ${.OBJDIR}/perfsqr.h
+       ${.OBJDIR}/gen-psqr ${GMP_LIMB_BITS} 0 > ${.OBJDIR}/perfsqr.h
 
 CLEANFILES+=   ${DPSRCS} gen-fac_ui gen-fib gen-bases gen-psqr
 



Home | Main Index | Thread Index | Old Index