Branch libreoffice-5-0-4
[LibreOffice.git] / extensions / workben / makefile.mk
blobaec365fcd8c802df20f5708f04af5e2c3724cee0
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 PRJ=..
21 PRJNAME=extensions
22 TARGET=workben
23 LIBTARGET=NO
25 TESTAPP=testpgp
27 .IF "$(TESTAPP)" == "testresource" || "$(TESTAPP)" == "testframecontrol"
28 TARGETTYPE=GUI
29 .ELSE
30 TARGETTYPE=CUI
31 .ENDIF
33 JVM_TARGET=jvmtest
35 ENABLE_EXCEPTIONS=TRUE
37 # --- Settings -----------------------------------------------------
39 .INCLUDE : settings.mk
41 UNOUCROUT=$(OUT)$/inc$/$(PRJNAME)$/$(TARGET)
42 INCPRE+=$(UNOUCROUT)
44 # --- Files --------------------------------------------------------
47 # testpgp.
49 .IF "$(TESTAPP)" == "testpgp"
51 UNOTYPES= \
52 com.sun.star.lang.XMultiServiceFactory \
53 com.sun.star.io.XInputStream \
54 com.sun.star.io.XOutputStream \
55 com.sun.star.pgp.RecipientsEvent \
56 com.sun.star.pgp.SignatureEvent \
57 com.sun.star.pgp.XPGPDecoder \
58 com.sun.star.pgp.XPGPDecoderListener \
59 com.sun.star.pgp.XPGPEncoder \
60 com.sun.star.pgp.XPGPPreferences \
61 com.sun.star.uno.TypeClass \
62 com.sun.star.uno.XInterface \
63 com.sun.star.uno.XWeak
65 OBJFILES= $(OBJ)$/testpgp.obj
67 APP1TARGET= testpgp
68 APP1OBJS= $(OBJFILES)
69 APP1STDLIBS= \
70 $(CPPUHELPERLIB)\
71 $(CPPULIB) \
72 $(SALLIB)
74 .ENDIF # testpgp
77 # std testcomponent
79 .IF "$(TESTAPP)" == "testcomponent"
81 OBJFILES= $(OBJ)$/testcomponent.obj
83 APP2TARGET = testcomponent
84 APP2OBJS = $(OBJ)$/testcomponent.obj
85 APP2STDLIBS = \
86 $(TOOLSLIB) \
87 $(SALLIB)
89 .ENDIF # testcomponent
92 # test python.
94 .IF "$(TESTAPP)" == "phytontest"
95 OBJFILES= $(OBJ)$/pythontest.obj
96 .ENDIF # phytontest
99 # python auto test
101 .IF "$(TESTAPP)" == "phytonautotest"
102 OBJFILES= $(OBJ)$/pythonautotest.obj
103 .ENDIF # phytonautotest
106 # testresource.
108 .IF "$(TESTAPP)" == "testresource"
110 OBJFILES= $(OBJ)$/testresource.obj
112 SRS2NAME = testresource
113 SRC2FILES= testresource.src
114 RESLIB2SRSFILES= $(SRS)$/testresource.srs
115 RESLIB2NAME= testresource
117 APP2TARGET= testresource
118 APP2OBJS= $(OBJ)$/testresource.obj
119 APP2STDLIBS=$(TOOLSLIB) \
120 $(VCLLIB) \
121 $(SALLIB)
123 .ENDIF # testresource
126 # testframecontrol.
128 .IF "$(TESTAPP)" == "testframecontrol"
130 OBJFILES= $(OBJ)$/testframecontrol.obj
132 APP3TARGET= testframecontrol
133 APP3OBJS= $(OBJ)$/testframecontrol.obj
134 APP3STDLIBS=$(TOOLSLIB) \
135 $(SVTOOLLIB) \
136 $(VCLLIB)
138 .ENDIF # testframecontrol
140 # --- Targets ------------------------------------------------------
142 .INCLUDE : target.mk