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
)
72 # the c5t*.lib files are out of the cppunit module
74 # $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
75 # $(SOLARLIBDIR)$/c5t_testresult.lib
80 $(SOLARLIBDIR
)$/libc5t_testresult
$(DLLPOSTFIX
).a \
81 $(SOLARLIBDIR
)$/libc5t_no_regallfkt
$(DLLPOSTFIX
).a \
82 $(SOLARLIBDIR
)$/libc5t_winstuff
$(DLLPOSTFIX
).a
85 $(SOLARLIBDIR
)$/c5t_no_regallfkt.lib \
86 $(SOLARLIBDIR
)$/c5t_testresult.lib
87 APP1LIBS
+= $(SOLARLIBDIR
)$/c5t_winstuff.lib
93 $(SOLARLIBDIR
)$/c5t_no_regallfkt.lib \
94 $(SOLARLIBDIR
)$/c5t_testresult.lib
99 $(SOLARLIBDIR
)$/libc5t_testresult
$(DLLPOSTFIX
).a \
100 $(SOLARLIBDIR
)$/libc5t_no_regallfkt
$(DLLPOSTFIX
).a
104 # ------------------------------------------------------------------
105 APP2TARGET
= versioninfo
106 APP2OBJS
= $(COMMON_OBJFILES
) $(VERSIONINFO_OBJFILES
)
108 APP2STDLIBS
=$(SALLIB
)
113 # ------------------------------------------------------------------
114 APP3TARGET
= $(TARGET
)_timeout
115 APP3OBJS
= $(OBJ
)$/getopt.obj
$(OBJ
)$/filehelper.obj
$(OBJ
)$/terminate.obj
117 APP3STDLIBS
=$(SALLIB
)
122 .IF
"$(GUI)" == "WNT"
123 .IF
"$(COM)" == "GCC"
125 $(SOLARLIBDIR
)$/libc5t_winstuff
$(DLLPOSTFIX
).a
127 APP3LIBS
+= $(SOLARLIBDIR
)$/c5t_winstuff.lib
132 # --- Targets ------------------------------------------------------