update dev300-m58
[ooovba.git] / extensions / workben / makefile.mk
blobde27df4ef35c273e71defa419cccc611c6a4fc0a
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.6 $
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=extensions
35 TARGET=workben
36 LIBTARGET=NO
38 TESTAPP=testpgp
39 #TESTAPP=testcomponent
40 #TESTAPP=pythontest
41 #TESTAPP=pythonautotest
42 #TESTAPP=testresource
43 #TESTAPP=testframecontrol
45 .IF "$(TESTAPP)" == "testresource" || "$(TESTAPP)" == "testframecontrol"
46 TARGETTYPE=GUI
47 .ELSE
48 TARGETTYPE=CUI
49 .ENDIF
51 JVM_TARGET=jvmtest
53 ENABLE_EXCEPTIONS=TRUE
55 # --- Settings -----------------------------------------------------
57 .INCLUDE : settings.mk
59 UNOUCROUT=$(OUT)$/inc$/$(PRJNAME)$/$(TARGET)
60 INCPRE+=$(UNOUCROUT)
62 # --- Files --------------------------------------------------------
65 # testpgp.
67 .IF "$(TESTAPP)" == "testpgp"
69 UNOTYPES= \
70 com.sun.star.lang.XMultiServiceFactory \
71 com.sun.star.io.XInputStream \
72 com.sun.star.io.XOutputStream \
73 com.sun.star.pgp.RecipientsEvent \
74 com.sun.star.pgp.SignatureEvent \
75 com.sun.star.pgp.XPGPDecoder \
76 com.sun.star.pgp.XPGPDecoderListener \
77 com.sun.star.pgp.XPGPEncoder \
78 com.sun.star.pgp.XPGPPreferences \
79 com.sun.star.uno.TypeClass \
80 com.sun.star.uno.XInterface \
81 com.sun.star.uno.XWeak
83 OBJFILES= $(OBJ)$/testpgp.obj
85 APP1TARGET= testpgp
86 APP1OBJS= $(OBJFILES)
87 APP1STDLIBS= \
88 $(CPPUHELPERLIB)\
89 $(CPPULIB) \
90 $(VOSLIB) \
91 $(SALLIB)
93 .ENDIF # testpgp
96 # std testcomponent
98 .IF "$(TESTAPP)" == "testcomponent"
100 OBJFILES= $(OBJ)$/testcomponent.obj
102 APP2TARGET = testcomponent
103 APP2OBJS = $(OBJ)$/testcomponent.obj
104 APP2STDLIBS = \
105 $(VOSLIB) \
106 $(TOOLSLIB) \
107 $(SALLIB)
109 .ENDIF # testcomponent
112 # test python.
114 .IF "$(TESTAPP)" == "phytontest"
116 OBJFILES= $(OBJ)$/pythontest.obj
118 #APP4TARGET= pythontest
119 #APP4OBJS= $(OBJ)$/pythontest.obj
120 #APP4STDLIBS=$(TOOLSLIB) \
121 # $(VOSLIB)
123 .ENDIF # phytontest
126 # python auto test
128 .IF "$(TESTAPP)" == "phytonautotest"
130 OBJFILES= $(OBJ)$/pythonautotest.obj
132 #APP5TARGET= pythonautotest
133 #APP5OBJS = $(OBJ)$/pythonautotest.obj
134 #APP5STDLIBS=$(TOOLSLIB) \
135 # $(VOSLIB)
137 .ENDIF # phytonautotest
140 # testresource.
142 .IF "$(TESTAPP)" == "testresource"
144 OBJFILES= $(OBJ)$/testresource.obj
146 SRS2NAME = testresource
147 SRC2FILES= testresource.src
148 RESLIB2SRSFILES= $(SRS)$/testresource.srs
149 RESLIB2NAME= testresource
151 APP2TARGET= testresource
152 APP2OBJS= $(OBJ)$/testresource.obj
153 APP2STDLIBS=$(TOOLSLIB) \
154 $(VCLLIB) \
155 $(SALLIB)
157 .ENDIF # testresource
160 # testframecontrol.
162 .IF "$(TESTAPP)" == "testframecontrol"
164 OBJFILES= $(OBJ)$/testframecontrol.obj
166 APP3TARGET= testframecontrol
167 APP3OBJS= $(OBJ)$/testframecontrol.obj
168 APP3STDLIBS=$(TOOLSLIB) \
169 $(VOSLIB) \
170 $(SVTOOLLIB) \
171 $(VCLLIB)
173 .ENDIF # testframecontrol
175 # --- Targets ------------------------------------------------------
177 .INCLUDE : target.mk