aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/expat
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
commitf4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch)
tree2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/lib/expat
parenta840692edc9c6d19cd7c057f68e39c7d95eb767d (diff)
downloadnx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/lib/expat')
-rw-r--r--nx-X11/lib/expat/Imakefile53
-rw-r--r--nx-X11/lib/expat/expat-def.cpp73
-rw-r--r--nx-X11/lib/expat/expat_config.h65
3 files changed, 191 insertions, 0 deletions
diff --git a/nx-X11/lib/expat/Imakefile b/nx-X11/lib/expat/Imakefile
new file mode 100644
index 000000000..c7ff20bb3
--- /dev/null
+++ b/nx-X11/lib/expat/Imakefile
@@ -0,0 +1,53 @@
+XCOMM $XFree86: xc/lib/expat/Imakefile,v 1.8tsi Exp $
+
+#define DoNormalLib NormalLibExpat
+#define DoSharedLib SharedLibExpat
+#define DoExtraLib SharedLibExpat
+#define DoDebugLib DebugLibExpat
+#define DoProfileLib ProfileLibExpat
+#define HasSharedData YES
+#define LibName expat
+#define SoRev SOEXPATREV
+#ifdef SharedLibtoolExpatRev
+#define SharedLibtoolRev SharedLibtoolExpatRev
+#endif
+#define LibHeaders YES
+
+#include <Threads.tmpl>
+
+EXPATTOP = $(TOP)/extras/expat
+EXPATSRC = $(EXPATTOP)/lib
+EXPATINC = $(EXPATTOP)/lib
+
+INCLUDES = -I$(EXPATINC) -I$(EXPATTOP) -I.
+
+/*
+ * Endianness (for short's)
+ *
+ * XML_BYTE_ORDER == 12 big endian
+ * XML_BYTE_ORDER == 21 little endian
+ * XML_BYTE_ORDER == anything else determined at run-time.
+ */
+DEFINES = -DXML_BYTE_ORDER=0 -DX_BYTE_ORDER=$(X_BYTE_ORDER)
+REQUIREDLIBS=$(LDPRELIBS)
+
+SRCS = xmlparse.c xmltok.c xmlrole.c
+OBJS = xmlparse.o xmltok.o xmlrole.o
+
+HEADERS = expat.h
+
+#include <Library.tmpl>
+
+#if DoSharedLib && SharedDataSeparation
+SpecialCObjectRule(sharedlib,NullParameter,$(SHLIBDEF))
+#endif
+
+
+DependTarget()
+
+LinkSourceFile(xmlparse.c,$(EXPATSRC))
+LinkSourceFile(xmltok.c,$(EXPATSRC))
+LinkSourceFile(xmlrole.c,$(EXPATSRC))
+LinkSourceFile(expat.h,$(EXPATINC))
+
+
diff --git a/nx-X11/lib/expat/expat-def.cpp b/nx-X11/lib/expat/expat-def.cpp
new file mode 100644
index 000000000..d5fd2e3cc
--- /dev/null
+++ b/nx-X11/lib/expat/expat-def.cpp
@@ -0,0 +1,73 @@
+LIBRARY expat
+VERSION LIBRARY_VERSION
+EXPORTS
+XML_DefaultCurrent
+XML_ErrorString
+XML_ExpatVersion
+XML_ExpatVersionInfo
+XML_ExternalEntityParserCreate
+XML_GetBase
+XML_GetBuffer
+XML_GetCurrentByteCount
+XML_GetCurrentByteIndex
+XML_GetCurrentColumnNumber
+XML_GetCurrentLineNumber
+XML_GetErrorCode
+XML_GetIdAttributeIndex
+XML_GetInputContext
+XML_GetSpecifiedAttributeCount
+XML_Parse
+XML_ParseBuffer
+XML_ParserCreate
+XML_ParserCreateNS
+XML_ParserCreate_MM
+XML_ParserFree
+XML_SetAttlistDeclHandler
+XML_SetBase
+XML_SetCdataSectionHandler
+XML_SetCharacterDataHandler
+XML_SetCommentHandler
+XML_SetDefaultHandler
+XML_SetDefaultHandlerExpand
+XML_SetDoctypeDeclHandler
+XML_SetElementDeclHandler
+XML_SetElementHandler
+XML_SetEncoding
+XML_SetEndCdataSectionHandler
+XML_SetEndDoctypeDeclHandler
+XML_SetEndElementHandler
+XML_SetEndNamespaceDeclHandler
+XML_SetEntityDeclHandler
+XML_SetExternalEntityRefHandler
+XML_SetExternalEntityRefHandlerArg
+XML_SetNamespaceDeclHandler
+XML_SetNotStandaloneHandler
+XML_SetNotationDeclHandler
+XML_SetParamEntityParsing
+XML_SetProcessingInstructionHandler
+XML_SetReturnNSTriplet
+XML_SetStartCdataSectionHandler
+XML_SetStartDoctypeDeclHandler
+XML_SetStartElementHandler
+XML_SetStartNamespaceDeclHandler
+XML_SetUnknownEncodingHandler
+XML_SetUnparsedEntityDeclHandler
+XML_SetUserData
+XML_SetXmlDeclHandler
+XML_UseParserAsHandlerArg
+XmlPrologStateInit
+XmlPrologStateInitExternalEntity
+XmlGetUtf16InternalEncoding
+XmlGetUtf16InternalEncodingNS
+XmlGetUtf8InternalEncoding
+XmlGetUtf8InternalEncodingNS
+XmlInitEncoding
+XmlInitEncodingNS
+XmlInitUnknownEncoding
+XmlInitUnknownEncodingNS
+XmlParseXmlDecl
+XmlParseXmlDeclNS
+XmlSizeOfUnknownEncoding
+XmlUtf16Encode
+XmlUtf8Encode
+/* $XFree86$ */
diff --git a/nx-X11/lib/expat/expat_config.h b/nx-X11/lib/expat/expat_config.h
new file mode 100644
index 000000000..4a0e05c16
--- /dev/null
+++ b/nx-X11/lib/expat/expat_config.h
@@ -0,0 +1,65 @@
+/* $XFree86: xc/lib/expat/expat_config.h,v 1.2 2003/04/12 13:50:16 tsi Exp $ */
+/* config.h. Generated automatically by configure. */
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+#include <X11/Xos.h>
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define if you have a working `mmap' system call. */
+/* #undef HAVE_MMAP */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+#ifndef X_NOT_POSIX
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+#endif
+
+/* Define if you have the bcopy function. */
+/* #undef HAVE_BCOPY */
+
+/* Define if you have the getpagesize function. */
+/* #undef HAVE_GETPAGESIZE */
+
+/* Define if you have the memmove function. */
+#define HAVE_MEMMOVE 1
+
+#if X_BYTE_ORDER==X_BIG_ENDIAN
+#define BYTEORDER 4321
+#endif
+
+#if X_BYTE_ORDER==X_LITTLE_ENDIAN
+#define BYTEORDER 1234
+#endif
+
+#ifndef BYTEORDER
+#error "Unknown byte order"
+#endif
+
+#define XML_NS
+#define XML_DTD
+
+#define XML_CONTEXT_BYTES 1024
+
+#ifndef HAVE_MEMMOVE
+#ifdef HAVE_BCOPY
+#define memmove(d,s,l) bcopy((s),(d),(l))
+#else
+#define memmove(d,s,l) ;punting on memmove;
+#endif
+
+#endif