diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-02-10 00:16:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-02-10 13:35:34 +0100 |
commit | d06a78c25bcb2672ef55664b495b2891e324bff2 (patch) | |
tree | acfe109dc00248262cde398784f7f5f643d1bca6 /unotest | |
parent | 31e236c5efa01ac5c681a2f18774fe66a9e1249e (diff) |
unotest: convert to gbuild
Diffstat (limited to 'unotest')
-rw-r--r-- | unotest/Jar_test-tools.mk | 52 | ||||
-rw-r--r-- | unotest/Jar_test.mk | 58 | ||||
-rw-r--r-- | unotest/Library_unoexceptionprotector.mk | 51 | ||||
-rw-r--r-- | unotest/Library_unotest.mk | 63 | ||||
-rw-r--r-- | unotest/Makefile | 7 | ||||
-rw-r--r-- | unotest/Module_unotest.mk | 48 | ||||
-rw-r--r-- | unotest/Package_inc.mk | 39 | ||||
-rw-r--r-- | unotest/prj/build.lst | 5 | ||||
-rw-r--r-- | unotest/prj/d.lst | 22 | ||||
-rw-r--r-- | unotest/prj/makefile.mk | 1 | ||||
-rw-r--r-- | unotest/source/cpp/makefile.mk | 67 | ||||
-rw-r--r-- | unotest/source/cpp/unoexceptionprotector/makefile.mk | 54 | ||||
-rw-r--r-- | unotest/source/java/org/openoffice/test/makefile.mk | 57 | ||||
-rw-r--r-- | unotest/source/java/org/openoffice/test/tools/makefile.mk | 49 |
14 files changed, 320 insertions, 253 deletions
diff --git a/unotest/Jar_test-tools.mk b/unotest/Jar_test-tools.mk new file mode 100644 index 000000000000..1088d5d4905b --- /dev/null +++ b/unotest/Jar_test-tools.mk @@ -0,0 +1,52 @@ +# -*- 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 Matúš Kukan <matus.kukan@gmail.com> (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_Jar_Jar,test-tools)) + +$(eval $(call gb_Jar_set_jarclasspath,test-tools,\ + juh.jar \ + ridl.jar \ + unoil.jar \ +)) + +$(eval $(call gb_Jar_add_jars,test-tools,\ + $(OUTDIR)/bin/juh.jar \ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/unoil.jar \ +)) + +$(eval $(call gb_Jar_set_packageroot,test-tools,org)) + +$(eval $(call gb_Jar_add_sourcefiles,test-tools,\ + unotest/source/java/org/openoffice/test/tools/DocumentType \ + unotest/source/java/org/openoffice/test/tools/OfficeDocument \ + unotest/source/java/org/openoffice/test/tools/OfficeDocumentView \ + unotest/source/java/org/openoffice/test/tools/SpreadsheetDocument \ + unotest/source/java/org/openoffice/test/tools/SpreadsheetView \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/unotest/Jar_test.mk b/unotest/Jar_test.mk new file mode 100644 index 000000000000..eca653f26629 --- /dev/null +++ b/unotest/Jar_test.mk @@ -0,0 +1,58 @@ +# -*- 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 Matúš Kukan <matus.kukan@gmail.com> (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_Jar_Jar,test)) + +$(eval $(call gb_Jar_set_jarclasspath,test,\ + juh.jar \ + ridl.jar \ + unoil.jar \ +)) + +$(eval $(call gb_Jar_add_jars,test,\ + $(OUTDIR)/bin/juh.jar \ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/unoil.jar \ + $(OUTDIR)/bin/OOoRunner.jar \ +)) + +$(eval $(call gb_Jar_add_system_jars,test,\ + $(OOO_JUNIT_JAR) \ +)) + +$(eval $(call gb_Jar_set_packageroot,test,org)) + +$(eval $(call gb_Jar_add_sourcefiles,test,\ + unotest/source/java/org/openoffice/test/Argument \ + unotest/source/java/org/openoffice/test/FileHelper \ + unotest/source/java/org/openoffice/test/OfficeConnection \ + unotest/source/java/org/openoffice/test/OfficeFileUrl \ + unotest/source/java/org/openoffice/test/TestArgument \ + unotest/source/java/org/openoffice/test/UnoApiTest \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/unotest/Library_unoexceptionprotector.mk b/unotest/Library_unoexceptionprotector.mk new file mode 100644 index 000000000000..079574b9144c --- /dev/null +++ b/unotest/Library_unoexceptionprotector.mk @@ -0,0 +1,51 @@ +# -*- 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 Matúš Kukan <matus.kukan@gmail.com> (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,unoexceptionprotector)) + +$(eval $(call gb_Library_add_package_headers,unoexceptionprotector,unotest_inc)) + +$(eval $(call gb_Library_add_api,unoexceptionprotector,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,unoexceptionprotector,\ + cppu \ + cppuhelper \ + sal \ +)) + +$(eval $(call gb_Library_use_externals,unoexceptionprotector,\ + cppunit \ +)) + +$(eval $(call gb_Library_add_exception_objects,unoexceptionprotector,\ + unotest/source/cpp/unoexceptionprotector/unoexceptionprotector \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/unotest/Library_unotest.mk b/unotest/Library_unotest.mk new file mode 100644 index 000000000000..9cfd3719e58f --- /dev/null +++ b/unotest/Library_unotest.mk @@ -0,0 +1,63 @@ +# -*- 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 Matúš Kukan <matus.kukan@gmail.com> (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,unotest)) + +$(eval $(call gb_Library_add_package_headers,unotest,unotest_inc)) + +$(eval $(call gb_Library_add_defs,unotest,\ + -DOOO_DLLIMPLEMENTATION_UNOTEST \ +)) + +$(eval $(call gb_Library_add_api,unotest,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_add_linked_libs,unotest,\ + comphelper \ + cppu \ + cppuhelper \ + sal \ +)) + +$(eval $(call gb_Library_use_externals,unotest,\ + cppunit \ +)) + +$(eval $(call gb_Library_add_exception_objects,unotest,\ + unotest/source/cpp/bootstrapfixturebase \ + unotest/source/cpp/filters-test \ + unotest/source/cpp/getargument \ + unotest/source/cpp/gettestargument \ + unotest/source/cpp/macros_test \ + unotest/source/cpp/officeconnection \ + unotest/source/cpp/toabsolutefileurl \ + unotest/source/cpp/uniquepipename \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/unotest/Makefile b/unotest/Makefile new file mode 100644 index 000000000000..ccb1c85a04da --- /dev/null +++ b/unotest/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/unotest/Module_unotest.mk b/unotest/Module_unotest.mk new file mode 100644 index 000000000000..fc9f18cc48f8 --- /dev/null +++ b/unotest/Module_unotest.mk @@ -0,0 +1,48 @@ +# -*- 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 Matúš Kukan <matus.kukan@gmail.com> (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,unotest)) + +$(eval $(call gb_Module_add_targets,unotest,\ + Library_unoexceptionprotector \ + Library_unotest \ + Package_inc \ +)) + +ifneq ($(SOLAR_JAVA),) +$(eval $(call gb_Module_add_targets,unotest,\ + Jar_test-tools \ +)) + +ifneq ($(OOO_JUNIT_JAR),) +$(eval $(call gb_Module_add_targets,unotest,\ + Jar_test \ +)) +endif +endif + +# vim: set noet sw=4 ts=4: diff --git a/unotest/Package_inc.mk b/unotest/Package_inc.mk new file mode 100644 index 000000000000..28752895594c --- /dev/null +++ b/unotest/Package_inc.mk @@ -0,0 +1,39 @@ +# -*- 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 Matúš Kukan <matus.kukan@gmail.com> (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,unotest_inc,$(SRCDIR)/unotest/inc/unotest)) + +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/bootstrapfixturebase.hxx,bootstrapfixturebase.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/filters-test.hxx,filters-test.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/macros_test.hxx,macros_test.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/gettestargument.hxx,gettestargument.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/officeconnection.hxx,officeconnection.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/toabsolutefileurl.hxx,toabsolutefileurl.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/uniquepipename.hxx,uniquepipename.hxx)) +$(eval $(call gb_Package_add_file,unotest_inc,inc/unotest/detail/unotestdllapi.hxx,detail/unotestdllapi.hxx)) + +# vim: set noet sw=4 ts=4: diff --git a/unotest/prj/build.lst b/unotest/prj/build.lst index 0a60de3b6c90..dc3d4239232b 100644 --- a/unotest/prj/build.lst +++ b/unotest/prj/build.lst @@ -1,5 +1,2 @@ unote unotest : BOOST:boost cppu cppuhelper comphelper CPPUNIT:cppunit javaunohelper offapi ridljar sal solenv unoil QADEVOOO:qadevOOo NULL -unote unotest\source\cpp nmake - all source_cpp NULL -unote unotest\source\cpp\unoexceptionprotector nmake - all source_cpp_unoexceptionprotector NULL -unote unotest\source\java\org\openoffice\test nmake - all source_java NULL -unote unotest\source\java\org\openoffice\test\tools nmake - all source_java_tools NULL +unote unotest\prj nmake - all unotest_prj NULL diff --git a/unotest/prj/d.lst b/unotest/prj/d.lst index 5bf1589e70f4..e69de29bb2d1 100644 --- a/unotest/prj/d.lst +++ b/unotest/prj/d.lst @@ -1,22 +0,0 @@ -mkdir: %_DEST%\inc\unotest -mkdir: %_DEST%\inc\unotest\detail -..\%__SRC%\bin\unotest.dll %_DEST%\bin\unotest.dll -..\%__SRC%\bin\unoexceptionprotector.dll %_DEST%\bin\unoexceptionprotector.dll -..\%__SRC%\lib\iunotest.lib %_DEST%\lib\iunotest.lib -..\%__SRC%\lib\libunotest.dylib %_DEST%\lib\libunotest.dylib -..\%__SRC%\lib\libunotest.so %_DEST%\lib\libunotest.so -..\%__SRC%\lib\libunotest.dll.a %_DEST%\lib\libunotest.dll.a -..\%__SRC%\lib\libunotest.a %_DEST%\lib\libunotest.a -..\%__SRC%\lib\unoexceptionprotector.dylib %_DEST%\lib\unoexceptionprotector.dylib -..\%__SRC%\lib\unoexceptionprotector.so %_DEST%\lib\unoexceptionprotector.so -..\%__SRC%\lib\libunoexceptionprotector.so %_DEST%\lib\libunoexceptionprotector.so -..\inc\unotest\detail\unotestdllapi.hxx %_DEST%\inc\unotest\detail\unotestdllapi.hxx -..\inc\unotest\bootstrapfixturebase.hxx %_DEST%\inc\unotest\bootstrapfixturebase.hxx -..\inc\unotest\filters-test.hxx %_DEST%\inc\unotest\filters-test.hxx -..\inc\unotest\macros_test.hxx %_DEST%\inc\unotest\macros_test.hxx -..\inc\unotest\gettestargument.hxx %_DEST%\inc\unotest\gettestargument.hxx -..\inc\unotest\officeconnection.hxx %_DEST%\inc\unotest\officeconnection.hxx -..\inc\unotest\toabsolutefileurl.hxx %_DEST%\inc\unotest\toabsolutefileurl.hxx -..\inc\unotest\uniquepipename.hxx %_DEST%\inc\unotest\uniquepipename.hxx -..\%__SRC%\class\test.jar %_DEST%\bin\test.jar -..\%__SRC%\class\test-tools.jar %_DEST%\bin\test-tools.jar diff --git a/unotest/prj/makefile.mk b/unotest/prj/makefile.mk new file mode 100644 index 000000000000..0997622e00f6 --- /dev/null +++ b/unotest/prj/makefile.mk @@ -0,0 +1 @@ +.INCLUDE : gbuildbridge.mk diff --git a/unotest/source/cpp/makefile.mk b/unotest/source/cpp/makefile.mk deleted file mode 100644 index be4fe522fd79..000000000000 --- a/unotest/source/cpp/makefile.mk +++ /dev/null @@ -1,67 +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 -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -#***********************************************************************/ - -PRJ = ../.. -PRJNAME = unotest -TARGET = cpp - -ENABLE_EXCEPTIONS = TRUE -VISIBILITY_HIDDEN = TRUE - -.INCLUDE: settings.mk - -# --- Files -------------------------------------------------------- -CDEFS += -DOOO_DLLIMPLEMENTATION_UNOTEST - -CFLAGSCXX += $(CPPUNIT_CFLAGS) - -SLOFILES = \ - $(SLO)/bootstrapfixturebase.obj \ - $(SLO)/filters-test.obj \ - $(SLO)/getargument.obj \ - $(SLO)/gettestargument.obj \ - $(SLO)/macros_test.obj \ - $(SLO)/officeconnection.obj \ - $(SLO)/toabsolutefileurl.obj \ - $(SLO)/uniquepipename.obj - -.IF "$(CROSS_COMPILING)" == "YES" -SHL1IMPLIB = $(SHL1TARGET) -.ELSE -SHL1IMPLIB = i$(SHL1TARGET) -.ENDIF -SHL1OBJS = $(SLOFILES) -SHL1RPATH = NONE -SHL1STDLIBS = \ - $(COMPHELPERLIB) \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(CPPUNITLIB) \ - $(SALLIB) -SHL1TARGET = unotest -SHL1USE_EXPORTS = name -DEF1NAME = $(SHL1TARGET) - -.INCLUDE: target.mk diff --git a/unotest/source/cpp/unoexceptionprotector/makefile.mk b/unotest/source/cpp/unoexceptionprotector/makefile.mk deleted file mode 100644 index e20438e92e32..000000000000 --- a/unotest/source/cpp/unoexceptionprotector/makefile.mk +++ /dev/null @@ -1,54 +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 -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -#***********************************************************************/ - -PRJ = ../../.. -PRJNAME = test -TARGET = unoexceptionprotector - -ENABLE_EXCEPTIONS = TRUE -VISIBILITY_HIDDEN = TRUE - -.INCLUDE: settings.mk - -# --- Files -------------------------------------------------------- -DLLPRE = - -CFLAGSCXX += $(CPPUNIT_CFLAGS) - -SLOFILES = $(SLO)/unoexceptionprotector.obj - -SHL1IMPLIB = i$(SHL1TARGET) -SHL1OBJS = $(SLOFILES) -SHL1RPATH = NONE -SHL1STDLIBS = \ - $(CPPUHELPERLIB) \ - $(CPPULIB) \ - $(CPPUNITLIB) \ - $(SALLIB) -SHL1TARGET = $(ENFORCEDSHLPREFIX)unoexceptionprotector -SHL1USE_EXPORTS = name -DEF1NAME = $(SHL1TARGET) - -.INCLUDE: target.mk diff --git a/unotest/source/java/org/openoffice/test/makefile.mk b/unotest/source/java/org/openoffice/test/makefile.mk deleted file mode 100644 index 65b54d11da65..000000000000 --- a/unotest/source/java/org/openoffice/test/makefile.mk +++ /dev/null @@ -1,57 +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 -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -#***********************************************************************/ - -PRJ = ../../../../.. -PRJNAME = test -TARGET = test - -.IF "$(OOO_JUNIT_JAR)" != "" - -PACKAGE = org/openoffice/test -JAVAFILES = \ - Argument.java \ - FileHelper.java \ - OfficeConnection.java \ - OfficeFileUrl.java \ - TestArgument.java \ - UnoApiTest.java \ - -JARFILES = juh.jar ridl.jar unoil.jar OOoRunner.jar -EXTRAJARFILES = $(OOO_JUNIT_JAR) - -JARTARGET = $(TARGET).jar -JARCLASSDIRS = $(PACKAGE) -JARCLASSEXCLUDES = $(PACKAGE)/tools/* -JARCLASSPATH = $(JARFILES) - # expect $(OOO_JUNIT_JAR) to be on CLASSPATH wherever test.jar is used (also, - # on Windows, $(OOO_JUNIT_JAR) could be an absolute pathname with drive letter - # like X:/path and some JVMs would refuse to load test.jar if its MANIFEST.MF - # Class-Path contained such a pathname that looks like an unknown URL with - # scheme X) - -.END - -.INCLUDE: settings.mk -.INCLUDE: target.mk diff --git a/unotest/source/java/org/openoffice/test/tools/makefile.mk b/unotest/source/java/org/openoffice/test/tools/makefile.mk deleted file mode 100644 index 1464bb958d49..000000000000 --- a/unotest/source/java/org/openoffice/test/tools/makefile.mk +++ /dev/null @@ -1,49 +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 -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -#***********************************************************************/ - -PRJ = ../../../../../.. -PRJNAME = test -TARGET = test-tools - -PACKAGE = org/openoffice/test/tools - -.INCLUDE: settings.mk - -JARFILES = juh.jar ridl.jar unoil.jar -JAVAFILES = \ - OfficeDocument.java \ - OfficeDocumentView.java \ - DocumentType.java \ - SpreadsheetDocument.java \ - SpreadsheetView.java \ - -JARTARGET = $(TARGET).jar -JARCLASSDIRS = $(PACKAGE) -JARCLASSPATH = $(JARFILES) - -.INCLUDE: target.mk - -test: - echo $(JAVACLASSFILES) |