fix toolbar import
[ooovba.git] / testshl2 / source / makefile.mk
blob13d30d0187da48223cade76b0af454922919c960
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)
70 APP1STDLIBS=$(SALLIB)
72 # the c5t*.lib files are out of the cppunit module
73 # APP1DEPN= \
74 # $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
75 # $(SOLARLIBDIR)$/c5t_testresult.lib
77 .IF "$(GUI)" == "WNT"
78 .IF "$(COM)" == "GCC"
79 APP1STDLIBS+= \
80 $(SOLARLIBDIR)$/libc5t_testresult$(DLLPOSTFIX).a \
81 $(SOLARLIBDIR)$/libc5t_no_regallfkt$(DLLPOSTFIX).a \
82 $(SOLARLIBDIR)$/libc5t_winstuff$(DLLPOSTFIX).a
83 .ELSE
84 APP1LIBS= \
85 $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
86 $(SOLARLIBDIR)$/c5t_testresult.lib
87 APP1LIBS += $(SOLARLIBDIR)$/c5t_winstuff.lib
88 .ENDIF
89 .ENDIF
91 .IF "$(GUI)" == "OS2"
92 APP1LIBS= \
93 $(SOLARLIBDIR)$/c5t_no_regallfkt.lib \
94 $(SOLARLIBDIR)$/c5t_testresult.lib
95 .ENDIF
97 .IF "$(GUI)" == "UNX"
98 APP1STDLIBS+= \
99 $(SOLARLIBDIR)$/libc5t_testresult$(DLLPOSTFIX).a \
100 $(SOLARLIBDIR)$/libc5t_no_regallfkt$(DLLPOSTFIX).a
101 .ENDIF
104 # ------------------------------------------------------------------
105 APP2TARGET= versioninfo
106 APP2OBJS= $(COMMON_OBJFILES) $(VERSIONINFO_OBJFILES)
108 APP2STDLIBS=$(SALLIB)
110 APP2DEPN=
111 APP2LIBS=
113 # ------------------------------------------------------------------
114 APP3TARGET= $(TARGET)_timeout
115 APP3OBJS= $(OBJ)$/getopt.obj $(OBJ)$/filehelper.obj $(OBJ)$/terminate.obj
117 APP3STDLIBS=$(SALLIB)
119 APP3DEPN=
120 APP3LIBS=
122 .IF "$(GUI)" == "WNT"
123 .IF "$(COM)" == "GCC"
124 APP3STDLIBS+= \
125 $(SOLARLIBDIR)$/libc5t_winstuff$(DLLPOSTFIX).a
126 .ELSE
127 APP3LIBS += $(SOLARLIBDIR)$/c5t_winstuff.lib
128 .ENDIF
129 .ENDIF
132 # --- Targets ------------------------------------------------------
134 .INCLUDE : target.mk