diff options
author | phk <phk@FreeBSD.org> | 2002-10-02 07:35:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-02 07:35:35 +0000 |
commit | 5ff1c2ca91a798f439d3faddefe07a58f3713328 (patch) | |
tree | 2e62c315befbadd1bf877b06d04d652fd6ee1a20 /lib/libexpat | |
parent | 1b548b1eb41e72c2210b3a837ddf6fea14fe4cd7 (diff) | |
download | FreeBSD-src-5ff1c2ca91a798f439d3faddefe07a58f3713328.zip FreeBSD-src-5ff1c2ca91a798f439d3faddefe07a58f3713328.tar.gz |
Build libexpat out of src/contrib/expat.
Not connected to the build yet.
Diffstat (limited to 'lib/libexpat')
-rw-r--r-- | lib/libexpat/Makefile | 20 | ||||
-rw-r--r-- | lib/libexpat/expat_config.h | 89 |
2 files changed, 109 insertions, 0 deletions
diff --git a/lib/libexpat/Makefile b/lib/libexpat/Makefile new file mode 100644 index 0000000..4081aa8 --- /dev/null +++ b/lib/libexpat/Makefile @@ -0,0 +1,20 @@ +# $FreeBSD$ + +EXPAT= ${.CURDIR}/../../contrib/expat + +# Please use the same SHLIB_MAJOR as for the corresponding expat +# version in ports, as long as this is applicable. + +SHLIB_MAJOR= 4 + +LIB= expat + +.PATH: ${EXPAT}/lib + +CFLAGS += -I${EXPAT}/lib -I${EXPAT} -I${.CURDIR} + +SRCS= xmlparse.c xmlrole.c xmltok.c + +INCS= expat.h + +.include <bsd.lib.mk> diff --git a/lib/libexpat/expat_config.h b/lib/libexpat/expat_config.h new file mode 100644 index 0000000..036c4d3 --- /dev/null +++ b/lib/libexpat/expat_config.h @@ -0,0 +1,89 @@ +/* $FreeBSD$ */ + +/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */ +#define BYTEORDER 1234 + +/* Define to 1 if you have the `bcopy' function. */ +#define HAVE_BCOPY 1 + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `getpagesize' function. */ +#define HAVE_GETPAGESIZE 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have a working `mmap' system call. */ +#define HAVE_MMAP 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "expat-bugs@mail.libexpat.org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "expat" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "expat 1.95.5" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "expat" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "1.95.5" + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* whether byteorder is bigendian */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to specify how much context to retain around the current parse + point. */ +#define XML_CONTEXT_BYTES 1024 + +/* Define to make parameter entity parsing functionality available. */ +#define XML_DTD 1 + +/* Define to make XML Namespaces functionality available. */ +#define XML_NS 1 + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `long' if <sys/types.h> does not define. */ +/* #undef off_t */ + +/* Define to `unsigned' if <sys/types.h> does not define. */ +/* #undef size_t */ |