summaryrefslogtreecommitdiff
path: root/libxml2
diff options
context:
space:
mode:
authorLars Oppermann <lo@openoffice.org>2004-02-06 09:15:10 +0000
committerLars Oppermann <lo@openoffice.org>2004-02-06 09:15:10 +0000
commit0da6c3d521c7000f7d92185cb12b0644378a68cc (patch)
treedddfddeaf6a39f8db1a414ca538521e91e8e1591 /libxml2
parent1f41fc112a548f20660792fede1de1c936b5439c (diff)
added libxml2 to external build
Diffstat (limited to 'libxml2')
-rw-r--r--libxml2/makefile.mk93
-rw-r--r--libxml2/prj/build.lst3
-rw-r--r--libxml2/prj/d.lst5
3 files changed, 101 insertions, 0 deletions
diff --git a/libxml2/makefile.mk b/libxml2/makefile.mk
new file mode 100644
index 000000000000..accef7ed8f14
--- /dev/null
+++ b/libxml2/makefile.mk
@@ -0,0 +1,93 @@
+#*************************************************************************
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.1 $
+#
+# last change: $Author: lo $ $Date: 2004-02-06 10:15:05 $
+#
+# 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=libxml2
+TARGET=so_libxml2
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : settings.mk
+
+# --- Files --------------------------------------------------------
+
+LIBXML2VERSION=2.5.11
+
+TARFILE_NAME=$(PRJNAME)-$(LIBXML2VERSION)
+PATCH_FILE_NAME=$(TARFILE_NAME).patch
+
+ADDITIONAL_FILES= \
+ makefile.mk \
+ xml2.map \
+ config.h
+
+BUILD_ACTION=dmake subdmake=true $(MFLAGS) $(MAKEFILE) $(CALLMACROS) LIBXML2VERSION=$(LIBXML2VERSION)
+
+OUTDIR2INC=include$/libxml
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : set_ext.mk
+.INCLUDE : target.mk
+.INCLUDE : tg_ext.mk
+
diff --git a/libxml2/prj/build.lst b/libxml2/prj/build.lst
new file mode 100644
index 000000000000..4fc726f36dab
--- /dev/null
+++ b/libxml2/prj/build.lst
@@ -0,0 +1,3 @@
+lx libxml2 : soltools NULL
+lx libxml2 usr1 - all lx_mkout NULL
+lx libxml2 nmake - all lx_libxml2 NULL
diff --git a/libxml2/prj/d.lst b/libxml2/prj/d.lst
new file mode 100644
index 000000000000..3e00b5a94eb9
--- /dev/null
+++ b/libxml2/prj/d.lst
@@ -0,0 +1,5 @@
+mkdir: %_DEST%\inc%_EXT%\external\libxml
+..\%__SRC%\inc\libxml\*.h %_DEST%\inc%_EXT%\external\libxml\*.h
+..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%
+..\%__SRC%\lib\*.lib %_DEST%\lib%_EXT%
+..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%