cleanup:
-fix for OBJDIR -link mpfr against gmp, and mpc against gmp+mpfr -clean up generated files
This commit is contained in:
parent
24e681f5cd
commit
13669b2e41
5
external/lgpl2/mpc/lib/libmpc/Makefile
vendored
5
external/lgpl2/mpc/lib/libmpc/Makefile
vendored
@ -1,9 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.2 2011/06/23 04:39:24 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/07/06 19:52:05 drochner Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
LIB= mpc
|
||||
|
||||
LIBDPLIBS+= gmp ${.CURDIR}/../../../../lgpl3/gmp/lib/libgmp
|
||||
LIBDPLIBS+= mpfr ${.CURDIR}/../../../../lgpl3/mpfr/lib/libmpfr
|
||||
|
||||
SRCS= \
|
||||
abs.c \
|
||||
acos.c \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.3 2011/07/03 06:43:16 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.4 2011/07/06 19:52:06 drochner Exp $
|
||||
|
||||
SRCS+= \
|
||||
random.c \
|
||||
@ -180,7 +180,12 @@ CLEANFILES+= trialdivtab.h
|
||||
dummy:
|
||||
mkdir dummy
|
||||
${.OBJDIR}/config.m4: ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4
|
||||
cp ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4 ${.TARGET}
|
||||
cp ${.CURDIR}/arch/${MACHINE_ARCH}/config.m4 ${.OBJDIR}/config.m4
|
||||
|
||||
CLEANFILES+= config.m4
|
||||
clean: cleandummy
|
||||
cleandummy: .PHONY
|
||||
rmdir dummy
|
||||
|
||||
.for _build _src in ${ASM_SRCS_LIST}
|
||||
${_build:R}.s: Makefile dummy ${.OBJDIR}/config.m4
|
||||
|
5
external/lgpl3/mpfr/lib/libmpfr/Makefile
vendored
5
external/lgpl3/mpfr/lib/libmpfr/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.5 2011/07/04 12:38:29 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2011/07/06 19:52:06 drochner Exp $
|
||||
|
||||
.include <bsd.init.mk>
|
||||
|
||||
@ -7,6 +7,8 @@ MKLINT=no
|
||||
|
||||
LIB= mpfr
|
||||
|
||||
LIBDPLIBS+= gmp ${.CURDIR}/../../../gmp/lib/libgmp
|
||||
|
||||
SRCS= \
|
||||
abort_prec_max.c \
|
||||
acos.c \
|
||||
@ -504,6 +506,7 @@ mparam.h: mparam_h.in
|
||||
cp ${.ALLSRC} ${.TARGET}
|
||||
|
||||
${SRCS}: mparam.h
|
||||
CLEANFILES+= mparam.h
|
||||
|
||||
.PATH: ${.CURDIR}/../../dist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user