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=..$/..
25PRJINC=..
26PRJNAME=connectivity
27# common resources in connectivity
28TARGET=cnr
29# resources used for logging in the various SDBC drivers
30TARGET2=sdbcl
31# resources used for ::com::sun::star::sdb::ErrorCondition messages
32TARGET3=sdberr
33
34ENABLE_EXCEPTIONS=TRUE
35
36# --- Settings ----------------------------------
37.IF "$(DBGUTIL_OJ)"!=""
38ENVCFLAGS+=/FR$(SLO)$/
39.ENDIF
40
41CDEFS+=-DCONN_SHARED_RESOURCE_FILE=$(TARGET)
42
43.INCLUDE : settings.mk
44.INCLUDE :  $(PRJ)$/dbtools.pmk
45.INCLUDE :  $(PRJ)$/version.mk
46
47
48# --- Files -------------------------------------
49
50EXCEPTIONSFILES=\
51    $(SLO)$/sharedresources.obj
52
53SLOFILES=\
54		$(EXCEPTIONSFILES)
55
56# ...............................................
57
58SRS1NAME=conn_shared_res
59SRC1FILES= \
60    $(SRS1NAME).src
61
62# ...............................................
63
64SRS2NAME=conn_log_res
65SRC2FILES= \
66    $(SRS2NAME).src
67
68# ...............................................
69
70SRS3NAME=conn_error_message
71SRC3FILES= \
72    $(SRS3NAME).src
73
74# === .res file ==========================================================
75
76# ...............................................
77
78RES1FILELIST=\
79    $(SRS)$/$(SRS1NAME).srs \
80
81RESLIB1NAME=$(TARGET)
82RESLIB1SRSFILES=$(RES1FILELIST)
83
84# ...............................................
85
86RES2FILELIST=\
87    $(SRS)$/$(SRS2NAME).srs \
88
89RESLIB2NAME=$(TARGET2)
90RESLIB2SRSFILES=$(RES2FILELIST)
91
92# ...............................................
93
94RES3FILELIST=\
95    $(SRS)$/$(SRS3NAME).srs \
96
97RESLIB3NAME=$(TARGET3)
98RESLIB3SRSFILES=$(RES3FILELIST)
99
100# --- Targets ----------------------------------
101
102.INCLUDE : target.mk
103
104
105