1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
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 #*************************************************************************
35 #TESTAPP=testcomponent
37 #TESTAPP=pythonautotest
39 #TESTAPP=testframecontrol
41 .IF
"$(TESTAPP)" == "testresource" ||
"$(TESTAPP)" == "testframecontrol"
49 ENABLE_EXCEPTIONS
=TRUE
51 # --- Settings -----------------------------------------------------
53 .INCLUDE
: settings.mk
55 UNOUCROUT
=$(OUT
)$/inc
$/$(PRJNAME
)$/$(TARGET
)
58 # --- Files --------------------------------------------------------
63 .IF
"$(TESTAPP)" == "testpgp"
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
94 .IF
"$(TESTAPP)" == "testcomponent"
96 OBJFILES
= $(OBJ
)$/testcomponent.obj
98 APP2TARGET
= testcomponent
99 APP2OBJS
= $(OBJ
)$/testcomponent.obj
105 .ENDIF
# testcomponent
110 .IF
"$(TESTAPP)" == "phytontest"
112 OBJFILES
= $(OBJ
)$/pythontest.obj
114 #APP4TARGET= pythontest
115 #APP4OBJS= $(OBJ)$/pythontest.obj
116 #APP4STDLIBS=$(TOOLSLIB) \
124 .IF
"$(TESTAPP)" == "phytonautotest"
126 OBJFILES
= $(OBJ
)$/pythonautotest.obj
128 #APP5TARGET= pythonautotest
129 #APP5OBJS = $(OBJ)$/pythonautotest.obj
130 #APP5STDLIBS=$(TOOLSLIB) \
133 .ENDIF
# phytonautotest
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
) \
153 .ENDIF
# testresource
158 .IF
"$(TESTAPP)" == "testframecontrol"
160 OBJFILES
= $(OBJ
)$/testframecontrol.obj
162 APP3TARGET
= testframecontrol
163 APP3OBJS
= $(OBJ
)$/testframecontrol.obj
164 APP3STDLIBS
=$(TOOLSLIB
) \
169 .ENDIF
# testframecontrol
171 # --- Targets ------------------------------------------------------