Update ooo320-m1
[ooovba.git] / dtrans / source / win32 / workbench / makefile.mk
blob333e41f8a13f3f5a0d95aff456c97441867ce846
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.11 $
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 #*************************************************************************
32 PRJ=..$/..$/..
34 PRJNAME= dtrans
35 TARGET= testwincb
36 TARGET1= testmshl
37 LIBTARGET= NO
38 TARGETTYPE= CUI
39 USE_BOUNDCHK=
40 TESTCB=TRUE
42 .IF "$(USE_BOUNDCHK)"=="TR"
43 bndchk=tr
44 stoponerror=tr
45 .ENDIF
47 # --- Settings -----------------------------------------------------
48 #.INCLUDE : $(PRJ)$/util$/makefile.pmk
50 .INCLUDE : settings.mk
52 .IF "$(TESTCB)"=="TRUE"
54 CFLAGS+=-D_WIN32_DCOM -EHsc -Ob0
56 # --- Files --------------------------------------------------------
58 OBJFILES= $(OBJ)$/test_wincb.obj
59 APP1TARGET= $(TARGET)
60 APP1OBJS= $(OBJ)$/test_wincb.obj
63 APP1STDLIBS= $(SALLIB) \
64 $(CPPULIB) \
65 $(CPPUHELPERLIB) \
66 $(SOLARLIBDIR)$/uwinapi.lib\
67 $(USER32LIB) \
68 $(OLE32LIB)\
69 $(COMDLG32LIB)
71 APP1LIBS= $(SLB)$/dtutils.lib
74 APP1NOSAL= TRUE
76 .ENDIF
78 .IF "$(TESTCB)"==""
80 CFLAGS+=/D_WIN32_DCOM /EHsc /Ob0
82 OBJFILES= $(OBJ)$/testmarshal.obj
83 APP1TARGET= $(TARGET1)
84 APP1OBJS= $(OBJ)$/testmarshal.obj
86 APP1STDLIBS= $(SALLIB)\
87 $(USER32LIB)\
88 $(OLE32LIB)\
89 comsupp.lib\
90 $(OLEAUT32LIB)
92 APP1LIBS=
94 APP1NOSAL= TRUE
96 .ENDIF
98 # --- Targets ------------------------------------------------------
99 .INCLUDE : target.mk
100 #.INCLUDE : $(PRJ)$/util$/target.pmk