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