merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / workben / makefile.mk
blob759ee81186b240579a7c8a0e8d12312b86ada13d
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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 #*************************************************************************
28 PRJ=..
30 PRJNAME=extensions
31 TARGET=workben
32 LIBTARGET=NO
34 TESTAPP=testpgp
35 #TESTAPP=testcomponent
36 #TESTAPP=pythontest
37 #TESTAPP=pythonautotest
38 #TESTAPP=testresource
39 #TESTAPP=testframecontrol
41 .IF "$(TESTAPP)" == "testresource" || "$(TESTAPP)" == "testframecontrol"
42 TARGETTYPE=GUI
43 .ELSE
44 TARGETTYPE=CUI
45 .ENDIF
47 JVM_TARGET=jvmtest
49 ENABLE_EXCEPTIONS=TRUE
51 # --- Settings -----------------------------------------------------
53 .INCLUDE : settings.mk
55 UNOUCROUT=$(OUT)$/inc$/$(PRJNAME)$/$(TARGET)
56 INCPRE+=$(UNOUCROUT)
58 # --- Files --------------------------------------------------------
61 # testpgp.
63 .IF "$(TESTAPP)" == "testpgp"
65 UNOTYPES= \
66 com.sun.star.lang.XMultiServiceFactory \
67 com.sun.star.io.XInputStream \
68 com.sun.star.io.XOutputStream \
69 com.sun.star.pgp.RecipientsEvent \
70 com.sun.star.pgp.SignatureEvent \
71 com.sun.star.pgp.XPGPDecoder \
72 com.sun.star.pgp.XPGPDecoderListener \
73 com.sun.star.pgp.XPGPEncoder \
74 com.sun.star.pgp.XPGPPreferences \
75 com.sun.star.uno.TypeClass \
76 com.sun.star.uno.XInterface \
77 com.sun.star.uno.XWeak
79 OBJFILES= $(OBJ)$/testpgp.obj
81 APP1TARGET= testpgp
82 APP1OBJS= $(OBJFILES)
83 APP1STDLIBS= \
84 $(CPPUHELPERLIB)\
85 $(CPPULIB) \
86 $(VOSLIB) \
87 $(SALLIB)
89 .ENDIF # testpgp
92 # std testcomponent
94 .IF "$(TESTAPP)" == "testcomponent"
96 OBJFILES= $(OBJ)$/testcomponent.obj
98 APP2TARGET = testcomponent
99 APP2OBJS = $(OBJ)$/testcomponent.obj
100 APP2STDLIBS = \
101 $(VOSLIB) \
102 $(TOOLSLIB) \
103 $(SALLIB)
105 .ENDIF # testcomponent
108 # test python.
110 .IF "$(TESTAPP)" == "phytontest"
112 OBJFILES= $(OBJ)$/pythontest.obj
114 #APP4TARGET= pythontest
115 #APP4OBJS= $(OBJ)$/pythontest.obj
116 #APP4STDLIBS=$(TOOLSLIB) \
117 # $(VOSLIB)
119 .ENDIF # phytontest
122 # python auto test
124 .IF "$(TESTAPP)" == "phytonautotest"
126 OBJFILES= $(OBJ)$/pythonautotest.obj
128 #APP5TARGET= pythonautotest
129 #APP5OBJS = $(OBJ)$/pythonautotest.obj
130 #APP5STDLIBS=$(TOOLSLIB) \
131 # $(VOSLIB)
133 .ENDIF # phytonautotest
136 # testresource.
138 .IF "$(TESTAPP)" == "testresource"
140 OBJFILES= $(OBJ)$/testresource.obj
142 SRS2NAME = testresource
143 SRC2FILES= testresource.src
144 RESLIB2SRSFILES= $(SRS)$/testresource.srs
145 RESLIB2NAME= testresource
147 APP2TARGET= testresource
148 APP2OBJS= $(OBJ)$/testresource.obj
149 APP2STDLIBS=$(TOOLSLIB) \
150 $(VCLLIB) \
151 $(SALLIB)
153 .ENDIF # testresource
156 # testframecontrol.
158 .IF "$(TESTAPP)" == "testframecontrol"
160 OBJFILES= $(OBJ)$/testframecontrol.obj
162 APP3TARGET= testframecontrol
163 APP3OBJS= $(OBJ)$/testframecontrol.obj
164 APP3STDLIBS=$(TOOLSLIB) \
165 $(VOSLIB) \
166 $(SVTOOLLIB) \
167 $(VCLLIB)
169 .ENDIF # testframecontrol
171 # --- Targets ------------------------------------------------------
173 .INCLUDE : target.mk