1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
34 ENABLE_EXCEPTIONS
=TRUE
37 # --- Settings -----------------------------------------------------
39 .INCLUDE
: settings.mk
41 # ------------------------------------------------------------------
43 PACKAGE
:= com
$/sun
$/star
$/testtool
44 TARGET
:= com_sun_star_testtool
47 #RDB=$(SOLARBINDIR)$/applicat.rdb
48 RDB
=$(BIN
)$/mozillatesttool.rdb
52 $(CLASSDIR
)$/$(PACKAGE
)$/XAction.class \
53 $(CLASSDIR
)$/$(PACKAGE
)$/XActionControl.class \
54 $(CLASSDIR
)$/$(PACKAGE
)$/XActionCommand.class \
55 $(CLASSDIR
)$/$(PACKAGE
)$/XActionControl.class \
56 $(CLASSDIR
)$/$(PACKAGE
)$/XActionFlow.class \
57 $(CLASSDIR
)$/$(PACKAGE
)$/XResult.class \
58 $(CLASSDIR
)$/$(PACKAGE
)$/ResultType.class \
59 $(CLASSDIR
)$/$(PACKAGE
)$/XMozillaTesttoolServer.class
62 TYPES
={$(subst,.class
, $(subst,$/,.
$(subst,$(CLASSDIR
)$/,-T
$(GENJAVACLASSFILES
))))}
63 GENJAVAFILES
= {$(subst,.class
,.java
$(subst,$/class
, $(GENJAVACLASSFILES
)))}
64 #JAVAFILES= $(GENJAVAFILES)
75 com.sun.star.uno.TypeClass \
76 com.sun.star.uno.XAggregation \
77 com.sun.star.uno.XWeak \
78 com.sun.star.lang.XTypeProvider \
79 com.sun.star.lang.XServiceInfo \
80 com.sun.star.lang.XSingleServiceFactory \
81 com.sun.star.lang.XMultiServiceFactory \
82 com.sun.star.lang.XComponent \
83 com.sun.star.lang.XMain \
84 com.sun.star.loader.XImplementationLoader \
85 com.sun.star.registry.XRegistryKey \
86 com.sun.star.bridge.XUnoUrlResolver \
87 com.sun.star.container.XSet \
88 com.sun.star.testtool.XAction \
89 com.sun.star.testtool.XActionControl \
90 com.sun.star.testtool.XActionCommand \
91 com.sun.star.testtool.XActionControl \
92 com.sun.star.testtool.XActionFlow \
93 com.sun.star.testtool.XResult \
94 com.sun.star.testtool.ResultType \
95 com.sun.star.testtool.XMozillaTesttoolServer
100 # $(SLO)$/iserverproxy.obj \
101 # $(SLO)$/broadcastclient.obj \
102 # $(SLO)$/genericinformation.obj \
103 # $(SLO)$/informationclient.obj
107 #LIB1TARGET=$(SLB)$/iserverproxy.lib
108 #LIB1OBJFILES=$(SLOFILES)
110 #SHL1TARGET=iserverproxy
112 # $(VOSLIB) $(OSLLIB) $(RTLLIB) $(TOOLSLIB) \
120 #SHL1LIBS= $(LIB1TARGET) $(LB)$/ico.lib
121 #SHL1DEF= $(MISC)$/$(SHL1TARGET).def
122 #DEF1NAME= $(SHL1TARGET)
123 #DEF1EXPORTFILE= exports.dxp
125 # --- Targets ------------------------------------------------------
129 ALLTAR
: $(GENJAVAFILES
)
132 mozillatesttoolserver.idl \
133 xmozillatesttoolserver.idl
135 $(RDB
): $(ALLIDLFILES
)
138 unoidl
-I
$(PRJ
) -I
$(SOLARIDLDIR
) -Burd
-OH
$(BIN
) $?
139 $(REGMERGE
) $@
/UCR
$(BIN
)$/{$(ALLIDLFILES
:f
:s
/.idl
/.urd
/)}
140 $(REGMERGE
) $@
/ $(SOLARBINDIR
)$/applicat.rdb
141 $(REGCOMP
) -register
-r
$@
-c
$(DLLPRE
)connectr
$(DLLPOST
)
142 $(REGCOMP
) -register
-r
$@
-c
$(DLLPRE
)acceptor
$(DLLPOST
)
143 $(REGCOMP
) -register
-r
$@
-c
$(DLLPRE
)brdgfctr
$(DLLPOST
)
144 $(REGCOMP
) -register
-r
$@
-c
$(DLLPRE
)remotebridge
$(DLLPOST
)
148 $(GENJAVAFILES
): $(RDB
)
149 @echo Types
: $(TYPES
)
150 @echo Javafiles
: $(GENJAVAFILES
)
151 $(JAVAMAKER
) -BUCR
-O
$(OUT
) $(TYPES
) $(RDB
)