update dev300-m58
[ooovba.git] / testshl2 / source / makefile.mk
blobf411f7d7948f639bf831f11d434e950e50db1ab1
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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 #*************************************************************************
31 PRJ=..
33 PRJNAME=testshl2
34 TARGET=testshl2
35 TARGETTYPE=CUI
36 PRJINC=.
38 ENABLE_EXCEPTIONS=TRUE
39 #USE_LDUMP2=TRUE
40 #LDUMP2=LDUMP3
42 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 # ------------------------------------------------------------------
47 COMMON_OBJFILES=\
48 $(OBJ)$/getopt.obj \
49 $(OBJ)$/filehelper.obj \
50 $(OBJ)$/dynamicregister.obj
52 TESTSHL_OBJFILES=\
53 $(OBJ)$/autoregisterhelper.obj \
54 $(OBJ)$/testshl.obj
56 VERSIONINFO_OBJFILES=\
57 $(OBJ)$/versionhelper.obj \
58 $(OBJ)$/versioner.obj
60 BMSMA_OBJFILES=\
61 $(OBJ)$/bmsma.obj
63 # for right dependencies
64 # OBJFILES= $(COMMON_OBJFILES) $(TESTSHL_OBJFILES) $(VERSIONINFO_OBJFILES)
66 # ------------------------------------------------------------------
67 APP1TARGET= $(TARGET)
68 APP1OBJS= $(COMMON_OBJFILES) $(TESTSHL_OBJFILES)
69 APP1RPATH=NONE
71 APP1STDLIBS=$(SALLIB)
73 # the c5t*.lib files are out of the cppunit module
74 # APP1DEPN= \
75 # $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
76 # $(SOLARLIBDIR)$/c5t_testresult.lib
78 .IF "$(GUI)" == "WNT"
79 .IF "$(COM)" == "GCC"
80 APP1STDLIBS+= \
81 $(SOLARLIBDIR)$/libc5t_testresult$(DLLPOSTFIX).a \
82 $(SOLARLIBDIR)$/libc5t_no_regallfkt$(DLLPOSTFIX).a \
83 $(SOLARLIBDIR)$/libc5t_winstuff$(DLLPOSTFIX).a
84 .ELSE
85 APP1LIBS= \
86 $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
87 $(SOLARLIBDIR)$/c5t_testresult.lib
88 APP1LIBS += $(SOLARLIBDIR)$/c5t_winstuff.lib
89 .ENDIF
90 .ENDIF
92 .IF "$(GUI)" == "OS2"
93 APP1LIBS= \
94 $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
95 $(SOLARLIBDIR)$/c5t_testresult.lib
96 .ENDIF
98 .IF "$(GUI)" == "UNX"
99 APP1STDLIBS+= \
100 $(SOLARLIBDIR)$/libc5t_testresult$(DLLPOSTFIX).a \
101 $(SOLARLIBDIR)$/libc5t_no_regallfkt$(DLLPOSTFIX).a
102 .ENDIF
105 # ------------------------------------------------------------------
106 APP2TARGET= versioninfo
107 APP2OBJS= $(COMMON_OBJFILES) $(VERSIONINFO_OBJFILES)
109 APP2STDLIBS=$(SALLIB)
111 APP2DEPN=
112 APP2LIBS=
114 # ------------------------------------------------------------------
115 APP3TARGET= $(TARGET)_timeout
116 APP3OBJS= $(OBJ)$/getopt.obj $(OBJ)$/filehelper.obj $(OBJ)$/terminate.obj
118 APP3STDLIBS=$(SALLIB)
120 APP3DEPN=
121 APP3LIBS=
123 .IF "$(GUI)" == "WNT"
124 .IF "$(COM)" == "GCC"
125 APP3STDLIBS+= \
126 $(SOLARLIBDIR)$/libc5t_winstuff$(DLLPOSTFIX).a
127 .ELSE
128 APP3LIBS += $(SOLARLIBDIR)$/c5t_winstuff.lib
129 .ENDIF
130 .ENDIF
133 # --- Targets ------------------------------------------------------
135 .INCLUDE : target.mk