Update ooo320-m1
[ooovba.git] / svtools / qa / complex / ConfigItems / makefile.mk
blobf85c5b0a8e6502ebdcc131fa686466a804fa55f0
1 #*************************************************************************
3 # OpenOffice.org - a multi-platform office productivity suite
5 # $RCSfile: makefile.mk,v $
7 # $Revision: 1.1.4.2 $
9 # last change: $Author: as $ $Date: 2008/03/19 11:09:22 $
11 # The Contents of this file are made available subject to
12 # the terms of GNU Lesser General Public License Version 2.1.
15 # GNU Lesser General Public License Version 2.1
16 # =============================================
17 # Copyright 2005 by Sun Microsystems, Inc.
18 # 901 San Antonio Road, Palo Alto, CA 94303, USA
20 # This library is free software; you can redistribute it and/or
21 # modify it under the terms of the GNU Lesser General Public
22 # License version 2.1, as published by the Free Software Foundation.
24 # This library is distributed in the hope that it will be useful,
25 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 # Lesser General Public License for more details.
29 # You should have received a copy of the GNU Lesser General Public
30 # License along with this library; if not, write to the Free Software
31 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 # MA 02111-1307 USA
34 #*************************************************************************
35 PRJ = ..$/..$/..
36 TARGET = CheckConfigItems
37 PRJNAME = svtools
38 PACKAGE = complex$/ConfigItems
40 # --- Settings -----------------------------------------------------
41 .INCLUDE: settings.mk
44 #----- compile .java files -----------------------------------------
46 JARFILES = mysql.jar ridl.jar unoil.jar jurt.jar juh.jar jut.jar java_uno.jar \
47 OOoRunner.jar
49 JAVAFILES = CheckConfigItems.java
51 JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
53 SUBDIRS = helper
55 #----- make a jar from compiled files ------------------------------
57 MAXLINELENGTH = 100000
59 JARCLASSDIRS = $(PACKAGE)
60 JARTARGET = $(TARGET).jar
61 JARCOMPRESS = TRUE
63 # --- Parameters for the test --------------------------------------
65 # start an office if the parameter is set for the makefile
66 .IF "$(OFFICE)" == ""
67 CT_APPEXECCOMMAND =
68 .ELSE
69 CT_APPEXECCOMMAND = -AppExecutionCommand "$(OFFICE)$/soffice -accept=socket,host=localhost,port=8100;urp;"
70 .ENDIF
72 # test base is java complex
73 CT_TESTBASE = -TestBase java_complex
75 # test looks something like the.full.package.TestName
76 CT_TEST = -o $(PACKAGE:s\$/\.\).$(JAVAFILES:b)
78 # start the runner application
79 CT_APP = org.openoffice.Runner
81 # --- Targets ------------------------------------------------------
83 .INCLUDE : target.mk
85 RUN: run
87 run:
88 java -cp $(CLASSPATH) $(CT_APP) $(CT_TESTBASE) $(CT_APPEXECCOMMAND) $(CT_TEST)