1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 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. 14# 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). 20# 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. 25# 26#************************************************************************* 27 28PRJ=..$/..$/.. 29 30PRJNAME=xmlsecurity 31TARGET=xmlsecurity-cxsfit 32ENABLE_EXCEPTIONS=TRUE 33NO_BSYMBOLIC=TRUE 34TARGETTYPE=CUI 35LIBTARGET=NO 36 37# --- Settings ----------------------------------------------------- 38 39.INCLUDE : settings.mk 40.INCLUDE : $(PRJ)$/util$/target.pmk 41 42 43.IF "$(CRYPTO_ENGINE)" == "nss" 44 45MOZ_INC = $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla 46NSS_INC = $(MOZ_INC)$/nss 47NSPR_INC = $(MOZ_INC)$/nspr 48 49CDEFS += -DXMLSEC_CRYPTO_NSS -DXMLSEC_NO_XSLT 50SOLARINC += \ 51 -I$(MOZ_INC) \ 52 -I$(NSPR_INC) \ 53 -I$(NSS_INC) \ 54 -I$(PRJ)$/source$/xmlsec \ 55 -I$(PRJ)$/source$/xmlsec$/nss 56 57# --- Files -------------------------------------------------------- 58 59SHARE_LIBS = \ 60 $(CPPULIB) \ 61 $(CPPUHELPERLIB) \ 62 $(SALHELPERLIB) \ 63 $(SALLIB) 64 65.IF "$(GUI)"=="WNT" 66SHARE_LIBS+= "ixml2.lib" "nss3.lib" "nspr4.lib" "libxmlsec.lib" "libxmlsec-nss.lib" "xsec_xmlsec.lib" 67.ELSE 68SHARE_LIBS+= "-lxml2" "-lnss3" "-lnspr4" "-lxmlsec1" "-lxmlsec1-nss" "-lxsec_xmlsec" 69.ENDIF 70 71SHARE_OBJS = \ 72 $(OBJ)$/helper.obj 73 74# 75# The 1st application 76# 77 78APP2TARGET= signer 79APP2OBJS= \ 80 $(SHARE_OBJS) \ 81 $(OBJ)$/signer.obj 82 83.IF "$(OS)" == "LINUX" 84APP2STDLIBS+= -lstdc++ 85.ENDIF 86 87APP2STDLIBS+= \ 88 $(SHARE_LIBS) 89 90# 91# The 2nd application 92# 93APP3TARGET= encrypter 94APP3OBJS= \ 95 $(SHARE_OBJS) \ 96 $(OBJ)$/encrypter.obj 97 98.IF "$(OS)" == "LINUX" 99APP3STDLIBS+= -lstdc++ 100.ENDIF 101 102APP3STDLIBS+= \ 103 $(SHARE_LIBS) 104 105# 106# The 3rd application 107# 108APP4TARGET= verifier 109APP4OBJS= \ 110 $(SHARE_OBJS) \ 111 $(OBJ)$/verifier.obj 112 113.IF "$(OS)" == "LINUX" 114APP4STDLIBS+= -lstdc++ 115.ENDIF 116 117APP4STDLIBS+= \ 118 $(SHARE_LIBS) 119 120# 121# The 4th application 122# 123APP5TARGET= decrypter 124APP5OBJS= \ 125 $(SHARE_OBJS) \ 126 $(OBJ)$/decrypter.obj 127 128.IF "$(OS)" == "LINUX" 129APP5STDLIBS+= -lstdc++ 130.ENDIF 131 132APP5STDLIBS+= \ 133 $(SHARE_LIBS) 134 135# 136# The 5th application 137# 138APP6TARGET= certmngr 139APP6OBJS= \ 140 $(SHARE_OBJS) \ 141 $(OBJ)$/certmngr.obj 142 143.IF "$(OS)" == "LINUX" 144APP6STDLIBS+= -lstdc++ 145.ENDIF 146 147APP6STDLIBS+= \ 148 $(SHARE_LIBS) 149 150.ENDIF 151 152# --- Targets ------------------------------------------------------ 153 154.INCLUDE : target.mk 155 156