update dev300-m58
[ooovba.git] / automation / source / mozillaserver / makefile.mk
blob761f09d15c33a8468cc178646f694f93aa38dbb5
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.7 $
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=..$/..
34 PRJNAME=automation
35 TARGET=xxx
36 USE_DEFFILE=TRUE
37 NO_BSYMBOLIC=TRUE
38 ENABLE_EXCEPTIONS=TRUE
39 LIBTARGET=NO
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 # ------------------------------------------------------------------
47 PACKAGE := com$/sun$/star$/testtool
48 TARGET := com_sun_star_testtool
51 #RDB=$(SOLARBINDIR)$/applicat.rdb
52 RDB=$(BIN)$/mozillatesttool.rdb
55 GENJAVACLASSFILES = \
56 $(CLASSDIR)$/$(PACKAGE)$/XAction.class \
57 $(CLASSDIR)$/$(PACKAGE)$/XActionControl.class \
58 $(CLASSDIR)$/$(PACKAGE)$/XActionCommand.class \
59 $(CLASSDIR)$/$(PACKAGE)$/XActionControl.class \
60 $(CLASSDIR)$/$(PACKAGE)$/XActionFlow.class \
61 $(CLASSDIR)$/$(PACKAGE)$/XResult.class \
62 $(CLASSDIR)$/$(PACKAGE)$/ResultType.class \
63 $(CLASSDIR)$/$(PACKAGE)$/XMozillaTesttoolServer.class
66 TYPES={$(subst,.class, $(subst,$/,. $(subst,$(CLASSDIR)$/,-T $(GENJAVACLASSFILES))))}
67 GENJAVAFILES = {$(subst,.class,.java $(subst,$/class, $(GENJAVACLASSFILES)))}
68 #JAVAFILES= $(GENJAVAFILES)
72 UNOUCRDEP=$(RDB)
73 UNOUCRRDB=$(RDB)
75 UNOUCROUT=$(OUT)$/inc
76 INCPRE+=$(OUT)$/inc
78 UNOTYPES= \
79 com.sun.star.uno.TypeClass \
80 com.sun.star.uno.XAggregation \
81 com.sun.star.uno.XWeak \
82 com.sun.star.lang.XTypeProvider \
83 com.sun.star.lang.XServiceInfo \
84 com.sun.star.lang.XSingleServiceFactory \
85 com.sun.star.lang.XMultiServiceFactory \
86 com.sun.star.lang.XComponent \
87 com.sun.star.lang.XMain \
88 com.sun.star.loader.XImplementationLoader \
89 com.sun.star.registry.XRegistryKey \
90 com.sun.star.bridge.XUnoUrlResolver \
91 com.sun.star.container.XSet \
92 com.sun.star.testtool.XAction \
93 com.sun.star.testtool.XActionControl \
94 com.sun.star.testtool.XActionCommand \
95 com.sun.star.testtool.XActionControl \
96 com.sun.star.testtool.XActionFlow \
97 com.sun.star.testtool.XResult \
98 com.sun.star.testtool.ResultType \
99 com.sun.star.testtool.XMozillaTesttoolServer
103 #SLOFILES= \
104 # $(SLO)$/iserverproxy.obj \
105 # $(SLO)$/broadcastclient.obj \
106 # $(SLO)$/genericinformation.obj \
107 # $(SLO)$/informationclient.obj
109 # ---- test ----
111 #LIB1TARGET=$(SLB)$/iserverproxy.lib
112 #LIB1OBJFILES=$(SLOFILES)
114 #SHL1TARGET=iserverproxy
115 #SHL1STDLIBS= \
116 # $(VOSLIB) $(OSLLIB) $(RTLLIB) $(TOOLSLIB) \
117 # $(CPPULIB) \
118 # $(CPPUHELPERLIB) \
119 # $(UNOLIB) \
120 # $(SVTOOLLIB) \
121 # $(SALLIB) \
122 # $(BOOTSTRP)
124 #SHL1LIBS= $(LIB1TARGET) $(LB)$/ico.lib
125 #SHL1DEF= $(MISC)$/$(SHL1TARGET).def
126 #DEF1NAME= $(SHL1TARGET)
127 #DEF1EXPORTFILE= exports.dxp
129 # --- Targets ------------------------------------------------------
131 .INCLUDE : target.mk
133 ALLTAR : $(GENJAVAFILES)
135 ALLIDLFILES= \
136 mozillatesttoolserver.idl \
137 xmozillatesttoolserver.idl
139 $(RDB): $(ALLIDLFILES)
140 $(TOUCH) $@
141 $(RM) $@
142 unoidl -I$(PRJ) -I$(SOLARIDLDIR) -Burd -OH$(BIN) $?
143 $(REGMERGE) $@ /UCR $(BIN)$/{$(ALLIDLFILES:f:s/.idl/.urd/)}
144 $(REGMERGE) $@ / $(SOLARBINDIR)$/applicat.rdb
145 $(REGCOMP) -register -r $@ -c $(DLLPRE)connectr$(DLLPOST)
146 $(REGCOMP) -register -r $@ -c $(DLLPRE)acceptor$(DLLPOST)
147 $(REGCOMP) -register -r $@ -c $(DLLPRE)brdgfctr$(DLLPOST)
148 $(REGCOMP) -register -r $@ -c $(DLLPRE)remotebridge$(DLLPOST)
149 $(TOUCH) $@
152 $(GENJAVAFILES): $(RDB)
153 @echo Types: $(TYPES)
154 @echo Javafiles: $(GENJAVAFILES)
155 $(JAVAMAKER) -BUCR -O$(OUT) $(TYPES) $(RDB)