1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
38 ENABLE_EXCEPTIONS
=TRUE
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
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)
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
104 # $(SLO)$/iserverproxy.obj \
105 # $(SLO)$/broadcastclient.obj \
106 # $(SLO)$/genericinformation.obj \
107 # $(SLO)$/informationclient.obj
111 #LIB1TARGET=$(SLB)$/iserverproxy.lib
112 #LIB1OBJFILES=$(SLOFILES)
114 #SHL1TARGET=iserverproxy
116 # $(VOSLIB) $(OSLLIB) $(RTLLIB) $(TOOLSLIB) \
124 #SHL1LIBS= $(LIB1TARGET) $(LB)$/ico.lib
125 #SHL1DEF= $(MISC)$/$(SHL1TARGET).def
126 #DEF1NAME= $(SHL1TARGET)
127 #DEF1EXPORTFILE= exports.dxp
129 # --- Targets ------------------------------------------------------
133 ALLTAR
: $(GENJAVAFILES
)
136 mozillatesttoolserver.idl \
137 xmozillatesttoolserver.idl
139 $(RDB
): $(ALLIDLFILES
)
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
)
152 $(GENJAVAFILES
): $(RDB
)
153 @echo Types
: $(TYPES
)
154 @echo Javafiles
: $(GENJAVAFILES
)
155 $(JAVAMAKER
) -BUCR
-O
$(OUT
) $(TYPES
) $(RDB
)