summaryrefslogtreecommitdiff
path: root/extensions/qa
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-29 11:41:43 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-29 11:41:43 +0000
commita3b5411903ff77949e588da0f6ddeb7897ea2ad8 (patch)
tree973442d94ce3e8ddea43f9466386cf35be091d39 /extensions/qa
parent2af4faf4e8139ecadebbfd77582c975af346390d (diff)
INTEGRATION: CWS dba203a (1.1.2); FILE ADDED
2006/03/17 13:03:50 fs 1.1.2.1: makefile
Diffstat (limited to 'extensions/qa')
-rw-r--r--extensions/qa/complex/extensions/makefile.mk95
1 files changed, 95 insertions, 0 deletions
diff --git a/extensions/qa/complex/extensions/makefile.mk b/extensions/qa/complex/extensions/makefile.mk
new file mode 100644
index 000000000000..2ffc0d53beaa
--- /dev/null
+++ b/extensions/qa/complex/extensions/makefile.mk
@@ -0,0 +1,95 @@
+#*************************************************************************
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# $RCSfile: makefile.mk,v $
+#
+# $Revision: 1.2 $
+#
+# last change: $Author: obo $ $Date: 2006-03-29 12:41:43 $
+#
+# The Contents of this file are made available subject to
+# the terms of GNU Lesser General Public License Version 2.1.
+#
+#
+# GNU Lesser General Public License Version 2.1
+# =============================================
+# Copyright 2005 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
+#
+#*************************************************************************
+
+PRJ = ..$/..$/..
+TARGET = ExtensionsComplexTests
+PRJNAME = extensions
+PACKAGE = complex$/$(PRJNAME)
+
+RES_TARGET = orl
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : svpre.mk
+.INCLUDE : settings.mk
+.INCLUDE : sv.mk
+
+
+#----- resource files for the OfficeResourceLoader test ------------
+
+SRS1NAME=$(RES_TARGET)
+SRC1FILES= \
+ $(RES_TARGET).src
+
+RES1FILELIST=\
+ $(SRS)$/$(RES_TARGET).srs
+
+RESLIB1NAME=$(RES_TARGET)
+RESLIB1SRSFILES=$(RES1FILELIST)
+
+
+#----- compile .java files -----------------------------------------
+
+JARFILES = ridl.jar unoil.jar jurt.jar juh.jar jut.jar java_uno.jar OOoRunner.jar ConnectivityTools.jar
+JAVAFILES = $(shell $(FIND) .$/*.java)
+JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
+
+#----- make a jar from compiled files ------------------------------
+
+MAXLINELENGTH = 100000
+
+JARCLASSDIRS = $(PACKAGE)
+JARTARGET = $(TARGET).jar
+JARCOMPRESS = TRUE
+
+# --- Targets ------------------------------------------------------
+
+.IF "$(depend)" == ""
+ALL : ALLTAR
+.ELSE
+ALL: ALLDEP
+.ENDIF
+
+.INCLUDE : target.mk
+
+
+RUNNER_CLASSPATH = -cp $(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/OOoRunner.jar$(PATH_SEPERATOR)$(CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/ConnectivityTools.jar
+RUNNER_ARGS = org.openoffice.Runner -TestBase java_complex
+
+run:
+ +$(COPY) $(PRJ)$/common$/bin$/$(RES_TARGET)*.res $(CLASSDIR)$/$(PACKAGE) && java $(RUNNER_CLASSPATH) $(RUNNER_ARGS) -sce extensions_all.sce
+
+run_%:
+ +$(COPY) $(PRJ)$/common$/bin$/$(RES_TARGET)*.res $(CLASSDIR)$/$(PACKAGE) && java $(RUNNER_CLASSPATH) $(RUNNER_ARGS) -o complex.$(PRJNAME).$(@:s/run_//)
+