unotest: convert to gbuild
This commit is contained in:
parent
31e236c5ef
commit
d06a78c25b
18 changed files with 324 additions and 254 deletions
2
Makefile
2
Makefile
|
@ -106,6 +106,7 @@ ucb\
|
|||
ucbhelper\
|
||||
udkapi\
|
||||
unixODBC\
|
||||
unotest\
|
||||
unotools\
|
||||
unoxml\
|
||||
ure\
|
||||
|
@ -233,7 +234,6 @@ translations\
|
|||
udm\
|
||||
unodevtools\
|
||||
unoil\
|
||||
unotest\
|
||||
vigra\
|
||||
x11_extensions\
|
||||
xmlhelp\
|
||||
|
|
|
@ -353,6 +353,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
|
|||
ucpftp1 \
|
||||
ucphier1 \
|
||||
ucppkg1 \
|
||||
unoexceptionprotector \
|
||||
unopkgapp \
|
||||
unotest \
|
||||
unsafe_uno \
|
||||
|
|
|
@ -40,6 +40,7 @@ gb_Library_FILENAMES := $(patsubst log_uno:liblog_uno%,log_uno:liblog_uno_uno%,$
|
|||
gb_Library_FILENAMES := $(patsubst purpenvhelper:libpurpen%,purpenvhelper:libuno_purpen%,$(gb_Library_FILENAMES))
|
||||
gb_Library_FILENAMES := $(patsubst salhelper:libsalhelper%,salhelper:libuno_salhelper%,$(gb_Library_FILENAMES))
|
||||
gb_Library_FILENAMES := $(patsubst ucbhelper:libucbhelper%,ucbhelper:libucbhelper4%,$(gb_Library_FILENAMES))
|
||||
gb_Library_FILENAMES := $(patsubst unoexceptionprotector:libuno%,unoexceptionprotector:uno%,$(gb_Library_FILENAMES))
|
||||
gb_Library_FILENAMES := $(patsubst unsafe_uno:libunsafe_uno%,unsafe_uno:libunsafe_uno_uno%,$(gb_Library_FILENAMES))
|
||||
endif
|
||||
|
||||
|
|
|
@ -103,6 +103,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
|
|||
udkapi \
|
||||
unixODBC \
|
||||
UnoControls \
|
||||
unotest \
|
||||
unotools \
|
||||
unoxml \
|
||||
ure \
|
||||
|
|
52
unotest/Jar_test-tools.mk
Normal file
52
unotest/Jar_test-tools.mk
Normal file
|
@ -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:
|
58
unotest/Jar_test.mk
Normal file
58
unotest/Jar_test.mk
Normal file
|
@ -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:
|
51
unotest/Library_unoexceptionprotector.mk
Normal file
51
unotest/Library_unoexceptionprotector.mk
Normal file
|
@ -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:
|
63
unotest/Library_unotest.mk
Normal file
63
unotest/Library_unotest.mk
Normal file
|
@ -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:
|
7
unotest/Makefile
Normal file
7
unotest/Makefile
Normal file
|
@ -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:
|
48
unotest/Module_unotest.mk
Normal file
48
unotest/Module_unotest.mk
Normal file
|
@ -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:
|
39
unotest/Package_inc.mk
Normal file
39
unotest/Package_inc.mk
Normal file
|
@ -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:
|
|
@ -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
|
||||
|
|
|
@ -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
|
1
unotest/prj/makefile.mk
Normal file
1
unotest/prj/makefile.mk
Normal file
|
@ -0,0 +1 @@
|
|||
.INCLUDE : gbuildbridge.mk
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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)
|
Loading…
Reference in a new issue