xref: /AOO41X/main/dtrans/source/win32/workbench/makefile.mk (revision 5979ef3c542ac870a02043decc543300c0ec3dfb)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..$/..
29
30PRJNAME=        dtrans
31TARGET=         testwincb
32TARGET1=        testmshl
33LIBTARGET=      NO
34TARGETTYPE=     CUI
35USE_BOUNDCHK=
36TESTCB=TRUE
37
38.IF "$(USE_BOUNDCHK)"=="TR"
39bndchk=tr
40stoponerror=tr
41.ENDIF
42
43# --- Settings -----------------------------------------------------
44#.INCLUDE :     $(PRJ)$/util$/makefile.pmk
45
46.INCLUDE :  settings.mk
47
48.IF "$(TESTCB)"=="TRUE"
49
50CFLAGS+=-D_WIN32_DCOM -EHsc -Ob0
51
52# --- Files --------------------------------------------------------
53
54OBJFILES=       $(OBJ)$/test_wincb.obj
55APP1TARGET=     $(TARGET)
56APP1OBJS=       $(OBJ)$/test_wincb.obj
57
58
59APP1STDLIBS=    $(SALLIB) \
60                $(CPPULIB)          \
61                $(CPPUHELPERLIB)    \
62                $(SOLARLIBDIR)$/uwinapi.lib\
63                $(USER32LIB) \
64                $(OLE32LIB)\
65                $(COMDLG32LIB)
66
67APP1LIBS= $(SLB)$/dtutils.lib
68
69
70APP1NOSAL=  TRUE
71
72.ENDIF
73
74.IF "$(TESTCB)"==""
75
76CFLAGS+=/D_WIN32_DCOM /EHsc /Ob0
77
78OBJFILES=       $(OBJ)$/testmarshal.obj
79APP1TARGET=     $(TARGET1)
80APP1OBJS=       $(OBJ)$/testmarshal.obj
81
82APP1STDLIBS=    $(SALLIB)\
83                $(USER32LIB)\
84                $(OLE32LIB)\
85                comsupp.lib\
86                $(OLEAUT32LIB)
87
88APP1LIBS=
89
90APP1NOSAL=  TRUE
91
92.ENDIF
93
94# --- Targets ------------------------------------------------------
95.INCLUDE :      target.mk
96#.INCLUDE :     $(PRJ)$/util$/target.pmk
97