1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28.IF "$(OOO_SUBSEQUENT_TESTS)" == "" 29nothing .PHONY: 30.ELSE 31 32PRJ = ../../.. 33PRJNAME = extensions 34TARGET = qa_complex_extensions 35 36.IF "$(OOO_JUNIT_JAR)" != "" 37PACKAGE = complex/extensions 38JAVATESTFILES = \ 39 OfficeResourceLoader.java 40 41JAVAFILES = $(JAVATESTFILES) 42 43JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar ConnectivityTools.jar 44EXTRAJARFILES = $(OOO_JUNIT_JAR) 45.END 46 47 48 49.IF "$(GUI)"=="WNT" 50command_seperator=&& 51.ELSE 52command_seperator=; 53.ENDIF 54 55 56.INCLUDE: settings.mk 57 58#----- resource files for the OfficeResourceLoader test ------------ 59RES_TARGET = orl 60 61SRS1NAME=$(RES_TARGET)_A_ 62SRC1FILES= \ 63 $(RES_TARGET)_en-US.src 64 65RES1FILELIST=\ 66 $(SRS)$/$(RES_TARGET)_A_.srs 67 68RESLIB1NAME=$(RES_TARGET)_A_ 69RESLIB1SRSFILES=$(RES1FILELIST) 70 71 72 73SRS2NAME=$(RES_TARGET)_B_ 74SRC2FILES= \ 75 $(RES_TARGET)_de.src 76 77RES2FILELIST=\ 78 $(SRS)$/$(RES_TARGET)_B_.srs 79 80RESLIB2NAME=$(RES_TARGET)_B_ 81RESLIB2SRSFILES=$(RES2FILELIST) 82 83.INCLUDE: target.mk 84.INCLUDE: installationtest.mk 85 86 87#----- resource files for the OfficeResourceLoader test ------------ 88 89 90ALLTAR : copy_resources javatest 91 92copy_resources: $(RESLIB1TARGETN) $(RESLIB2TARGETN) 93 $(foreach,i,$(RESLIB1TARGETN) $(COPY) $i $(i:s/de/invalid/:s/_A_//) $(command_seperator)) echo 94 $(foreach,i,$(RESLIB2TARGETN) $(COPY) $i $(i:s/en-US/invalid/:s/_B_//) $(command_seperator)) echo 95 96 97.END 98 99