xref: /aoo41x/main/extensions/workben/makefile.mk (revision cdf0e10c)
1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweir
28*cdf0e10cSrcweirPRJ=..
29*cdf0e10cSrcweir
30*cdf0e10cSrcweirPRJNAME=extensions
31*cdf0e10cSrcweirTARGET=workben
32*cdf0e10cSrcweirLIBTARGET=NO
33*cdf0e10cSrcweir
34*cdf0e10cSrcweirTESTAPP=testpgp
35*cdf0e10cSrcweir#TESTAPP=testcomponent
36*cdf0e10cSrcweir#TESTAPP=pythontest
37*cdf0e10cSrcweir#TESTAPP=pythonautotest
38*cdf0e10cSrcweir#TESTAPP=testresource
39*cdf0e10cSrcweir#TESTAPP=testframecontrol
40*cdf0e10cSrcweir
41*cdf0e10cSrcweir.IF "$(TESTAPP)" == "testresource" || "$(TESTAPP)" == "testframecontrol"
42*cdf0e10cSrcweirTARGETTYPE=GUI
43*cdf0e10cSrcweir.ELSE
44*cdf0e10cSrcweirTARGETTYPE=CUI
45*cdf0e10cSrcweir.ENDIF
46*cdf0e10cSrcweir
47*cdf0e10cSrcweirJVM_TARGET=jvmtest
48*cdf0e10cSrcweir
49*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
50*cdf0e10cSrcweir
51*cdf0e10cSrcweir# --- Settings -----------------------------------------------------
52*cdf0e10cSrcweir
53*cdf0e10cSrcweir.INCLUDE :  settings.mk
54*cdf0e10cSrcweir
55*cdf0e10cSrcweirUNOUCROUT=$(OUT)$/inc$/$(PRJNAME)$/$(TARGET)
56*cdf0e10cSrcweirINCPRE+=$(UNOUCROUT)
57*cdf0e10cSrcweir
58*cdf0e10cSrcweir# --- Files --------------------------------------------------------
59*cdf0e10cSrcweir
60*cdf0e10cSrcweir#
61*cdf0e10cSrcweir# testpgp.
62*cdf0e10cSrcweir#
63*cdf0e10cSrcweir.IF "$(TESTAPP)" == "testpgp"
64*cdf0e10cSrcweir
65*cdf0e10cSrcweirUNOTYPES= \
66*cdf0e10cSrcweir	com.sun.star.lang.XMultiServiceFactory \
67*cdf0e10cSrcweir	com.sun.star.io.XInputStream \
68*cdf0e10cSrcweir	com.sun.star.io.XOutputStream \
69*cdf0e10cSrcweir	com.sun.star.pgp.RecipientsEvent \
70*cdf0e10cSrcweir	com.sun.star.pgp.SignatureEvent \
71*cdf0e10cSrcweir	com.sun.star.pgp.XPGPDecoder \
72*cdf0e10cSrcweir	com.sun.star.pgp.XPGPDecoderListener \
73*cdf0e10cSrcweir	com.sun.star.pgp.XPGPEncoder \
74*cdf0e10cSrcweir	com.sun.star.pgp.XPGPPreferences \
75*cdf0e10cSrcweir	com.sun.star.uno.TypeClass \
76*cdf0e10cSrcweir	com.sun.star.uno.XInterface \
77*cdf0e10cSrcweir	com.sun.star.uno.XWeak
78*cdf0e10cSrcweir
79*cdf0e10cSrcweirOBJFILES=	$(OBJ)$/testpgp.obj
80*cdf0e10cSrcweir
81*cdf0e10cSrcweirAPP1TARGET=	testpgp
82*cdf0e10cSrcweirAPP1OBJS=	$(OBJFILES)
83*cdf0e10cSrcweirAPP1STDLIBS= \
84*cdf0e10cSrcweir			$(CPPUHELPERLIB)\
85*cdf0e10cSrcweir			$(CPPULIB)		\
86*cdf0e10cSrcweir			$(VOSLIB)		\
87*cdf0e10cSrcweir			$(SALLIB)
88*cdf0e10cSrcweir
89*cdf0e10cSrcweir.ENDIF # testpgp
90*cdf0e10cSrcweir
91*cdf0e10cSrcweir#
92*cdf0e10cSrcweir# std testcomponent
93*cdf0e10cSrcweir#
94*cdf0e10cSrcweir.IF "$(TESTAPP)" == "testcomponent"
95*cdf0e10cSrcweir
96*cdf0e10cSrcweirOBJFILES=	$(OBJ)$/testcomponent.obj
97*cdf0e10cSrcweir
98*cdf0e10cSrcweirAPP2TARGET = testcomponent
99*cdf0e10cSrcweirAPP2OBJS   = $(OBJ)$/testcomponent.obj
100*cdf0e10cSrcweirAPP2STDLIBS = \
101*cdf0e10cSrcweir              $(VOSLIB) \
102*cdf0e10cSrcweir              $(TOOLSLIB)	\
103*cdf0e10cSrcweir              $(SALLIB)
104*cdf0e10cSrcweir
105*cdf0e10cSrcweir.ENDIF # testcomponent
106*cdf0e10cSrcweir
107*cdf0e10cSrcweir#
108*cdf0e10cSrcweir# test python.
109*cdf0e10cSrcweir#
110*cdf0e10cSrcweir.IF "$(TESTAPP)" == "phytontest"
111*cdf0e10cSrcweir
112*cdf0e10cSrcweirOBJFILES=	$(OBJ)$/pythontest.obj
113*cdf0e10cSrcweir
114*cdf0e10cSrcweir#APP4TARGET=	pythontest
115*cdf0e10cSrcweir#APP4OBJS=	$(OBJ)$/pythontest.obj
116*cdf0e10cSrcweir#APP4STDLIBS=$(TOOLSLIB)		\
117*cdf0e10cSrcweir#			$(VOSLIB)
118*cdf0e10cSrcweir
119*cdf0e10cSrcweir.ENDIF # phytontest
120*cdf0e10cSrcweir
121*cdf0e10cSrcweir#
122*cdf0e10cSrcweir# python auto test
123*cdf0e10cSrcweir#
124*cdf0e10cSrcweir.IF "$(TESTAPP)" == "phytonautotest"
125*cdf0e10cSrcweir
126*cdf0e10cSrcweirOBJFILES=	$(OBJ)$/pythonautotest.obj
127*cdf0e10cSrcweir
128*cdf0e10cSrcweir#APP5TARGET= pythonautotest
129*cdf0e10cSrcweir#APP5OBJS = $(OBJ)$/pythonautotest.obj
130*cdf0e10cSrcweir#APP5STDLIBS=$(TOOLSLIB)		\
131*cdf0e10cSrcweir#			$(VOSLIB)
132*cdf0e10cSrcweir
133*cdf0e10cSrcweir.ENDIF # phytonautotest
134*cdf0e10cSrcweir
135*cdf0e10cSrcweir#
136*cdf0e10cSrcweir# testresource.
137*cdf0e10cSrcweir#
138*cdf0e10cSrcweir.IF "$(TESTAPP)" == "testresource"
139*cdf0e10cSrcweir
140*cdf0e10cSrcweirOBJFILES=	$(OBJ)$/testresource.obj
141*cdf0e10cSrcweir
142*cdf0e10cSrcweirSRS2NAME =		testresource
143*cdf0e10cSrcweirSRC2FILES=		testresource.src
144*cdf0e10cSrcweirRESLIB2SRSFILES= $(SRS)$/testresource.srs
145*cdf0e10cSrcweirRESLIB2NAME=	testresource
146*cdf0e10cSrcweir
147*cdf0e10cSrcweirAPP2TARGET=	testresource
148*cdf0e10cSrcweirAPP2OBJS=	$(OBJ)$/testresource.obj
149*cdf0e10cSrcweirAPP2STDLIBS=$(TOOLSLIB)		\
150*cdf0e10cSrcweir			$(VCLLIB)		\
151*cdf0e10cSrcweir			$(SALLIB)
152*cdf0e10cSrcweir
153*cdf0e10cSrcweir.ENDIF # testresource
154*cdf0e10cSrcweir
155*cdf0e10cSrcweir#
156*cdf0e10cSrcweir# testframecontrol.
157*cdf0e10cSrcweir#
158*cdf0e10cSrcweir.IF "$(TESTAPP)" == "testframecontrol"
159*cdf0e10cSrcweir
160*cdf0e10cSrcweirOBJFILES=	$(OBJ)$/testframecontrol.obj
161*cdf0e10cSrcweir
162*cdf0e10cSrcweirAPP3TARGET=	testframecontrol
163*cdf0e10cSrcweirAPP3OBJS=	$(OBJ)$/testframecontrol.obj
164*cdf0e10cSrcweirAPP3STDLIBS=$(TOOLSLIB)		\
165*cdf0e10cSrcweir			$(VOSLIB)		\
166*cdf0e10cSrcweir			$(SVTOOLLIB)	\
167*cdf0e10cSrcweir			$(VCLLIB)
168*cdf0e10cSrcweir
169*cdf0e10cSrcweir.ENDIF # testframecontrol
170*cdf0e10cSrcweir
171*cdf0e10cSrcweir# --- Targets ------------------------------------------------------
172*cdf0e10cSrcweir
173*cdf0e10cSrcweir.INCLUDE :  target.mk
174*cdf0e10cSrcweir
175