1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
39 #TESTAPP=testcomponent
41 #TESTAPP=pythonautotest
43 #TESTAPP=testframecontrol
45 .IF
"$(TESTAPP)" == "testresource" ||
"$(TESTAPP)" == "testframecontrol"
53 ENABLE_EXCEPTIONS
=TRUE
55 # --- Settings -----------------------------------------------------
57 .INCLUDE
: settings.mk
59 UNOUCROUT
=$(OUT
)$/inc
$/$(PRJNAME
)$/$(TARGET
)
62 # --- Files --------------------------------------------------------
67 .IF
"$(TESTAPP)" == "testpgp"
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
98 .IF
"$(TESTAPP)" == "testcomponent"
100 OBJFILES
= $(OBJ
)$/testcomponent.obj
102 APP2TARGET
= testcomponent
103 APP2OBJS
= $(OBJ
)$/testcomponent.obj
109 .ENDIF
# testcomponent
114 .IF
"$(TESTAPP)" == "phytontest"
116 OBJFILES
= $(OBJ
)$/pythontest.obj
118 #APP4TARGET= pythontest
119 #APP4OBJS= $(OBJ)$/pythontest.obj
120 #APP4STDLIBS=$(TOOLSLIB) \
128 .IF
"$(TESTAPP)" == "phytonautotest"
130 OBJFILES
= $(OBJ
)$/pythonautotest.obj
132 #APP5TARGET= pythonautotest
133 #APP5OBJS = $(OBJ)$/pythonautotest.obj
134 #APP5STDLIBS=$(TOOLSLIB) \
137 .ENDIF
# phytonautotest
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
) \
157 .ENDIF
# testresource
162 .IF
"$(TESTAPP)" == "testframecontrol"
164 OBJFILES
= $(OBJ
)$/testframecontrol.obj
166 APP3TARGET
= testframecontrol
167 APP3OBJS
= $(OBJ
)$/testframecontrol.obj
168 APP3STDLIBS
=$(TOOLSLIB
) \
173 .ENDIF
# testframecontrol
175 # --- Targets ------------------------------------------------------