Update ooo320-m1
[ooovba.git] / javaunohelper / test / com / sun / star / lib / uno / helper / makefile.mk
bloba5f413ec2e956e1af22000fd1c0a59cc67de79e5
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.8 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..$/..$/..$/..$/..
33 PRJNAME = juhelper
34 PACKAGE = com$/sun$/star$/lib$/uno$/helper
35 TARGET = com_sun_star_lib_uno_helper_test
37 # --- Settings -----------------------------------------------------
39 .INCLUDE : settings.mk
41 # --- Files --------------------------------------------------------
43 JARFILES = jurt.jar ridl.jar juh.jar
45 JAVACLASSFILES= \
46 $(CLASSDIR)$/$(PACKAGE)$/WeakBase_Test.class \
47 $(CLASSDIR)$/$(PACKAGE)$/ComponentBase_Test.class \
48 $(CLASSDIR)$/$(PACKAGE)$/InterfaceContainer_Test.class \
49 $(CLASSDIR)$/$(PACKAGE)$/MultiTypeInterfaceContainer_Test.class \
50 $(CLASSDIR)$/$(PACKAGE)$/ProxyProvider.class \
51 $(CLASSDIR)$/$(PACKAGE)$/AWeakBase.class \
52 $(CLASSDIR)$/$(PACKAGE)$/PropertySet_Test.class \
53 $(CLASSDIR)$/$(PACKAGE)$/UnoUrlTest.class \
54 $(CLASSDIR)$/$(PACKAGE)$/Factory_Test.class
56 # --- Targets ------------------------------------------------------
58 .INCLUDE : target.mk
60 CPATH_JARS = java_uno.jar $(JARFILES)
61 CPATH_TMP1 = $(foreach,j,$(CPATH_JARS) $(SOLARBINDIR)$/$j)
62 CPATH_TMP2 = $(strip $(subst,!,$(PATH_SEPERATOR) $(CPATH_TMP1:s/ /!/)))
63 CPATH = $(CPATH_TMP2)$(PATH_SEPERATOR)$(OUT)$/bin$/factory_test.jar$(PATH_SEPERATOR)$(XCLASSPATH)
65 $(OUT)$/bin$/factory_test.jar : $(CLASSDIR)$/$(PACKAGE)$/Factory_Test.class
66 -rm -f $@
67 @echo RegistrationClassName: com.sun.star.lib.uno.helper.Factory_Test > $(OUT)$/bin$/manifest.mf
68 -jar cvfm $@ $(OUT)$/bin$/manifest.mf -C $(CLASSDIR) $(PACKAGE)$/Factory_Test.class
70 run_factory_test : $(OUT)$/bin$/factory_test.jar
71 -$(GNUCOPY) $(SOLARBINDIR)$/udkapi.rdb $(OUT)$/bin$/factory_test.rdb
72 -java -classpath $(CPATH) com.sun.star.lib.uno.helper.Factory_Test $(OUT)$/bin$/factory_test.jar $(OUT)$/bin$/factory_test.rdb