1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25
26PRJNAME=		dtrans
27TARGET=			testwincb
28TARGET1=		testmshl
29LIBTARGET=		NO
30TARGETTYPE=		CUI
31USE_BOUNDCHK=
32TESTCB=TRUE
33
34.IF "$(USE_BOUNDCHK)"=="TR"
35bndchk=tr
36stoponerror=tr
37.ENDIF
38
39# --- Settings -----------------------------------------------------
40#.INCLUDE :		$(PRJ)$/util$/makefile.pmk
41
42.INCLUDE :  settings.mk
43
44.IF "$(TESTCB)"=="TRUE"
45
46CFLAGS+=-D_WIN32_DCOM -EHsc -Ob0
47
48# --- Files --------------------------------------------------------
49
50OBJFILES=   	$(OBJ)$/test_wincb.obj
51APP1TARGET=		$(TARGET)
52APP1OBJS=		$(OBJ)$/test_wincb.obj
53
54
55APP1STDLIBS=	$(SALLIB) \
56				$(CPPULIB)			\
57				$(CPPUHELPERLIB)	\
58				$(SOLARLIBDIR)$/uwinapi.lib\
59				$(USER32LIB) \
60				$(OLE32LIB)\
61				$(COMDLG32LIB)
62
63APP1LIBS= $(SLB)$/dtutils.lib
64
65
66APP1NOSAL=  TRUE
67
68.ENDIF
69
70.IF "$(TESTCB)"==""
71
72CFLAGS+=/D_WIN32_DCOM /EHsc /Ob0
73
74OBJFILES=   	$(OBJ)$/testmarshal.obj
75APP1TARGET=		$(TARGET1)
76APP1OBJS=		$(OBJ)$/testmarshal.obj
77
78APP1STDLIBS=	$(SALLIB)\
79				$(USER32LIB)\
80				$(OLE32LIB)\
81				comsupp.lib\
82				$(OLEAUT32LIB)
83
84APP1LIBS=
85
86APP1NOSAL=  TRUE
87
88.ENDIF
89
90# --- Targets ------------------------------------------------------
91.INCLUDE :		target.mk
92#.INCLUDE :		$(PRJ)$/util$/target.pmk
93