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 $
11 # $Revision: 1.9.2.1 $
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 #*************************************************************************
38 ENABLE_EXCEPTIONS
=TRUE
42 # --- Settings -----------------------------------------------------
43 .INCLUDE
: settings.mk
45 # ------------------------------------------------------------------
49 $(OBJ
)$/filehelper.obj \
50 $(OBJ
)$/dynamicregister.obj
53 $(OBJ
)$/autoregisterhelper.obj \
56 VERSIONINFO_OBJFILES
=\
57 $(OBJ
)$/versionhelper.obj \
63 # for right dependencies
64 # OBJFILES= $(COMMON_OBJFILES) $(TESTSHL_OBJFILES) $(VERSIONINFO_OBJFILES)
66 # ------------------------------------------------------------------
68 APP1OBJS
= $(COMMON_OBJFILES
) $(TESTSHL_OBJFILES
)
73 # the c5t*.lib files are out of the cppunit module
75 # $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
76 # $(SOLARLIBDIR)$/c5t_testresult.lib
81 $(SOLARLIBDIR
)$/libc5t_testresult
$(DLLPOSTFIX
).a \
82 $(SOLARLIBDIR
)$/libc5t_no_regallfkt
$(DLLPOSTFIX
).a \
83 $(SOLARLIBDIR
)$/libc5t_winstuff
$(DLLPOSTFIX
).a
86 $(SOLARLIBDIR
)$/c5t_no_regallfkt.lib \
87 $(SOLARLIBDIR
)$/c5t_testresult.lib
88 APP1LIBS
+= $(SOLARLIBDIR
)$/c5t_winstuff.lib
94 $(SOLARLIBDIR
)$/c5t_no_regallfkt.lib \
95 $(SOLARLIBDIR
)$/c5t_testresult.lib
100 $(SOLARLIBDIR
)$/libc5t_testresult
$(DLLPOSTFIX
).a \
101 $(SOLARLIBDIR
)$/libc5t_no_regallfkt
$(DLLPOSTFIX
).a
105 # ------------------------------------------------------------------
106 APP2TARGET
= versioninfo
107 APP2OBJS
= $(COMMON_OBJFILES
) $(VERSIONINFO_OBJFILES
)
109 APP2STDLIBS
=$(SALLIB
)
114 # ------------------------------------------------------------------
115 APP3TARGET
= $(TARGET
)_timeout
116 APP3OBJS
= $(OBJ
)$/getopt.obj
$(OBJ
)$/filehelper.obj
$(OBJ
)$/terminate.obj
118 APP3STDLIBS
=$(SALLIB
)
123 .IF
"$(GUI)" == "WNT"
124 .IF
"$(COM)" == "GCC"
126 $(SOLARLIBDIR
)$/libc5t_winstuff
$(DLLPOSTFIX
).a
128 APP3LIBS
+= $(SOLARLIBDIR
)$/c5t_winstuff.lib
133 # --- Targets ------------------------------------------------------