#
#	Makefile
#
#	Expat
#
#	* Tue Jun 27 04:51:11 JST 2006 Naoyuki Sawa
#	- P/ECEւ̎荞݂JnA܂BmF́A܂s[łB
#	  ύXÕt@ĆA../keep/expat-2.0.0.tar.gz ɕۑĂ܂B
#	* Thu Jun 29 17:53:14 JST 2006 Naoyuki Sawa
#	- ExpatCũRpCɁAXML_MIN_SIZE}Nwǉ܂B
#	* Sat May 17 16:37:27 JST 2014 Naoyuki Sawa
#	- Cuo[WuRelease 2.0.0vˁuRelease 2.1.0vɍXV܂B
#	  URL: http://sourceforge.jp/projects/sfnet_expat/downloads/expat/2.1.0/expat-2.1.0.tar.gz/
#	  ύXÕt@ĆA../keep/expat-2.1.0.tar.gz ɕۑĂ܂B
#	- ܂ł́ACu\[X𐔉ӏڕύXāAP/ECEɑΉĂ܂B
#	  2006NACLiPCustddef.hŁARpCɃG[o߂łB
#	  2014Ń݂ACLiPCustddef.h𐮔AL̖͉Ă܂B
#	  ŁACu\[X𒼐ڕύX̂߂āÂ܂܃Rs[悤ɂ܂B
#	  MakefileȊÕt@ĆAuexpat-2.1.0/libvtH_̃\[Xt@Ĉ܂܂łB
#	- ExpatCũRpCɁAHAVE_MEMMOVE}Nwǉ܂B
#	  Cu\[X𒼐ڕύX̂߂邽߂ɂ́AvbgtH[ɍ킹HAVE_MEMMOVEw肷Kv邩łB
#	  Windows,Amiga,Mac̏ꍇ́AX̃RtBOt@CŒ`Ă܂AP/ECȄꍇ͎Ŏw肷Kv܂B
#	- AuRelease 2.0.0vˁuRelease 2.1.0vɕύX̓쌟؂A܂P/ECEōsĂ܂B
#	  clipobj3W[Expat𗘗pĂ̂ŁAclipobj3gp鎞ɁA쌟؂s\łB
#

#DEBUG=1
#TRACE=1
CLIP=..

#############################################################################
#	}N`
#############################################################################

# clip.libɊ܂߂IuWFNgt@C񋓂ĂB
OBJS =	xmltok.o	\
	xmlrole.o	\
	xmlparse.o
#	xmltok_ns.o   xmltok.cincludeĂBPƂŃRpCȂB
#	xmltok_impl.o xmltok.cincludeĂBPƂŃRpCȂB

# wb_t@C񋓂ĂB
HEADERS = *.h

