xref: /AOO41X/main/xmlsecurity/source/xmlsec/makefile.mk (revision c98f7d5f46e8acf0e44b4efc19ee1fd9beb59aed)
17871dc3eSAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
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
10cdf0e10cSrcweir#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
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.
19cdf0e10cSrcweir#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME = xmlsecurity
27cdf0e10cSrcweirTARGET = xs_comm
28cdf0e10cSrcweir
29cdf0e10cSrcweirENABLE_EXCEPTIONS = TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# --- Settings -----------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir.INCLUDE :  settings.mk
34cdf0e10cSrcweir.INCLUDE :	$(PRJ)$/util$/target.pmk
35cdf0e10cSrcweir
36cdf0e10cSrcweir.IF "$(SYSTEM_LIBXML)" == "YES"
37*c98f7d5fSDon LewisINCSYSTEM+=$(LIBXML_CFLAGS)
38*c98f7d5fSDon LewisCFLAGS+=-DSYSTEM_LIBXML
39cdf0e10cSrcweir.ENDIF
40cdf0e10cSrcweir
41cc99daadSHerbert Dürr.IF "$(ENABLE_NSS_MODULE)"!="YES"
42cdf0e10cSrcweir@all:
43cc99daadSHerbert Dürr	@echo "No nss -> no libxmlsec -> no xmlsecurity.."
44cdf0e10cSrcweir.ENDIF
45cdf0e10cSrcweir
46cdf0e10cSrcweir.IF "$(CRYPTO_ENGINE)" == "mscrypto"
47cdf0e10cSrcweirCDEFS += -DXMLSEC_CRYPTO_MSCRYPTO
48cdf0e10cSrcweir.ENDIF
49cdf0e10cSrcweir
50cdf0e10cSrcweirCDEFS += -DXMLSEC_NO_XSLT
51cdf0e10cSrcweir
52cdf0e10cSrcweir# --- Files --------------------------------------------------------
53cdf0e10cSrcweirSLOFILES = \
54cdf0e10cSrcweir	$(SLO)$/biginteger.obj \
55cdf0e10cSrcweir	$(SLO)$/certvalidity.obj \
56cdf0e10cSrcweir	$(SLO)$/saxhelper.obj \
57cdf0e10cSrcweir	$(SLO)$/xmldocumentwrapper_xmlsecimpl.obj \
58cdf0e10cSrcweir	$(SLO)$/xmlelementwrapper_xmlsecimpl.obj \
59cdf0e10cSrcweir	$(SLO)$/certificateextension_xmlsecimpl.obj \
60cdf0e10cSrcweir	$(SLO)$/xmlstreamio.obj \
61cdf0e10cSrcweir	$(SLO)$/errorcallback.obj \
62cdf0e10cSrcweir	$(SLO)$/xsec_xmlsec.obj \
63cdf0e10cSrcweir        $(SLO)$/diagnose.obj
64cdf0e10cSrcweir
65cdf0e10cSrcweir# --- Targets ------------------------------------------------------
66cdf0e10cSrcweir
67cdf0e10cSrcweir.INCLUDE :  target.mk
68