summaryrefslogtreecommitdiff
path: root/libxmlsec/makefile.mk
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2004-07-12 11:05:30 +0000
committerMalte Timmermann <mt@openoffice.org>2004-07-12 11:05:30 +0000
commit92c5b59eb9ba53aa5c4f708d7c7e01c6b4cfff89 (patch)
tree0f755152fb63ba07d175c4c4250a5c13151b728f /libxmlsec/makefile.mk
parent32c05bfe30ed54309b761886a062ed185aaa5cd5 (diff)
libxmlsec
Diffstat (limited to 'libxmlsec/makefile.mk')
-rw-r--r--libxmlsec/makefile.mk133
1 files changed, 133 insertions, 0 deletions
diff --git a/libxmlsec/makefile.mk b/libxmlsec/makefile.mk
new file mode 100644
index 000000000000..00d8663e39b2
--- /dev/null
+++ b/libxmlsec/makefile.mk
@@ -0,0 +1,133 @@
+#*************************************************************************
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.1.1.1 $
+#
+# last change: $Author: mt $ $Date: 2004-07-12 12:05:16 $
+#
+# The Contents of this file are made available subject to the terms of
+# either of the following licenses
+#
+# - GNU Lesser General Public License Version 2.1
+# - Sun Industry Standards Source License Version 1.1
+#
+# Sun Microsystems Inc., October, 2000
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2000 by Sun Microsystems, Inc.
+# 901 San Antonio Road, Palo Alto, CA 94303, USA
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License version 2.1, as published by the Free Software Foundation.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#
+# Sun Industry Standards Source License Version 1.1
+# =================================================
+# The contents of this file are subject to the Sun Industry Standards
+# Source License Version 1.1 (the "License"); You may not use this file
+# except in compliance with the License. You may obtain a copy of the
+# License at http://www.openoffice.org/license.html.
+#
+# Software provided under this License is provided on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+# See the License for the specific provisions governing your rights and
+# obligations concerning the Software.
+#
+# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+#
+# Copyright: 2000 by Sun Microsystems, Inc.
+#
+# All Rights Reserved.
+#
+# Contributor(s): _______________________________________
+#
+#
+#
+#*************************************************************************
+
+PRJ=.
+
+PRJNAME=xmlsec1
+TARGET=so_xmlsec1
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+# --- Files --------------------------------------------------------
+
+XMLSEC1VERSION=1.2.4
+
+TARFILE_NAME=$(PRJNAME)-$(XMLSEC1VERSION)
+
+PATCH_FILE_NAME=$(TARFILE_NAME).patch
+ADDITIONAL_FILES= \
+ include$/xmlsec$/nss$/akmngr.h \
+ include$/xmlsec$/nss$/ciphers.h \
+ include$/xmlsec$/nss$/tokens.h \
+ include$/xmlsec$/mscrypto$/akmngr.h \
+ src$/nss$/akmngr.c \
+ src$/mscrypto$/akmngr.c \
+ src$/nss$/keytrans.c \
+ src$/nss$/keywrapers.c \
+ src$/nss$/tokens.c \
+ src$/nss$/makefile.mk \
+ src$/makefile.mk \
+ src$/xmlsec.map \
+ src$/nss$/xmlsec-nss.map \
+ config.h \
+ src$/mscrypto$/makefile.mk \
+ src$/mscrypto$/xmlsec-mscrypto.map
+
+.IF "$(GUI)"=="WNT"
+CRYPTOLIB=mscrypto
+#CRYPTOLIB=nss
+.ELSE
+CRYPTOLIB=nss
+.ENDIF
+
+.IF "$(CRYPTOLIB)" == "nss"
+
+MOZ_INC:=$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla
+MOZ_LIB:=$(SOLARVERSION)$/$(INPATH)$/lib$(UPDMINOREXT)
+NSS_INC:=$(MOZ_INC)$/nss
+NSPR_INC:=$(MOZ_INC)$/nspr
+
+SOLARINC += \
+-I$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla \
+-I$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla/nspr \
+-I$(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/mozilla/nss
+
+.EXPORT : SOLARINC
+
+.ENDIF
+
+BUILD_ACTION=dmake subdmake=true $(MFLAGS) $(MAKEFILE) $(CALLMACROS) && \
+ cd $(CRYPTOLIB) && dmake subdmake=true $(MFLAGS) $(MAKEFILE) $(CALLMACROS) && cd ..
+BUILD_DIR=src
+
+OUTDIR2INC=include$/xmlsec
+
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : set_ext.mk
+.INCLUDE : target.mk
+.INCLUDE : tg_ext.mk
+
+