17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..
25cdf0e10cSrcweirPRJNAME=xmlhelp
26cdf0e10cSrcweirTARGET=chelp
27cdf0e10cSrcweir
28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
29cdf0e10cSrcweirUSE_DEFFILE=TRUE
30cdf0e10cSrcweirNO_BSYMBOLIC=TRUE
31cdf0e10cSrcweir
32cdf0e10cSrcweir
33cdf0e10cSrcweir# --- Settings ---------------------------------------------------------
34cdf0e10cSrcweir
35cdf0e10cSrcweir.INCLUDE: settings.mk
36cdf0e10cSrcweir
37cdf0e10cSrcweir# GCC versions 4.2.x introduced a warning "allocating zero-element array"
38cdf0e10cSrcweir# Allocating zero-element arrays is an allowed if not somewhat dubious
39cdf0e10cSrcweir# technique though, so this warning is plain wrong and has been fixed
40cdf0e10cSrcweir# in gcc 4.3. Unfortunately there is no way at all to suppress this warning.
41cdf0e10cSrcweir# Some files in this directory use zero allocated arrays, we need to
42*f1791ee8SPavel Janík# disable the WaE mechanism for the GCC 4.2.x series.
43cdf0e10cSrcweir.IF "$(COM)"=="GCC"
44cdf0e10cSrcweir.IF "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
45cdf0e10cSrcweirCFLAGSWERRCXX:=
46cdf0e10cSrcweir.ENDIF # "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
47cdf0e10cSrcweir.ENDIF # "$(COM)"=="GCC"
48cdf0e10cSrcweir
49cdf0e10cSrcweirCFLAGS +=  -DHAVE_EXPAT_H
50cdf0e10cSrcweir
51cdf0e10cSrcweir.IF "$(SYSTEM_LIBXML)" == "YES"
52cdf0e10cSrcweirCFLAGS+= $(LIBXML_CFLAGS)
53cdf0e10cSrcweir.ELSE
54cdf0e10cSrcweirLIBXMLINCDIR=external$/libxml
55cdf0e10cSrcweirCFLAGS+= -I$(SOLARINCDIR)$/$(LIBXMLINCDIR)
56cdf0e10cSrcweir.ENDIF
57cdf0e10cSrcweir
58cdf0e10cSrcweir.IF "$(SYSTEM_LIBXSLT)" == "YES"
59cdf0e10cSrcweirCFLAGS+= $(LIBXSLT_CFLAGS)
60cdf0e10cSrcweir.ELSE
61cdf0e10cSrcweirLIBXSLTINCDIR=external$/libxslt
62cdf0e10cSrcweirCFLAGS+= -I$(SOLARINCDIR)$/$(LIBXSLTINCDIR)
63cdf0e10cSrcweir.ENDIF
64cdf0e10cSrcweir
65cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
66cdf0e10cSrcweirCFLAGS+=-GR
67cdf0e10cSrcweir.ENDIF
68cdf0e10cSrcweir
69cdf0e10cSrcweir# --- General -----------------------------------------------------
70cdf0e10cSrcweir
71cdf0e10cSrcweirSLOFILES=\
7270e197d9SHerbert Dürr	$(SLO)$/db.obj                     \
7370e197d9SHerbert Dürr	$(SLO)$/databases.obj          \
74cdf0e10cSrcweir	$(SLO)$/services.obj    	   \
75cdf0e10cSrcweir	$(SLO)$/resultset.obj     	   \
76cdf0e10cSrcweir	$(SLO)$/resultsetbase.obj      \
77cdf0e10cSrcweir	$(SLO)$/resultsetforroot.obj   \
78cdf0e10cSrcweir	$(SLO)$/resultsetforquery.obj  \
79cdf0e10cSrcweir	$(SLO)$/contentcaps.obj        \
8070e197d9SHerbert Dürr	$(SLO)$/provider.obj    	   \
8170e197d9SHerbert Dürr	$(SLO)$/content.obj     	   \
82cdf0e10cSrcweir	$(SLO)$/urlparameter.obj       \
83cdf0e10cSrcweir	$(SLO)$/inputstream.obj        \
84cdf0e10cSrcweir	$(SLO)$/bufferedinputstream.obj
85cdf0e10cSrcweir
86cdf0e10cSrcweir# --- Targets ----------------------------------------------------------
87cdf0e10cSrcweir
88cdf0e10cSrcweir.INCLUDE: target.mk
89cdf0e10cSrcweir
90