# vWFNgʂ̃RpCEJIvV`ĂB
# iCN[hpXACupXACut@C̗񋓓j
#
# * Thu Jun 29 17:53:14 JST 2006 Naoyuki Sawa
# - ExpatCũRpCɁAXML_MIN_SIZE}Nwǉ܂B
#   ̗RɂāAȉɋL^Ă܂B
#	
#	ExpatCũRpCɁA̃}N`邱ƂɂA@\ǉTCYጸ\łB
#	Using Expat By Clark Cooper September 01, 1999 (http://www.xml.com/lpt/a/1999/09/expat/index.html) ɁA
#	ȉ̂悤ȋLq܂B(2006/06/29݂̂̃y[WAkeeptH_ɕۑĂ܂B)
#	
#	| Compile time conditionals
#	| There are a few compiletime macros that control how the compiled expat behaves: 
#	| 
#	| XML_UNICODE 
#	|   Use UTF-16 internally and pass strings to application using UTF-16 instead of UTF-8.
#	|   This changes the type definition of XML_Char, which would otherwise be defined as char. 
#	| 
#	| XML_UNICODE_WCHAR_T 
#	|   Use UTF-16 internally as declared as wchar_t from <stddef.h>. and pass strings to application this way.
#	|   This sets XML_UNICODE if it wasn't already set.
#	|   If XML_UNICODE is set but not XML_UNICODE_WCHAR_T, then the UTF-16 is stored as unsigned short. 
#	| 
#	| XML_DTD 
#	|   Include code to parse external DTD. 
#	| 
#	| XML_NS 
#	|   Do lexical checking of namespaces 
#	| 
#	| XML_BYTE_ORDER 
#	|   Set this to "12" for little-endian machines (machines that have the least significant byte first)
#	|        and to "21" for big-endian (most significant byte first.) 
#	| 
#	| XML_MIN_SIZE 
#	|   Makes a parser that's smaller but that, in general, will run slower. 
#	|   If your system doesn't have memmove, but does have bcopy, then you'll want to have a macro that redfines memmove to bcopy.
#	|   There's a Makefile macro that does this in the sample Makefile, XP_MM.
#	|   You'll have to uncomment its definition in order to have it take effect. 
#	
#	́AP/ECEł̗płA@\ǉw}N͕Kv܂B
#	TCYጸwXML_MIN_SIZE}NɂĒׂĂ݂܂B
#	
#	ExpatCuRpCXML_MIN_SIZEw肵Ȃꍇ̃
#	
#	--- clip/expat/Makefile ---
#	APP_CFLAGS = 
#	---------------------------
#	
#	Code Section mapping
#	Address     Vaddress    Size        File                                ID  Attr
#	00109f48    --------    00006144    ..\clip\expat\expat.lib:xmlparse.o  0   REL
#	0011008c    --------    0000ade4    ..\clip\expat\expat.lib:xmltok.o    0   REL
#	0011ae70    --------    00001020    ..\clip\expat\expat.lib:xmlrole.o   0   REL
#	
#	Data Section mapping
#	Address     Vaddress    Size        File                                ID  Attr
#	0011d498    --------    00000000    ..\clip\expat\expat.lib:xmlparse.o  1   REL
#	0011d498    --------    00000000    ..\clip\expat\expat.lib:xmltok.o    1   REL
#	0011d498    --------    00000000    ..\clip\expat\expat.lib:xmlrole.o   1   REL
#	
#	Bss Section mapping
#	Address     Vaddress    Size        File                                ID  Attr
#	00123238    --------    00000000    ..\clip\expat\expat.lib:xmlparse.o  2   REL
#	00123238    --------    00000000    ..\clip\expat\expat.lib:xmltok.o    2   REL
#	00123238    --------    00000000    ..\clip\expat\expat.lib:xmlrole.o   2   REL
#	
#	EEEv73544oCg
#	
#	ExpatCuRpCXML_MIN_SIZEw肵ꍇ̃
#	
#	--- clip/expat/Makefile ---
#	APP_CFLAGS = -DXML_MIN_SIZE
#	---------------------------
#	
#	Code Section mapping
#	Address     Vaddress    Size        File                                ID  Attr
#	00109f48    --------    00006160    ..\clip\expat\expat.lib:xmlparse.o  0   REL
#	001100a8    --------    00005804    ..\clip\expat\expat.lib:xmltok.o    0   REL
#	001158ac    --------    00001020    ..\clip\expat\expat.lib:xmlrole.o   0   REL
#	
#	Data Section mapping
#	Address     Vaddress    Size        File                                ID  Attr
#	00117ed4    --------    00000000    ..\clip\expat\expat.lib:xmlparse.o  1   REL
#	00117ed4    --------    00000000    ..\clip\expat\expat.lib:xmltok.o    1   REL
#	00117ed4    --------    00000000    ..\clip\expat\expat.lib:xmlrole.o   1   REL
#	
#	Bss Section mapping
#	Address     Vaddress    Size        File                                ID  Attr
#	0011dc74    --------    00000000    ..\clip\expat\expat.lib:xmlparse.o  2   REL
#	0011dc74    --------    00000000    ..\clip\expat\expat.lib:xmltok.o    2   REL
#	0011dc74    --------    00000000    ..\clip\expat\expat.lib:xmlrole.o   2   REL
#	
#	EEEv51588oCg
#	
#	ExpatCuRpCXML_MIN_SIZEw肷ƁA21956oCgߖł܂B
#	(ł51588oCgĂ킯ŁA܂܂A[傫̂łǁBBB)
#	̑ɑxቺ܂AƂƑxdvȏʂł͎gȂ̂ŁA傫Ȗɂ͂Ȃ܂B
#	ȏ̗RɂAExpatCuRpCXML_MIN_SIZEw肷邱Ƃɂ܂B
#	
#	ȂAXML_MIN_SIZE}N̎ẃAExpatCuRpĈ݂ővłB
#	ExpatCuNAAvP[ṼRpCɂ́AwsvłB
#	XML_MIN_SIZE}N̎w薳ŃAvP[VRpCA薳ƂmF܂B
#
# * Sat May 17 16:37:27 JST 2014 Naoyuki Sawa
# - ExpatCũRpCɁAHAVE_MEMMOVE}Nwǉ܂B
#   Cu\[X𒼐ڕύX̂߂邽߂ɂ́AvbgtH[ɍ킹HAVE_MEMMOVEw肷Kv邩łB
#   Windows,Amiga,Mac̏ꍇ́AX̃RtBOt@CŒ`Ă܂AP/ECȄꍇ͎Ŏw肷Kv܂B
#
APP_CFLAGS  = -DXML_MIN_SIZE -DHAVE_MEMMOVE
APP_LDFLAGS =

#############################################################################
#	ANV
#############################################################################

all: lib
lib: expat.lib
expat.lib: $(OBJS)
	$(LIB) $@ $(OBJS)
clean:
	-del *.o
	-del *.lib
	-del *.$$
	-del *.ps
	-del *.ms

#############################################################################
#	ˑ֌W
#############################################################################

$(OBJS): $(HEADERS)

#############################################################################
# * clip.mk̒ŃV{`̗Lɂď𕪂Ă̂ŁA
#   clip.mk̃CN[h͍ŌɍsȂ΂܂B
include $(CLIP)\clip.mk
