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 27TARGET=odbcbase 28 29ENABLE_EXCEPTIONS=TRUE 30VISIBILITY_HIDDEN=TRUE 31 32# --- Settings ---------------------------------- 33 34.INCLUDE : settings.mk 35.INCLUDE : $(PRJ)$/version.mk 36 37CDEFS += -DOOO_DLLIMPLEMENTATION_ODBCBASE 38 39.IF "$(SYSTEM_ODBC_HEADERS)" == "YES" 40CFLAGS+=-DSYSTEM_ODBC_HEADERS 41.ENDIF 42 43# --- Files ------------------------------------- 44 45SLOFILES=\ 46 $(SLO)$/OPreparedStatement.obj \ 47 $(SLO)$/OStatement.obj \ 48 $(SLO)$/OResultSetMetaData.obj \ 49 $(SLO)$/OResultSet.obj \ 50 $(SLO)$/OTools.obj \ 51 $(SLO)$/ODatabaseMetaDataResultSet.obj \ 52 $(SLO)$/ODatabaseMetaData.obj \ 53 $(SLO)$/ODriver.obj \ 54 $(SLO)$/OConnection.obj 55 56# --- ODBC BASE Library ----------------------------------- 57 58SHL1TARGET= $(ODBC2_TARGET)$(DLLPOSTFIX) 59SHL1OBJS=$(SLOFILES) 60SHL1STDLIBS=\ 61 $(DBTOOLSLIB) \ 62 $(COMPHELPERLIB) \ 63 $(CPPUHELPERLIB) \ 64 $(CPPULIB) \ 65 $(VOSLIB) \ 66 $(SALLIB) 67 68SHL1DEPN= 69SHL1IMPLIB= i$(ODBC2_TARGET) 70SHL1USE_EXPORTS=name 71 72SHL1DEF= $(MISC)$/$(SHL1TARGET).def 73 74DEF1NAME= $(SHL1TARGET) 75DEF1DEPN= $(MISC)$/$(SHL1TARGET).flt \ 76 $(SLB)$/$(TARGET).lib 77DEFLIB1NAME=$(TARGET) 78 79# --- Targets ---------------------------------- 80 81.INCLUDE : target.mk 82 83# --- filter file ------------------------------ 84 85$(MISC)$/$(SHL1TARGET).flt: makefile.mk 86 @echo CLEAR_THE_FILE > $@ 87