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=..$/..$/..
25PRJNAME=shell
26TARGET=ooofilereader
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35.IF "$(GUI)" != "OS2"
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
39CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
40CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
41CDEFS_X64+=-D_WIN32_IE=0x501
42.ENDIF
43.IF "$(GUI)" == "OS2"
44CFLAGS+=-DISOLATION_AWARE_ENABLED -DXML_UNICODE -DXML_UNICODE_WCHAR_T -DUNICODE -D_UNICODE
45.ENDIF
46
47# --- Files --------------------------------------------------------
48
49
50SLOFILES=$(SLO)$/basereader.obj\
51         $(SLO)$/metainforeader.obj\
52         $(SLO)$/contentreader.obj\
53         $(SLO)$/simpletag.obj\
54         $(SLO)$/keywordstag.obj\
55         $(SLO)$/autostyletag.obj
56
57LIB1TARGET=$(SLB)$/$(TARGET).lib
58LIB1OBJFILES=$(SLOFILES)
59LIB1FILES=$(SLB)$/zipfile.lib\
60          $(SLB)$/xmlparser.lib
61
62.IF "$(BUILD_X64)"!=""
63SLOFILES_X64=$(SLO_X64)$/basereader.obj\
64         $(SLO_X64)$/metainforeader.obj\
65         $(SLO_X64)$/contentreader.obj\
66         $(SLO_X64)$/simpletag.obj\
67         $(SLO_X64)$/keywordstag.obj\
68         $(SLO_X64)$/autostyletag.obj
69
70LIB1TARGET_X64=$(SLB_X64)$/$(TARGET).lib
71LIB1OBJFILES_X64=$(SLOFILES_X64)
72LIB1FILES_X64=$(SLB_X64)$/zipfile.lib\
73          $(SLB_X64)$/xmlparser.lib
74.ENDIF # "$(BUILD_X64)"!=""
75
76# --- Targets ------------------------------------------------------
77
78.INCLUDE :	set_wntx64.mk
79.INCLUDE :	target.mk
80.IF "$(OS)" == "WNT"
81INCLUDE!:=$(subst,/stl, $(INCLUDE))
82
83.ENDIF
84.INCLUDE :	tg_wntx64.mk
85
86