From ca555a3a74071975d21fb76b75ad142377c96b1b Mon Sep 17 00:00:00 2001 From: John Marino Date: Sat, 29 Sep 2012 19:39:13 +0200 Subject: [PATCH] mpc: Add DragonFly READMEs and world makefiles --- contrib/mpc/README.DELETED | 23 +++++++ contrib/mpc/README.DRAGONFLY | 12 ++++ gnu/usr.bin/mpc/Makefile | 27 ++++++++ gnu/usr.bin/mpc/config.h | 124 +++++++++++++++++++++++++++++++++++ 4 files changed, 186 insertions(+) create mode 100644 contrib/mpc/README.DELETED create mode 100644 contrib/mpc/README.DRAGONFLY create mode 100644 gnu/usr.bin/mpc/Makefile create mode 100644 gnu/usr.bin/mpc/config.h diff --git a/contrib/mpc/README.DELETED b/contrib/mpc/README.DELETED new file mode 100644 index 0000000000..78dcc5ad32 --- /dev/null +++ b/contrib/mpc/README.DELETED @@ -0,0 +1,23 @@ +ChangeLog +INSTALL +Makefile.am +Makefile.in +Makefile.vc +NEWS +TODO +aclocal.m4 +ar-lib +config.guess +config.h.in +config.sub +configure +configure.ac +depcomp +doc/ +install-sh +ltmain.sh +m4/ +missing +src/Makefile.am +src/Makefile.in +tests/ diff --git a/contrib/mpc/README.DRAGONFLY b/contrib/mpc/README.DRAGONFLY new file mode 100644 index 0000000000..ebe991cb1b --- /dev/null +++ b/contrib/mpc/README.DRAGONFLY @@ -0,0 +1,12 @@ +GNU MPC 1.0.1 +============= + +Original source can be downloaded from: +http://www.multiprecision.org/mpc/download/ + +file = mpc-1.0.1.tar.gz +date = 6 SEP 2012 +size = 624125 +sha1 = 8c7e19ad0dd9b3b5cc652273403423d6cf0c5edf + +A list of files and directories removed is in README.DELETED diff --git a/gnu/usr.bin/mpc/Makefile b/gnu/usr.bin/mpc/Makefile new file mode 100644 index 0000000000..759b619511 --- /dev/null +++ b/gnu/usr.bin/mpc/Makefile @@ -0,0 +1,27 @@ +CONTRIBDIR= ${.CURDIR}/../../../contrib/mpc/src +.PATH: ${CONTRIBDIR} + +LIB= mpc +INTERNALLIB= # yes + +CFLAGS+= -I${CONTRIBDIR} +CFLAGS+= -I${.OBJDIR} +CFLAGS+= -I${.CURDIR}/../gmp +CFLAGS+= -I${.CURDIR}/../../../contrib/mpfr/src +CFLAGS+= -DHAVE_CONFIG_H + +# almost verbatim from mpc Makefile + +SRCS= mpc-impl.h abs.c acos.c acosh.c add.c add_fr.c \ + add_si.c add_ui.c arg.c asin.c asinh.c atan.c atanh.c clear.c cmp.c \ + cmp_si_si.c conj.c cos.c cosh.c div_2si.c div_2ui.c div.c div_fr.c \ + div_ui.c exp.c fma.c fr_div.c fr_sub.c get_prec2.c get_prec.c \ + get_version.c get_x.c imag.c init2.c init3.c inp_str.c log.c log10.c \ + mem.c mul_2si.c mul_2ui.c mul.c mul_fr.c mul_i.c mul_si.c mul_ui.c \ + neg.c norm.c out_str.c pow.c pow_fr.c \ + pow_ld.c pow_d.c pow_si.c pow_ui.c pow_z.c proj.c real.c urandom.c set.c \ + set_prec.c set_str.c set_x.c set_x_x.c sin.c sin_cos.c sinh.c sqr.c \ + sqrt.c strtoc.c sub.c sub_fr.c sub_ui.c swap.c tan.c tanh.c uceil_log2.c \ + ui_div.c ui_ui_sub.c + +.include diff --git a/gnu/usr.bin/mpc/config.h b/gnu/usr.bin/mpc/config.h new file mode 100644 index 0000000000..e58866e646 --- /dev/null +++ b/gnu/usr.bin/mpc/config.h @@ -0,0 +1,124 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* complex.h present and usable */ +#define HAVE_COMPLEX_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the `dup' function. */ +#define HAVE_DUP 1 + +/* Define to 1 if you have the `dup2' function. */ +#define HAVE_DUP2 1 + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Define to 1 if the system has the type `intptr_t'. */ +/* #undef HAVE_INTPTR_T */ + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Library dl present */ +/* #undef HAVE_LIBDL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the `localeconv' function. */ +#define HAVE_LOCALECONV 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* C compiler */ +#define MPC_CC "cc" + +/* Gcc yes or no */ +#define MPC_GCC "yes" + +/* Version of gcc */ +#define MPC_GCC_VERSION "4.4.7" + +/* Do not check mpc_out_str on stdout */ +/* #undef MPC_NO_STREAM_REDIRECTION */ + +/* Use valgrind for make check */ +/* #undef MPC_USE_VALGRIND */ + +/* Name of package */ +#define PACKAGE "mpc" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "mpc-discuss@lists.gforge.inria.fr" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "mpc" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "mpc 1.0" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "mpc" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.0" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Version number of package */ +#define VERSION "1.0.1" + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to the type of a signed integer type wide enough to hold a pointer, + if such a type exists, and if the system does not define it. */ +/* #undef intptr_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ -- 2.41.0