-
-
Notifications
You must be signed in to change notification settings - Fork 31.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
11,093 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
################################################################ | ||
# Process this file with top-level configure script to produce Makefile | ||
# | ||
# Copyright 2000 Clark Cooper | ||
# | ||
# This file is part of EXPAT. | ||
# | ||
# EXPAT is free software; you can redistribute it and/or modify it | ||
# under the terms of the License (based on the MIT/X license) contained | ||
# in the file COPYING that comes with this distribution. | ||
# | ||
# EXPAT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT. | ||
# | ||
|
||
|
||
SHELL = @SHELL@ | ||
|
||
srcdir = @srcdir@ | ||
top_srcdir = @top_srcdir@ | ||
VPATH = @srcdir@ | ||
prefix = @prefix@ | ||
exec_prefix = @exec_prefix@ | ||
|
||
bindir = @bindir@ | ||
sbindir = @sbindir@ | ||
libexecdir = @libexecdir@ | ||
datadir = @datadir@ | ||
sysconfdir = @sysconfdir@ | ||
sharedstatedir = @sharedstatedir@ | ||
localstatedir = @localstatedir@ | ||
libdir = @libdir@ | ||
infodir = @infodir@ | ||
mandir = @mandir@ | ||
includedir = @includedir@ | ||
oldincludedir = /usr/include | ||
|
||
subdir = lib | ||
|
||
top_builddir = .. | ||
|
||
INSTALL = @INSTALL@ | ||
INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
INSTALL_DATA = @INSTALL_DATA@ | ||
|
||
host_alias = @host_alias@ | ||
host_triplet = @host@ | ||
AS = @AS@ | ||
CC = @CC@ | ||
DLLTOOL = @DLLTOOL@ | ||
LIBTOOL = @LIBTOOL@ | ||
LN_S = @LN_S@ | ||
OBJDUMP = @OBJDUMP@ | ||
PACKAGE = @PACKAGE@ | ||
RANLIB = @RANLIB@ | ||
VERSION = @VERSION@ | ||
|
||
LIBRARY = libexpat.la | ||
SOURCES = xmlparse.c xmltok.c xmlrole.c | ||
OBJECTS = $(SOURCES:.c=.o) | ||
LTOBJECTS = $(SOURCES:.c=.lo) | ||
|
||
TEMPLATES = xmltok_impl.c xmltok_ns.c | ||
APIHEADER = expat.h | ||
HEADERS = ascii.h iasciitab.h utf8tab.h xmltok.h asciitab.h latin1tab.h \ | ||
nametab.h xmldef.h xmlrole.h xmltok_impl.h | ||
|
||
mkinstalldirs = $(SHELL) $(top_srcdir)/conftools/mkinstalldirs | ||
CONFIG_HEADER = ../config.h | ||
CONFIG_CLEAN_FILES = | ||
|
||
INCLUDES = -I$(srcdir) -I. -I.. | ||
DEFS = @DEFS@ -DPACKAGE='"$(PACKAGE)"' -DVERSION='"$(PACKAGE)_$(VERSION)"' | ||
|
||
CPPFLAGS = @CPPFLAGS@ | ||
LDFLAGS = @LDFLAGS@ | ||
LIBS = @LIBS@ | ||
CFLAGS = @CFLAGS@ | ||
|
||
LIBREVISION = @LIBREVISION@ | ||
LIBCURRENT = @LIBCURRENT@ | ||
LIBAGE = @LIBAGE@ | ||
|
||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | ||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) | ||
CCLD = $(CC) | ||
LINK = $(LIBTOOL) --mode=link $(CCLD) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) $(CFLAGS) $(LDFLAGS) -o $@ | ||
DIST_COMMON = Makefile.in | ||
|
||
|
||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(TEMPLATES) $(APIHEADER) $(HEADERS) | ||
|
||
TAR = gtar | ||
GZIP_ENV = --best | ||
|
||
all: $(LIBRARY) | ||
|
||
.SUFFIXES: .c .lo .o | ||
.PHONY: all clean distclean maintainer-clean | ||
|
||
.c.o: | ||
$(COMPILE) -c $< | ||
|
||
.c.lo: | ||
$(LTCOMPILE) -c $< | ||
|
||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
cd $(top_builddir) \ | ||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | ||
|
||
$(top_builddir)/config.status: $(top_builddir)/configure | ||
cd $(top_builddir) && $(MAKE) config.status | ||
|
||
$(top_builddir)/config.h: $(top_builddir)/config.h.in | ||
cd $(top_builddir) && $(MAKE) config.h | ||
|
||
clean: | ||
rm -f $(LIBRARY) *.o *.lo *~ | ||
rm -rf .libs _libs | ||
|
||
distclean: clean | ||
rm -f Makefile | ||
|
||
maintainer-clean: distclean | ||
|
||
check: $(SUBDIRS) | ||
@echo | ||
@echo This package does not yet have a regression test. | ||
@echo | ||
|
||
install: $(LIBRARY) $(APIHEADER) | ||
$(mkinstalldirs) $(libdir) $(includedir) | ||
$(LIBTOOL) --mode=install $(INSTALL) $(LIBRARY) $(libdir)/$(LIBRARY) | ||
$(INSTALL_DATA) $(APIHEADER) $(includedir) | ||
|
||
uninstall: | ||
$(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(LIBRARY); | ||
rm -f $(libdir)/$(APIHEADER) | ||
|
||
$(LIBRARY): $(LTOBJECTS) | ||
$(LINK) -rpath $(libdir) $(LDFLAGS) $(LTOBJECTS) | ||
|
||
xmlparse.o \ | ||
xmlparse.lo: xmlparse.c expat.h xmlrole.h xmltok.h $(top_builddir)/config.h | ||
|
||
xmlrole.o \ | ||
xmlrole.lo: xmlrole.c ascii.h xmlrole.h $(top_builddir)/config.h | ||
|
||
xmltok.o \ | ||
xmltok.lo: xmltok.c xmltok_impl.c xmltok_ns.c \ | ||
ascii.h asciitab.h iasciitab.h latin1tab.h nametab.h utf8tab.h \ | ||
xmltok.h xmltok_impl.h $(top_builddir)/config.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* | ||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd | ||
See the file COPYING for copying permission. | ||
*/ | ||
|
||
#define ASCII_A 0x41 | ||
#define ASCII_B 0x42 | ||
#define ASCII_C 0x43 | ||
#define ASCII_D 0x44 | ||
#define ASCII_E 0x45 | ||
#define ASCII_F 0x46 | ||
#define ASCII_G 0x47 | ||
#define ASCII_H 0x48 | ||
#define ASCII_I 0x49 | ||
#define ASCII_J 0x4A | ||
#define ASCII_K 0x4B | ||
#define ASCII_L 0x4C | ||
#define ASCII_M 0x4D | ||
#define ASCII_N 0x4E | ||
#define ASCII_O 0x4F | ||
#define ASCII_P 0x50 | ||
#define ASCII_Q 0x51 | ||
#define ASCII_R 0x52 | ||
#define ASCII_S 0x53 | ||
#define ASCII_T 0x54 | ||
#define ASCII_U 0x55 | ||
#define ASCII_V 0x56 | ||
#define ASCII_W 0x57 | ||
#define ASCII_X 0x58 | ||
#define ASCII_Y 0x59 | ||
#define ASCII_Z 0x5A | ||
|
||
#define ASCII_a 0x61 | ||
#define ASCII_b 0x62 | ||
#define ASCII_c 0x63 | ||
#define ASCII_d 0x64 | ||
#define ASCII_e 0x65 | ||
#define ASCII_f 0x66 | ||
#define ASCII_g 0x67 | ||
#define ASCII_h 0x68 | ||
#define ASCII_i 0x69 | ||
#define ASCII_j 0x6A | ||
#define ASCII_k 0x6B | ||
#define ASCII_l 0x6C | ||
#define ASCII_m 0x6D | ||
#define ASCII_n 0x6E | ||
#define ASCII_o 0x6F | ||
#define ASCII_p 0x70 | ||
#define ASCII_q 0x71 | ||
#define ASCII_r 0x72 | ||
#define ASCII_s 0x73 | ||
#define ASCII_t 0x74 | ||
#define ASCII_u 0x75 | ||
#define ASCII_v 0x76 | ||
#define ASCII_w 0x77 | ||
#define ASCII_x 0x78 | ||
#define ASCII_y 0x79 | ||
#define ASCII_z 0x7A | ||
|
||
#define ASCII_0 0x30 | ||
#define ASCII_1 0x31 | ||
#define ASCII_2 0x32 | ||
#define ASCII_3 0x33 | ||
#define ASCII_4 0x34 | ||
#define ASCII_5 0x35 | ||
#define ASCII_6 0x36 | ||
#define ASCII_7 0x37 | ||
#define ASCII_8 0x38 | ||
#define ASCII_9 0x39 | ||
|
||
#define ASCII_TAB 0x09 | ||
#define ASCII_SPACE 0x20 | ||
#define ASCII_EXCL 0x21 | ||
#define ASCII_QUOT 0x22 | ||
#define ASCII_AMP 0x26 | ||
#define ASCII_APOS 0x27 | ||
#define ASCII_MINUS 0x2D | ||
#define ASCII_PERIOD 0x2E | ||
#define ASCII_COLON 0x3A | ||
#define ASCII_SEMI 0x3B | ||
#define ASCII_LT 0x3C | ||
#define ASCII_EQUALS 0x3D | ||
#define ASCII_GT 0x3E | ||
#define ASCII_LSQB 0x5B | ||
#define ASCII_RSQB 0x5D | ||
#define ASCII_UNDERSCORE 0x5F |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd | ||
See the file COPYING for copying permission. | ||
*/ | ||
|
||
/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x04 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x08 */ BT_NONXML, BT_S, BT_LF, BT_NONXML, | ||
/* 0x0C */ BT_NONXML, BT_CR, BT_NONXML, BT_NONXML, | ||
/* 0x10 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x14 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x18 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x1C */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML, | ||
/* 0x20 */ BT_S, BT_EXCL, BT_QUOT, BT_NUM, | ||
/* 0x24 */ BT_OTHER, BT_PERCNT, BT_AMP, BT_APOS, | ||
/* 0x28 */ BT_LPAR, BT_RPAR, BT_AST, BT_PLUS, | ||
/* 0x2C */ BT_COMMA, BT_MINUS, BT_NAME, BT_SOL, | ||
/* 0x30 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT, | ||
/* 0x34 */ BT_DIGIT, BT_DIGIT, BT_DIGIT, BT_DIGIT, | ||
/* 0x38 */ BT_DIGIT, BT_DIGIT, BT_COLON, BT_SEMI, | ||
/* 0x3C */ BT_LT, BT_EQUALS, BT_GT, BT_QUEST, | ||
/* 0x40 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX, | ||
/* 0x44 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT, | ||
/* 0x48 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x4C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x50 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x54 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x58 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_LSQB, | ||
/* 0x5C */ BT_OTHER, BT_RSQB, BT_OTHER, BT_NMSTRT, | ||
/* 0x60 */ BT_OTHER, BT_HEX, BT_HEX, BT_HEX, | ||
/* 0x64 */ BT_HEX, BT_HEX, BT_HEX, BT_NMSTRT, | ||
/* 0x68 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x6C */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x70 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x74 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, | ||
/* 0x78 */ BT_NMSTRT, BT_NMSTRT, BT_NMSTRT, BT_OTHER, | ||
/* 0x7C */ BT_VERBAR, BT_OTHER, BT_OTHER, BT_OTHER, |
Oops, something went wrong.