1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
35 TARGET
=xmlsecurity-mscxsfit
36 ENABLE_EXCEPTIONS
=TRUE
42 # --- Settings -----------------------------------------------------
44 .INCLUDE
: settings.mk
45 .INCLUDE
: $(PRJ
)$/util
$/target.pmk
47 .IF
"$(CRYPTO_ENGINE)" == "mscrypto"
49 CDEFS
+= -DXMLSEC_CRYPTO_MSCRYPTO
-DXMLSEC_NO_XSLT
51 -I
$(PRJ
)$/source
$/xmlsec \
52 -I
$(PRJ
)$/source
$/xmlsec
$/mscrypt
54 # --- Files --------------------------------------------------------
62 SHARE_LIBS
+= "libxml2.lib" "crypt32.lib" "advapi32.lib" "libxmlsec.lib" "libxmlsec-mscrypto.lib" "xsec_xmlsec.lib" "xs_comm.lib" "xs_mscrypt.lib"
64 SHARE_LIBS
+= "-lxml2" "-lnss3" "-lnspr4" "-lxmlsec1" "-lxmlsec1-nss" "-lxsec_xmlsec" "-lxs_comm" "-lxs_nss"
79 .IF
"$(OS)" == "LINUX"
80 APP2STDLIBS
+= -lstdc
++
94 .IF
"$(OS)" == "LINUX"
95 APP3STDLIBS
+= -lstdc
++
102 # The 3rd application
109 .IF
"$(OS)" == "LINUX"
110 APP4STDLIBS
+= -lstdc
++
117 ## The 4th application
119 #APP5TARGET= decrypter
122 # $(OBJ)$/decrypter.obj
124 #.IF "$(OS)" == "LINUX"
125 #APP5STDLIBS+= -lstdc++
132 # The 5th application
139 .IF
"$(OS)" == "LINUX"
140 APP6STDLIBS
+= -lstdc
++
148 # --- Targets ------------------------------------------------------