1--- misc/expat-2.2.10/lib/makefile.mk Wed Aug 20 14:33:55 2008 2+++ misc/build/expat-2.2.10/lib/makefile.mk Wed Aug 20 14:26:42 2008 3@@ -1 +1,79 @@ 4-dummy 5+#************************************************************** 6+# 7+# Licensed to the Apache Software Foundation (ASF) under one 8+# or more contributor license agreements. See the NOTICE file 9+# distributed with this work for additional information 10+# regarding copyright ownership. The ASF licenses this file 11+# to you under the Apache License, Version 2.0 (the 12+# "License"); you may not use this file except in compliance 13+# with the License. You may obtain a copy of the License at 14+# 15+# http://www.apache.org/licenses/LICENSE-2.0 16+# 17+# Unless required by applicable law or agreed to in writing, 18+# software distributed under the License is distributed on an 19+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 20+# KIND, either express or implied. See the License for the 21+# specific language governing permissions and limitations 22+# under the License. 23+# 24+#************************************************************** 25+PRJ=..$/..$/..$/..$/.. 26+ 27+PRJNAME=expat 28+TARGET=expat 29+LIBTARGET=NO 30+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE 31+ 32+# --- Settings ----------------------------------------------------- 33+.INCLUDE : settings.mk 34+# --- Files -------------------------------------------------------- 35+ 36+CFLAGS+=-I.. 37+ 38+.IF "$(OS)"=="WNT" 39+CDEFS+=-DWIN32 40+.ELSE 41+CDEFS+=-DHAVE_EXPAT_CONFIG_H 42+.ENDIF 43+ 44+.IF "$(OS)"=="MACOSX" && "$(SYSBASE)"!="" 45+CDEFS+=-DHAVE_MEMMOVE -DHAVE_BCOPY 46+.ENDIF # "$(OS)"=="MACOSX" 47+ 48+SECOND_BUILD=UNICODE 49+UNICODE_SLOFILES=$(SLO)$/xmlparse.obj 50+UNICODECDEFS+=-DXML_UNICODE 51+ 52+LIB1ARCHIV=$(LB)$/libascii_$(TARGET)_xmlparse.a 53+LIB1TARGET=$(SLB)$/ascii_$(TARGET)_xmlparse.lib 54+LIB1OBJFILES=$(SLO)$/xmlparse.obj 55+ 56+LIB2ARCHIV=$(LB)$/lib$(TARGET)_xmlparse.a 57+LIB2TARGET=$(SLB)$/$(TARGET)_xmlparse.lib 58+LIB2OBJFILES =$(REAL_UNICODE_SLOFILES) 59+ 60+LIB3ARCHIV=$(LB)$/lib$(TARGET)_xmltok.a 61+LIB3TARGET=$(SLB)$/$(TARGET)_xmltok.lib 62+LIB3OBJFILES=$(SLO)$/xmlrole.obj $(SLO)$/xmltok.obj 63+ 64+.IF "$(BUILD_X64)"!="" 65+# ---------------- X64 stuff special --------------------- 66+# use UNICODE only because shell/shlxthandler 67+# doesn't link against ascii_expat_xmlparse 68+#--------------------------------------------------------- 69+SLOFILES_X64=$(SLO_X64)$/xmlparse.obj \ 70+ $(SLO_X64)$/xmlrole.obj \ 71+ $(SLO_X64)$/xmltok.obj 72+CDEFS_X64+=-DXML_UNICODE -DWIN32 73+CFLAGS_X64+=-I.. 74+LIB1TARGET_X64=$(SLB_X64)$/$(TARGET)_xmlparse.lib 75+LIB1OBJFILES_X64=$(SLO_X64)$/xmlparse.obj 76+LIB2TARGET_X64=$(SLB_X64)$/$(TARGET)_xmltok.lib 77+LIB2OBJFILES_X64=$(SLO_X64)$/xmlrole.obj $(SLO_X64)$/xmltok.obj 78+.ENDIF # "$(BUILD_X64)"!="" 79+ 80+# --- Targets ------------------------------------------------------ 81+.INCLUDE : set_wntx64.mk 82+.INCLUDE : target.mk 83+.INCLUDE : tg_wntx64.mk 84