1*7871dc3eSAndrew Rist#************************************************************** 2*7871dc3eSAndrew Rist# 3*7871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*7871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*7871dc3eSAndrew Rist# distributed with this work for additional information 6*7871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*7871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*7871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 9*7871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 10*7871dc3eSAndrew Rist# 11*7871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*7871dc3eSAndrew Rist# 13*7871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*7871dc3eSAndrew Rist# software distributed under the License is distributed on an 15*7871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*7871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 17*7871dc3eSAndrew Rist# specific language governing permissions and limitations 18*7871dc3eSAndrew Rist# under the License. 19*7871dc3eSAndrew Rist# 20*7871dc3eSAndrew Rist#************************************************************** 21*7871dc3eSAndrew Rist 22*7871dc3eSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir.IF "$(OOO_SUBSEQUENT_TESTS)" == "" 25cdf0e10cSrcweirnothing .PHONY: 26cdf0e10cSrcweir.ELSE 27cdf0e10cSrcweir 28cdf0e10cSrcweirPRJ = ../../.. 29cdf0e10cSrcweirPRJNAME = extensions 30cdf0e10cSrcweirTARGET = qa_complex_extensions 31cdf0e10cSrcweir 32cdf0e10cSrcweir.IF "$(OOO_JUNIT_JAR)" != "" 33cdf0e10cSrcweirPACKAGE = complex/extensions 34cdf0e10cSrcweirJAVATESTFILES = \ 35cdf0e10cSrcweir OfficeResourceLoader.java 36cdf0e10cSrcweir 37cdf0e10cSrcweirJAVAFILES = $(JAVATESTFILES) 38cdf0e10cSrcweir 39cdf0e10cSrcweirJARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar ConnectivityTools.jar 40cdf0e10cSrcweirEXTRAJARFILES = $(OOO_JUNIT_JAR) 41cdf0e10cSrcweir.END 42cdf0e10cSrcweir 43cdf0e10cSrcweir 44cdf0e10cSrcweir 45cdf0e10cSrcweir.IF "$(GUI)"=="WNT" 46cdf0e10cSrcweircommand_seperator=&& 47cdf0e10cSrcweir.ELSE 48cdf0e10cSrcweircommand_seperator=; 49cdf0e10cSrcweir.ENDIF 50cdf0e10cSrcweir 51cdf0e10cSrcweir 52cdf0e10cSrcweir.INCLUDE: settings.mk 53cdf0e10cSrcweir 54cdf0e10cSrcweir#----- resource files for the OfficeResourceLoader test ------------ 55cdf0e10cSrcweirRES_TARGET = orl 56cdf0e10cSrcweir 57cdf0e10cSrcweirSRS1NAME=$(RES_TARGET)_A_ 58cdf0e10cSrcweirSRC1FILES= \ 59cdf0e10cSrcweir $(RES_TARGET)_en-US.src 60cdf0e10cSrcweir 61cdf0e10cSrcweirRES1FILELIST=\ 62cdf0e10cSrcweir $(SRS)$/$(RES_TARGET)_A_.srs 63cdf0e10cSrcweir 64cdf0e10cSrcweirRESLIB1NAME=$(RES_TARGET)_A_ 65cdf0e10cSrcweirRESLIB1SRSFILES=$(RES1FILELIST) 66cdf0e10cSrcweir 67cdf0e10cSrcweir 68cdf0e10cSrcweir 69cdf0e10cSrcweirSRS2NAME=$(RES_TARGET)_B_ 70cdf0e10cSrcweirSRC2FILES= \ 71cdf0e10cSrcweir $(RES_TARGET)_de.src 72cdf0e10cSrcweir 73cdf0e10cSrcweirRES2FILELIST=\ 74cdf0e10cSrcweir $(SRS)$/$(RES_TARGET)_B_.srs 75cdf0e10cSrcweir 76cdf0e10cSrcweirRESLIB2NAME=$(RES_TARGET)_B_ 77cdf0e10cSrcweirRESLIB2SRSFILES=$(RES2FILELIST) 78cdf0e10cSrcweir 79cdf0e10cSrcweir.INCLUDE: target.mk 80cdf0e10cSrcweir.INCLUDE: installationtest.mk 81cdf0e10cSrcweir 82cdf0e10cSrcweir 83cdf0e10cSrcweir#----- resource files for the OfficeResourceLoader test ------------ 84cdf0e10cSrcweir 85cdf0e10cSrcweir 86cdf0e10cSrcweirALLTAR : copy_resources javatest 87cdf0e10cSrcweir 88cdf0e10cSrcweircopy_resources: $(RESLIB1TARGETN) $(RESLIB2TARGETN) 89cdf0e10cSrcweir $(foreach,i,$(RESLIB1TARGETN) $(COPY) $i $(i:s/de/invalid/:s/_A_//) $(command_seperator)) echo 90cdf0e10cSrcweir $(foreach,i,$(RESLIB2TARGETN) $(COPY) $i $(i:s/en-US/invalid/:s/_B_//) $(command_seperator)) echo 91cdf0e10cSrcweir 92cdf0e10cSrcweir 93cdf0e10cSrcweir.END 94cdf0e10cSrcweir 95