summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-08-10 18:35:08 +0000
committerdd <dd@FreeBSD.org>2001-08-10 18:35:08 +0000
commitac6635ed4837ac1d27c5424547900beae7a0d9a9 (patch)
tree967d9a9de1e35e5fa6a28be5903059f3ba0a9142 /gnu
parent72b206d9b8d39e34de01f6bba6283b710a13da05 (diff)
downloadFreeBSD-src-ac6635ed4837ac1d27c5424547900beae7a0d9a9.zip
FreeBSD-src-ac6635ed4837ac1d27c5424547900beae7a0d9a9.tar.gz
Remove libgmp build infrastructure.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgmp/Makefile151
-rw-r--r--gnu/lib/libgmp/Makefile.inc12
-rw-r--r--gnu/lib/libgmp/doc/Makefile9
-rw-r--r--gnu/lib/libmp/Makefile115
4 files changed, 0 insertions, 287 deletions
diff --git a/gnu/lib/libgmp/Makefile b/gnu/lib/libgmp/Makefile
deleted file mode 100644
index 55166f2..0000000
--- a/gnu/lib/libgmp/Makefile
+++ /dev/null
@@ -1,151 +0,0 @@
-#
-# $FreeBSD$
-#
-
-LIB= gmp
-
-SUBDIR= doc
-
-GMPDIR= ${.CURDIR}/../../../contrib/libgmp
-.PATH: ${GMPDIR} ${GMPDIR}/mpn
-
-.if ${MACHINE_ARCH} == "alpha"
-.PATH: ${GMPDIR}/mpn/alpha ${GMPDIR}/mpn/generic
-
-CFLAGS+= -I${GMPDIR}/mpn/alpha
-
-MPN_SRC_ASM= add_n.s addmul_1.s lshift.s mul_1.s rshift.s sub_n.s submul_1.s udiv_qrnnd.S
-
-.elif ${MACHINE_ARCH} == "i386"
-.PATH: ${GMPDIR}/mpn/x86 ${GMPDIR}/mpn/generic
-
-CFLAGS+= -I${GMPDIR}/mpn/x86
-
-MPN_SRC_ASM= add_n.S addmul_1.S lshift.S mul_1.S rshift.S sub_n.S submul_1.S
-
-.elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
-.PATH: ${GMPDIR}/mpn/mips3 ${GMPDIR}/mpn/generic
-
-CFLAGS+= -I${GMPDIR}/mpn/mips3
-
-MPN_SRC_ASM= add_n.s addmul_1.s lshift.s mul_1.s rshift.s sub_n.s submul_1.s
-
-.elif ${MACHINE_ARCH} == "m68k"
-.PATH: ${GMPDIR}/mpn/m68k ${GMPDIR}/mpn/generic
-
-CFLAGS+= -I${GMPDIR}/mpn/m68k
-
-MPN_SRC_ASM= add_n.S lshift.S rshift.S sub_n.S
-
-.elif ${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "ppc" || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
-.PATH: ${GMPDIR}/mpn/generic
-
-MPN_SRC_ASM=
-.endif
-
-CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
-
-MPN_SRC_C= add_n.c addmul_1.c bdivmod.c cmp.c divmod_1.c divrem.c \
- divrem_1.c dump.c gcd.c gcd_1.c gcdext.c get_str.c hamdist.c \
- inlines.c lshift.c mod_1.c mul.c mul_1.c mul_n.c perfsqr.c \
- popcount.c pre_mod_1.c random2.c rshift.c scan0.c scan1.c \
- set_str.c sqrtrem.c mp_bases.c
-
-MPZ_SRCS= mpz/init.c mpz/set.c mpz/set_ui.c mpz/set_si.c mpz/set_str.c \
- mpz/set_d.c mpz/set_f.c mpz/set_q.c mpz/iset.c mpz/iset_ui.c \
- mpz/iset_si.c mpz/iset_str.c mpz/iset_d.c mpz/clear.c \
- mpz/get_ui.c mpz/get_si.c mpz/get_str.c mpz/get_d.c \
- mpz/size.c mpz/sizeinbase.c mpz/add.c mpz/add_ui.c \
- mpz/sub.c mpz/sub_ui.c mpz/mul.c mpz/mul_ui.c mpz/gcd.c \
- mpz/gcd_ui.c mpz/gcdext.c mpz/sqrt.c mpz/sqrtrem.c \
- mpz/powm.c mpz/powm_ui.c mpz/cmp.c mpz/cmp_ui.c mpz/cmp_si.c \
- mpz/mul_2exp.c mpz/fdiv_q_2exp.c mpz/fdiv_r_2exp.c \
- mpz/tdiv_q_2exp.c mpz/tdiv_r_2exp.c mpz/abs.c mpz/neg.c \
- mpz/com.c mpz/and.c mpz/ior.c mpz/inp_raw.c mpz/inp_str.c \
- mpz/out_raw.c mpz/out_str.c mpz/perfsqr.c mpz/random.c \
- mpz/random2.c mpz/pow_ui.c mpz/ui_pow_ui.c mpz/setbit.c \
- mpz/clrbit.c mpz/fac_ui.c mpz/pprime_p.c mpz/realloc.c \
- mpz/getlimbn.c mpz/popcount.c mpz/hamdist.c mpz/cdiv_qr.c \
- mpz/cdiv_q.c mpz/cdiv_r.c mpz/cdiv_qr_ui.c mpz/cdiv_q_ui.c \
- mpz/cdiv_r_ui.c mpz/cdiv_ui.c mpz/fdiv_qr.c mpz/fdiv_q.c \
- mpz/fdiv_r.c mpz/fdiv_qr_ui.c mpz/fdiv_q_ui.c mpz/fdiv_r_ui.c \
- mpz/fdiv_ui.c mpz/tdiv_qr.c mpz/tdiv_q.c mpz/tdiv_r.c \
- mpz/tdiv_qr_ui.c mpz/tdiv_q_ui.c mpz/tdiv_r_ui.c mpz/mod.c \
- mpz/divexact.c mpz/array_init.c mpz/scan0.c mpz/scan1.c \
- mpz/jacobi.c mpz/legendre.c mpz/invert.c
-
-MPF_SRCS= mpf/init.c mpf/init2.c mpf/set.c mpf/set_ui.c mpf/set_si.c \
- mpf/set_str.c mpf/set_d.c mpf/set_z.c mpf/iset.c \
- mpf/iset_ui.c mpf/iset_si.c mpf/iset_str.c mpf/iset_d.c \
- mpf/clear.c mpf/get_str.c mpf/dump.c mpf/size.c mpf/eq.c \
- mpf/reldiff.c mpf/sqrt.c mpf/random2.c mpf/inp_str.c \
- mpf/out_str.c mpf/add.c mpf/add_ui.c mpf/sub.c mpf/sub_ui.c \
- mpf/ui_sub.c mpf/mul.c mpf/mul_ui.c mpf/div.c mpf/div_ui.c \
- mpf/cmp.c mpf/cmp_ui.c mpf/cmp_si.c mpf/mul_2exp.c \
- mpf/div_2exp.c mpf/abs.c mpf/neg.c mpf/set_q.c mpf/get_d.c \
- mpf/set_dfl_prec.c mpf/set_prc.c mpf/set_prc_raw.c \
- mpf/get_prc.c mpf/ui_div.c mpf/sqrt_ui.c
-
-MPQ_SRCS= mpq/add.c mpq/canonicalize.c mpq/clear.c mpq/cmp.c \
- mpq/cmp_ui.c mpq/div.c mpq/get_d.c mpq/get_den.c mpq/get_num.c \
- mpq/init.c mpq/inv.c mpq/mul.c mpq/neg.c mpq/set.c \
- mpq/set_den.c mpq/set_num.c mpq/set_si.c mpq/set_ui.c \
- mpq/sub.c mpq/equal.c mpq/set_z.c
-
-SRCS= memory.c mp_set_fns.c mp_clz_tab.c version.c stack-alloc.c mp_bpl.c \
- extract-double.c insert-double.c \
- ${MPN_SRC_ASM} \
- asm-syntax.h sysdep.h
-
-# Look though the generic C source for names that don't have assembly
-# source version.
-.for _src in ${MPN_SRC_C}
-.if (${MPN_SRC_ASM:R:M${_src:R}} == "")
-SRCS+=$(_src)
-.endif
-.endfor
-
-SRCS+= ${MPZ_SRCS} ${MPF_SRCS} ${MPQ_SRCS}
-
-.if defined(OBJFORMAT) && ${OBJFORMAT} == elf
-
-sysdep.h: ${GMPDIR}/mpn/sysv.h
- cp ${GMPDIR}/mpn/sysv.h sysdep.h
-
-asm-syntax.h:
- (echo "#define ELF_SYNTAX" ; \
- echo "#include \"syntax.h\"") > asm-syntax.h
-.else
-
-sysdep.h: ${GMPDIR}/mpn/bsd.h
- cp ${GMPDIR}/mpn/bsd.h sysdep.h
-
-asm-syntax.h:
- (echo "#define BSD_SYNTAX" ; \
- echo "#include \"syntax.h\"") > asm-syntax.h
-
-CFLAGS+= -DBROKEN_ALIGN
-
-.endif
-
-beforedepend all: mpz mpf mpq
-
-CLEANFILES+= sysdep.h asm-syntax.h
-
-# Grrr. This package contains modules in separate subdirs that have the
-# same name. Nasty hack to keep them from being found by being in
-# .PATH:s
-#
-mpz mpf mpq:
- mkdir ${.TARGET}
-
-CLEANDIRS+= ${.OBJDIR}/mpz \
- ${.OBJDIR}/mpf \
- ${.OBJDIR}/mpq
-
-beforeinstall:
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${GMPDIR}/gmp.h ${DESTDIR}/usr/include
-
-.include "Makefile.inc"
-.include <bsd.lib.mk>
diff --git a/gnu/lib/libgmp/Makefile.inc b/gnu/lib/libgmp/Makefile.inc
deleted file mode 100644
index f433aca..0000000
--- a/gnu/lib/libgmp/Makefile.inc
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# $FreeBSD$
-#
-
-SHLIB_MAJOR= 3
-SHLIB_MINOR= 0
-
-.if exists(${.OBJDIR})
-CFLAGS+= -I${.OBJDIR}
-.else
-CFLAGS+= -I${.CURDIR}
-.endif
diff --git a/gnu/lib/libgmp/doc/Makefile b/gnu/lib/libgmp/doc/Makefile
deleted file mode 100644
index afe15d1..0000000
--- a/gnu/lib/libgmp/doc/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# $FreeBSD$
-#
-INFO = gmp
-INFOSECTION= "Programming & development tools."
-
-SRCDIR= ${.CURDIR}/../../../../contrib/libgmp
-
-.include <bsd.info.mk>
diff --git a/gnu/lib/libmp/Makefile b/gnu/lib/libmp/Makefile
deleted file mode 100644
index 96dc9fc..0000000
--- a/gnu/lib/libmp/Makefile
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# $FreeBSD$
-#
-
-LIB= mp
-
-GMPDIR= ${.CURDIR}/../../../contrib/libgmp
-
-.if ${MACHINE_ARCH} == "alpha"
-.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/alpha ${GMPDIR}/mpn/generic \
- ${GMPDIR}/mpbsd
-
-CFLAGS+= -I${GMPDIR}/mpn/alpha -I${GMPDIR}/mpz -DBERKELEY_MP
-
-MPN_SRC_ASM= add_n.s addmul_1.s lshift.s mul_1.s rshift.s sub_n.s submul_1.s udiv_qrnnd.S
-
-.elif ${MACHINE_ARCH} == "i386"
-.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/x86 ${GMPDIR}/mpn/generic \
- ${GMPDIR}/mpbsd
-
-CFLAGS+= -I${GMPDIR}/mpn/x86 -I${GMPDIR}/mpz -DBERKELEY_MP
-
-MPN_SRC_ASM= add_n.S addmul_1.S lshift.S mul_1.S rshift.S sub_n.S submul_1.S
-
-.elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
-.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/mips3 ${GMPDIR}/mpn/generic \
- ${GMPDIR}/mpbsd
-
-CFLAGS+= -I${GMPDIR}/mpn/mips3 -I${GMPDIR}/mpz -DBERKELEY_MP
-
-MPN_SRC_ASM= add_n.s addmul_1.s lshift.s mul_1.s rshift.s sub_n.s submul_1.s
-.elif ${MACHINE_ARCH} == "m68k"
-.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/m68k ${GMPDIR}/mpn/generic \
- ${GMPDIR}/mpbsd
-
-CFLAGS+= -I${GMPDIR}/mpn/m68k -I${GMPDIR}/mpz -DBERKELEY_MP
-
-MPN_SRC_ASM= add_n.S lshift.S rshift.S sub_n.S
-
-.elif ${MACHINE_ARCH} == "arm32" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "ppc" || ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
-.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/generic ${GMPDIR}/mpbsd
-
-CFLAGS+= -I${GMPDIR}/mpz -DBERKELEY_MP
-
-MPN_SRC_ASM=
-.endif
-
-CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
-
-MPN_SRC_C= add_n.c addmul_1.c bdivmod.c cmp.c divmod_1.c divrem.c \
- divrem_1.c dump.c gcd.c gcd_1.c gcdext.c get_str.c hamdist.c \
- inlines.c lshift.c mod_1.c mul.c mul_1.c mul_n.c perfsqr.c \
- popcount.c pre_mod_1.c random2.c rshift.c scan0.c scan1.c \
- set_str.c sqrtrem.c mp_bases.c
-
-MPBSD_LINKS= mpz/add.c mpz/cmp.c mpz/gcd.c mpz/mul.c mpz/pow_ui.c \
- mpz/powm.c mpz/sqrtrem.c mpz/sub.c mpz/realloc.c
-MPBSD_SRCS= itom.c mdiv.c mfree.c min.c mout.c move.c mtox.c sdiv.c xtom.c \
- realloc.c $(MPBSD_LINKS)
-
-SRCS= memory.c mp_set_fns.c mp_clz_tab.c version.c stack-alloc.c \
- mp_bpl.c extract-double.c insert-double.c \
- ${MPN_SRC_ASM} \
- asm-syntax.h sysdep.h
-
-# Look though the generic C source for names that don't have assembly
-# source version.
-.for _src in ${MPN_SRC_C}
-.if (${MPN_SRC_ASM:R:M${_src:R}} == "")
-SRCS+=$(_src)
-.endif
-.endfor
-
-SRCS+= ${MPBSD_SRCS}
-
-beforedepend all: mpz
-
-.if defined(OBJFORMAT) && ${OBJFORMAT} == elf
-
-sysdep.h: ${GMPDIR}/mpn/sysv.h
- cp ${GMPDIR}/mpn/sysv.h sysdep.h
-
-asm-syntax.h:
- (echo "#define ELF_SYNTAX" ; \
- echo "#include \"syntax.h\"") > asm-syntax.h
-.else
-
-sysdep.h: ${GMPDIR}/mpn/bsd.h
- cp ${GMPDIR}/mpn/bsd.h sysdep.h
-
-asm-syntax.h:
- (echo "#define BSD_SYNTAX" ; \
- echo "#include \"syntax.h\"") > asm-syntax.h
-
-CFLAGS+= -DBROKEN_ALIGN
-
-.endif
-
-CLEANFILES+= sysdep.h asm-syntax.h
-
-# Grrr. This package contains modules in separate subdirs that have the
-# same name. Nasty hack to keep them from being found by being in
-# .PATH:s
-#
-mpz:
- mkdir ${.TARGET}
-
-CLEANDIRS+= ${.OBJDIR}/mpz ${.CURDIR}/mpz
-
-beforeinstall:
- ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${GMPDIR}/mp.h ${DESTDIR}/usr/include
-
-.include "../libgmp/Makefile.inc"
-.include <bsd.lib.mk>
OpenPOWER on IntegriCloud