1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
31 TARGET
=xmlsecurity-cxsfit
32 ENABLE_EXCEPTIONS
=TRUE
37 # --- Settings -----------------------------------------------------
39 .INCLUDE
: settings.mk
40 .INCLUDE
: $(PRJ
)$/util
$/target.pmk
43 .IF
"$(CRYPTO_ENGINE)" == "nss"
45 MOZ_INC
= $(SOLARVERSION
)$/$(INPATH
)$/inc
$(UPDMINOREXT
)$/mozilla
46 NSS_INC
= $(MOZ_INC
)$/nss
47 NSPR_INC
= $(MOZ_INC
)$/nspr
49 CDEFS
+= -DXMLSEC_CRYPTO_NSS
-DXMLSEC_NO_XSLT
54 -I
$(PRJ
)$/source
$/xmlsec \
55 -I
$(PRJ
)$/source
$/xmlsec
$/nss
57 # --- Files --------------------------------------------------------
66 SHARE_LIBS
+= "ixml2.lib" "nss3.lib" "nspr4.lib" "libxmlsec.lib" "libxmlsec-nss.lib" "xsec_xmlsec.lib"
68 SHARE_LIBS
+= "-lxml2" "-lnss3" "-lnspr4" "-lxmlsec1" "-lxmlsec1-nss" "-lxsec_xmlsec"
83 .IF
"$(OS)" == "LINUX"
84 APP2STDLIBS
+= -lstdc
++
98 .IF
"$(OS)" == "LINUX"
99 APP3STDLIBS
+= -lstdc
++
106 # The 3rd application
113 .IF
"$(OS)" == "LINUX"
114 APP4STDLIBS
+= -lstdc
++
121 # The 4th application
123 APP5TARGET
= decrypter
126 $(OBJ
)$/decrypter.obj
128 .IF
"$(OS)" == "LINUX"
129 APP5STDLIBS
+= -lstdc
++
136 # The 5th application
143 .IF
"$(OS)" == "LINUX"
144 APP6STDLIBS
+= -lstdc
++
152 # --- Targets ------------------------------------------------------