1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/.. 25 26PRJNAME=shell 27TARGET=xmlparser 28ENABLE_EXCEPTIONS=TRUE 29 30 31# --- Settings ----------------------------------------------------- 32 33.INCLUDE : settings.mk 34 35.IF "$(GUI)" == "WNT" 36CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 37CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 38CDEFS+=-D_WIN32_IE=0x501 39 40.IF "$(BUILD_X64)"!="" 41CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 42CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 43CDEFS_X64+=-D_WIN32_IE=0x501 44.ENDIF # "$(BUILD_X64)"!="" 45.ENDIF 46.IF "$(GUI)" == "OS2" 47CFLAGS+=-DISOLATION_AWARE_ENABLED -DXML_UNICODE -DXML_UNICODE_WCHAR_T -DUNICODE -D_UNICODE 48.ENDIF 49 50# --- Files -------------------------------------------------------- 51 52.IF "$(SYSTEM_EXPAT)" == "YES" 53CFLAGS+=-DSYSTEM_EXPAT 54.ENDIF 55 56SLOFILES=$(SLO)$/xml_parser.obj 57 58.IF "$(BUILD_X64)"!="" 59SLOFILES_X64=$(SLO_X64)$/xml_parser.obj 60.ENDIF # "$(BUILD_X64)"!="" 61 62.INCLUDE : set_wntx64.mk 63.INCLUDE : target.mk 64.IF "$(OS)" == "WNT" 65INCLUDE!:=$(subst,/stl, $(INCLUDE)) 66.EXPORT : INCLUDE 67.ENDIF 68.INCLUDE : tg_wntx64.mk 69 70