From 69bd2f3630d83dbcab4cfb9d9ff7ccc6b7f2a139 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sat, 7 Apr 2012 16:12:22 +0200 Subject: gbuildize xmlhelp --- Makefile | 2 +- Repository.mk | 2 + postprocess/packcomponents/makefile.mk | 4 +- xmlhelp/Library_tvhlp1.mk | 54 ++++++++++++++++ xmlhelp/Library_ucpchelp1.mk | 97 +++++++++++++++++++++++++++++ xmlhelp/Makefile | 7 +++ xmlhelp/Module_xmlhelp.mk | 37 +++++++++++ xmlhelp/Package_xml.mk | 32 ++++++++++ xmlhelp/Zip_helpxsl.mk | 36 +++++++++++ xmlhelp/prj/build.lst | 6 +- xmlhelp/prj/d.lst | 10 --- xmlhelp/prj/makefile.mk | 1 + xmlhelp/source/cxxhelp/provider/makefile.mk | 96 ---------------------------- xmlhelp/source/cxxhelp/qe/makefile.mk | 51 --------------- xmlhelp/source/cxxhelp/util/makefile.mk | 52 ---------------- xmlhelp/source/treeview/makefile.mk | 77 ----------------------- xmlhelp/util/delzip | 0 xmlhelp/util/makefile.mk | 95 ---------------------------- 18 files changed, 270 insertions(+), 389 deletions(-) create mode 100644 xmlhelp/Library_tvhlp1.mk create mode 100644 xmlhelp/Library_ucpchelp1.mk create mode 100644 xmlhelp/Makefile create mode 100644 xmlhelp/Module_xmlhelp.mk create mode 100644 xmlhelp/Package_xml.mk create mode 100644 xmlhelp/Zip_helpxsl.mk create mode 100644 xmlhelp/prj/makefile.mk delete mode 100644 xmlhelp/source/cxxhelp/provider/makefile.mk delete mode 100644 xmlhelp/source/cxxhelp/qe/makefile.mk delete mode 100644 xmlhelp/source/cxxhelp/util/makefile.mk delete mode 100644 xmlhelp/source/treeview/makefile.mk delete mode 100755 xmlhelp/util/delzip delete mode 100644 xmlhelp/util/makefile.mk diff --git a/Makefile b/Makefile index d412f1637845..1bfb75bcc967 100644 --- a/Makefile +++ b/Makefile @@ -133,6 +133,7 @@ writerfilter\ writerperfect\ xmerge\ xml2cmp\ +xmlhelp\ xmloff\ xmlreader\ xmlscript\ @@ -236,7 +237,6 @@ udm\ unodevtools\ vigra\ x11_extensions\ -xmlhelp\ xpdf\ xsltml\ zlib\ diff --git a/Repository.mk b/Repository.mk index 8f72da924849..77751900f9ad 100644 --- a/Repository.mk +++ b/Repository.mk @@ -381,10 +381,12 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ subsequenttest \ test \ textconv_dict \ + tvhlp1 \ ucb1 \ ucpdav1 \ ucpfile1 \ ucpftp1 \ + ucpchelp1 \ ucphier1 \ ucppkg1 \ unoexceptionprotector \ diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk index 711e1a0b557f..c8067e22ffae 100644 --- a/postprocess/packcomponents/makefile.mk +++ b/postprocess/packcomponents/makefile.mk @@ -171,8 +171,8 @@ my_components += \ component/fpicker/source/generic/fpicker \ component/fpicker/source/office/fps_office \ syssh \ - tvhlp1 \ - ucpchelp1 \ + component/xmlhelp/source/treeview/tvhlp1 \ + component/xmlhelp/util/ucpchelp1 \ .ENDIF diff --git a/xmlhelp/Library_tvhlp1.mk b/xmlhelp/Library_tvhlp1.mk new file mode 100644 index 000000000000..75c87260160e --- /dev/null +++ b/xmlhelp/Library_tvhlp1.mk @@ -0,0 +1,54 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2012 Red Hat, Inc., David Tardon +# (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,tvhlp1)) + +$(eval $(call gb_Library_set_componentfile,tvhlp1,xmlhelp/source/treeview/tvhlp1)) + +$(eval $(call gb_Library_add_api,tvhlp1,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_use_externals,tvhlp1,\ + expat_utf8 \ +)) + +$(eval $(call gb_Library_add_linked_libs,tvhlp1,\ + comphelper \ + cppu \ + cppuhelper \ + sal \ + utl \ +)) + +$(eval $(call gb_Library_add_exception_objects,tvhlp1,\ + xmlhelp/source/treeview/tvfactory \ + xmlhelp/source/treeview/tvread \ +)) + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/xmlhelp/Library_ucpchelp1.mk b/xmlhelp/Library_ucpchelp1.mk new file mode 100644 index 000000000000..d9006b8927f5 --- /dev/null +++ b/xmlhelp/Library_ucpchelp1.mk @@ -0,0 +1,97 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2012 Red Hat, Inc., David Tardon +# (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Library_Library,ucpchelp1)) + +$(eval $(call gb_Library_set_componentfile,ucpchelp1,xmlhelp/util/ucpchelp1)) + +# TODO: is this still relevant? +# GCC versions 4.2.x introduced a warning "allocating zero-element array" +# Allocating zero-element arrays is an allowed if not somewhat dubious +# technique though, so this warning is plain wrong and has been fixed +# in gcc 4.3. Unfortunately there is no way at all to suppress this warning. +# Some files in this directory use zero allocated arrays, we need to +# diable the WaE mechanism for the GCC 4.2.x series. +# .IF "$(COM)"=="GCC" +# .IF "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003" +# CFLAGSWERRCXX:= +# .ENDIF # "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003" +# .ENDIF # "$(COM)"=="GCC" + +ifeq ($(GUI)$(COM),WNTMSC) +$(eval $(call gb_Library_add_cxxflags,ucpchelp1,\ + -GR \ +)) +endif + +$(eval $(call gb_Library_set_include,ucpchelp1,\ + -I$(SRCDIR)/xmlhelp/source/cxxhelp/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_add_api,ucpchelp1,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Library_use_externals,ucpchelp1,\ + berkeleydb \ + clucene \ + expat_utf8 \ + libxml2 \ + libxslt \ +)) + +$(eval $(call gb_Library_add_linked_libs,ucpchelp1,\ + comphelper \ + cppu \ + cppuhelper \ + helplinker \ + sal \ + ucbhelper \ + utl \ +)) + +$(eval $(call gb_Library_add_exception_objects,ucpchelp1,\ + xmlhelp/source/cxxhelp/provider/bufferedinputstream \ + xmlhelp/source/cxxhelp/provider/content \ + xmlhelp/source/cxxhelp/provider/contentcaps \ + xmlhelp/source/cxxhelp/provider/databases \ + xmlhelp/source/cxxhelp/provider/db \ + xmlhelp/source/cxxhelp/provider/inputstream \ + xmlhelp/source/cxxhelp/provider/provider \ + xmlhelp/source/cxxhelp/provider/resultset \ + xmlhelp/source/cxxhelp/provider/resultsetbase \ + xmlhelp/source/cxxhelp/provider/resultsetforquery \ + xmlhelp/source/cxxhelp/provider/resultsetforroot \ + xmlhelp/source/cxxhelp/provider/services \ + xmlhelp/source/cxxhelp/provider/urlparameter \ + xmlhelp/source/cxxhelp/qe/DocGenerator \ + xmlhelp/source/cxxhelp/util/Decompressor \ +)) + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/xmlhelp/Makefile b/xmlhelp/Makefile new file mode 100644 index 000000000000..ccb1c85a04da --- /dev/null +++ b/xmlhelp/Makefile @@ -0,0 +1,7 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- + +module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + +include $(module_directory)/../solenv/gbuild/partial_build.mk + +# vim: set noet sw=4 ts=4: diff --git a/xmlhelp/Module_xmlhelp.mk b/xmlhelp/Module_xmlhelp.mk new file mode 100644 index 000000000000..aa4dd94fa7e2 --- /dev/null +++ b/xmlhelp/Module_xmlhelp.mk @@ -0,0 +1,37 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2012 Red Hat, Inc., David Tardon +# (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Module_Module,xmlhelp)) + +$(eval $(call gb_Module_add_targets,xmlhelp,\ + Library_tvhlp1 \ + Library_ucpchelp1 \ + Package_xml \ + Zip_helpxsl \ +)) + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/xmlhelp/Package_xml.mk b/xmlhelp/Package_xml.mk new file mode 100644 index 000000000000..5e23bb68e066 --- /dev/null +++ b/xmlhelp/Package_xml.mk @@ -0,0 +1,32 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2012 Red Hat, Inc., David Tardon +# (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Package_Package,xmlhelp_xml,$(SRCDIR)/xmlhelp/util)) + +$(eval $(call gb_Package_add_file,xml/ucpchelp.xml,ucpchelp.xml)) + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/xmlhelp/Zip_helpxsl.mk b/xmlhelp/Zip_helpxsl.mk new file mode 100644 index 000000000000..3dfae65895bf --- /dev/null +++ b/xmlhelp/Zip_helpxsl.mk @@ -0,0 +1,36 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# Major Contributor(s): +# Copyright (C) 2012 Red Hat, Inc., David Tardon +# (initial developer) +# +# All Rights Reserved. +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +$(eval $(call gb_Zip_Zip,helpxsl,$(SRCDIR)/xmlhelp/util)) + +$(eval $(call gb_Zip_add_files,helpxsl,\ + idxcaption.xsl \ + idxcontent.xsl \ + main_transform.xsl \ +)) + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/xmlhelp/prj/build.lst b/xmlhelp/prj/build.lst index 166d9cf282f7..d9aa68210dce 100644 --- a/xmlhelp/prj/build.lst +++ b/xmlhelp/prj/build.lst @@ -1,7 +1,3 @@ xh xmlhelp : comphelper ucbhelper LIBXSLT:libxslt unoil BERKELEYDB:berkeleydb javaunohelper DESKTOP:l10ntools unotools NULL xh xmlhelp usr1 - all xh_mkout NULL -xh xmlhelp\source\treeview nmake - all xh_treeview NULL -xh xmlhelp\source\cxxhelp\util nmake - all xh_cutil NULL -xh xmlhelp\source\cxxhelp\qe nmake - all xh_qe NULL -xh xmlhelp\source\cxxhelp\provider nmake - all xh_provider NULL -xh xmlhelp\util nmake - all xh_util xh_cutil xh_qe xh_provider NULL +xh xmlhelp\prj nmake - all xh_prj NULL diff --git a/xmlhelp/prj/d.lst b/xmlhelp/prj/d.lst index 8ce962800636..e69de29bb2d1 100644 --- a/xmlhelp/prj/d.lst +++ b/xmlhelp/prj/d.lst @@ -1,10 +0,0 @@ -..\%__SRC%\bin\*.dll %_DEST%\bin\*.* -..\%__SRC%\lib\lib*.so %_DEST%\lib -..\%__SRC%\lib\*.dylib %_DEST%\lib\*.* -..\%__SRC%\class\*.jar %_DEST%\bin\*.* -..\util\ucpchelp.xml %_DEST%\xml\ucpchelp.xml -..\util\*.xsl %_DEST%\bin\*.* -..\%__SRC%\bin\helpxsl.zip %_DEST%\pck\helpxsl.zip -..\%__SRC%\misc\CLuceneHelpWrapper.component %_DEST%\xml\CLuceneHelpWrapper.component -..\%__SRC%\misc\tvhlp1.component %_DEST%\xml\tvhlp1.component -..\%__SRC%\misc\ucpchelp1.component %_DEST%\xml\ucpchelp1.component diff --git a/xmlhelp/prj/makefile.mk b/xmlhelp/prj/makefile.mk new file mode 100644 index 000000000000..0997622e00f6 --- /dev/null +++ b/xmlhelp/prj/makefile.mk @@ -0,0 +1 @@ +.INCLUDE : gbuildbridge.mk diff --git a/xmlhelp/source/cxxhelp/provider/makefile.mk b/xmlhelp/source/cxxhelp/provider/makefile.mk deleted file mode 100644 index b70979741fef..000000000000 --- a/xmlhelp/source/cxxhelp/provider/makefile.mk +++ /dev/null @@ -1,96 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. -PRJNAME=xmlhelp -TARGET=chelp - -ENABLE_EXCEPTIONS=TRUE -USE_DEFFILE=TRUE - - -# --- Settings --------------------------------------------------------- - -.INCLUDE: settings.mk - -# GCC versions 4.2.x introduced a warning "allocating zero-element array" -# Allocating zero-element arrays is an allowed if not somewhat dubious -# technique though, so this warning is plain wrong and has been fixed -# in gcc 4.3. Unfortunately there is no way at all to suppress this warning. -# Some files in this directory use zero allocated arrays, we need to -# diable the WaE mechanism for the GCC 4.2.x series. -.IF "$(COM)"=="GCC" -.IF "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003" -CFLAGSWERRCXX:= -.ENDIF # "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003" -.ENDIF # "$(COM)"=="GCC" - -CFLAGS += -DHAVE_EXPAT_H - -CFLAGS+= $(SYSTEM_DB_CFLAGS) - -.IF "$(SYSTEM_LIBXML)" == "YES" -CFLAGS+= $(LIBXML_CFLAGS) -.ELSE -LIBXMLINCDIR=external$/libxml -CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXMLINCDIR) -.ENDIF - -.IF "$(SYSTEM_LIBXSLT)" == "YES" -CFLAGS+= $(LIBXSLT_CFLAGS) -.ELSE -LIBXSLTINCDIR=external$/libxslt -CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXSLTINCDIR) -.ENDIF - -.IF "$(GUI)"=="WNT" -.IF "$(COM)"=="MSC" -CFLAGS+=-GR -.ENDIF -.ENDIF - -# --- General ----------------------------------------------------- - -SLOFILES=\ - $(SLO)$/services.obj \ - $(SLO)$/provider.obj \ - $(SLO)$/content.obj \ - $(SLO)$/resultset.obj \ - $(SLO)$/resultsetbase.obj \ - $(SLO)$/resultsetforroot.obj \ - $(SLO)$/resultsetforquery.obj \ - $(SLO)$/contentcaps.obj \ - $(SLO)$/urlparameter.obj \ - $(SLO)$/inputstream.obj \ - $(SLO)$/databases.obj \ - $(SLO)$/db.obj \ - $(SLO)$/bufferedinputstream.obj - -# --- Targets ---------------------------------------------------------- - -.INCLUDE: target.mk - diff --git a/xmlhelp/source/cxxhelp/qe/makefile.mk b/xmlhelp/source/cxxhelp/qe/makefile.mk deleted file mode 100644 index db3502d31708..000000000000 --- a/xmlhelp/source/cxxhelp/qe/makefile.mk +++ /dev/null @@ -1,51 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME= xmlhelp -TARGET= jaqe -AUTOSEG= TRUE - -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -.IF "$(GUI)"=="WNT" -.IF "$(COM)"=="MSC" -CFLAGS+=-GR -.ENDIF -.ENDIF - -SLOFILES=$(SLO)$/DocGenerator.obj - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - diff --git a/xmlhelp/source/cxxhelp/util/makefile.mk b/xmlhelp/source/cxxhelp/util/makefile.mk deleted file mode 100644 index 28e625a445bd..000000000000 --- a/xmlhelp/source/cxxhelp/util/makefile.mk +++ /dev/null @@ -1,52 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/..$/.. - -PRJNAME= xmlhelp -TARGET= jautil -AUTOSEG= TRUE - -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -.IF "$(GUI)"=="WNT" -.IF "$(COM)"=="MSC" -CFLAGS+=-GR -.ENDIF -.ENDIF - -SLOFILES=\ - $(SLO)$/Decompressor.obj - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - diff --git a/xmlhelp/source/treeview/makefile.mk b/xmlhelp/source/treeview/makefile.mk deleted file mode 100644 index e82846b70742..000000000000 --- a/xmlhelp/source/treeview/makefile.mk +++ /dev/null @@ -1,77 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -PRJ=..$/.. -PRJNAME=xmlhelp -TARGET=tvhlp -USE_DEFFILE=TRUE -ENABLE_EXCEPTIONS=TRUE - -# Version -TVHLP_MAJOR=1 - -.INCLUDE: settings.mk - -.IF "$(SYSTEM_EXPAT)" == "YES" -CFLAGS+=-DSYSTEM_EXPAT -.ENDIF - -SLOFILES=\ - $(SLO)$/tvfactory.obj \ - $(SLO)$/tvread.obj - -LIB1TARGET=$(SLB)$/_$(TARGET).lib -LIB1OBJFILES=$(SLOFILES) - -SHL1TARGET=$(TARGET)$(TVHLP_MAJOR) -SHL1DEF=$(MISC)$/$(SHL1TARGET).def -SHL1LIBS=$(LIB1TARGET) -SHL1IMPLIB=i$(TARGET) -SHL1STDLIBS=\ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(COMPHELPERLIB) \ - $(EXPATASCII3RDLIB) \ - $(UNOTOOLSLIB) \ - $(SALLIB) -SHL1VERSIONMAP=$(SOLARENV)/src/component.map - -DEF1NAME=$(SHL1TARGET) -DEF1DES=UCB : Treeview help - - -.INCLUDE: target.mk - - - -ALLTAR : $(MISC)/tvhlp1.component - -$(MISC)/tvhlp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - tvhlp1.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt tvhlp1.component diff --git a/xmlhelp/util/delzip b/xmlhelp/util/delzip deleted file mode 100755 index e69de29bb2d1..000000000000 diff --git a/xmlhelp/util/makefile.mk b/xmlhelp/util/makefile.mk deleted file mode 100644 index 90bf75b72481..000000000000 --- a/xmlhelp/util/makefile.mk +++ /dev/null @@ -1,95 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org 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 version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* - -UCP_VERSION=1 -UCP_NAME=chelp - -PRJ=.. -PRJNAME=xmlhelp -TARGET=ucp$(UCP_NAME) -UCPHELP_MAJOR=1 - -ENABLE_EXCEPTIONS=TRUE -USE_DEFFILE=TRUE - -# --- Settings --------------------------------------------------------- - -.INCLUDE: settings.mk - -.IF "$(GUI)"=="WNT" -.IF "$(COM)"=="MSC" -CFLAGS+=-GR -.ENDIF -.ENDIF - -# --- Shared-Library --------------------------------------------------- - -SHL1TARGET=$(TARGET)$(UCP_VERSION) -SHL1DEF=$(MISC)$/$(SHL1TARGET).def -SHL1IMPLIB=i$(TARGET) -SHL1VERSIONMAP=$(SOLARENV)/src/component.map - -# Add additional libs here. -SHL1STDLIBS= \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(COMPHELPERLIB) \ - $(HELPLINKERLIB) \ - $(CLUCENELIB) \ - $(SALLIB) \ - $(EXPATASCII3RDLIB) \ - $(UNOTOOLSLIB) \ - $(UCBHELPERLIB) \ - $(BERKELEYLIB) \ - $(XSLTLIB) - -SHL1LIBS = \ - $(SLB)$/jaqe.lib \ - $(SLB)$/jautil.lib \ - $(SLB)$/chelp.lib - -# --- Def-File --------------------------------------------------------- - -DEF1NAME=$(SHL1TARGET) - -# --- Targets ---------------------------------------------------------- - -ZIP1TARGET=helpxsl -ZIP1FLAGS= -u -r -ZIP1LIST=main_transform*.xsl idxcaption.xsl idxcontent.xsl - - -.INCLUDE: target.mk - - -ALLTAR : $(MISC)/ucpchelp1.component - -$(MISC)/ucpchelp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ - ucpchelp1.component - $(XSLTPROC) --nonet --stringparam uri \ - '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ - $(SOLARENV)/bin/createcomponent.xslt ucpchelp1.component -- cgit