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 31TARGET=odbc 32 33ENABLE_EXCEPTIONS=TRUE 34VISIBILITY_HIDDEN=TRUE 35USE_DEFFILE=TRUE 36LDUMP=ldump2.exe 37 38# --- Settings ---------------------------------- 39 40.IF "$(DBGUTIL_OJ)"!="" 41ENVCFLAGS+=/FR$(SLO)$/ 42.ENDIF 43 44.INCLUDE : $(PRJ)$/makefile.pmk 45.INCLUDE : $(PRJ)$/version.mk 46 47.IF "$(SYSTEM_ODBC_HEADERS)" == "YES" 48CFLAGS+=-DSYSTEM_ODBC_HEADERS 49.ENDIF 50 51# --- ODBC Library ----------------------------------- 52# --- Files ------------------------------------- 53 54SLOFILES=\ 55 $(SLO)$/oservices.obj \ 56 $(SLO)$/ORealDriver.obj \ 57 $(SLO)$/OFunctions.obj 58 59# --- ODBC Library ----------------------------------- 60 61SHL1TARGET= $(ODBC_TARGET)$(DLLPOSTFIX) 62SHL1OBJS=$(SLOFILES) 63SHL1STDLIBS=\ 64 $(ODBCBASELIB) \ 65 $(CPPUHELPERLIB) \ 66 $(CPPULIB) \ 67 $(SALLIB) 68 69SHL1IMPLIB= i$(ODBC_TARGET) 70 71SHL1DEF= $(MISC)$/$(SHL1TARGET).def 72 73DEF1NAME= $(SHL1TARGET) 74SHL1VERSIONMAP=$(SOLARENV)/src/component.map 75 76# --- Targets ---------------------------------- 77 78.INCLUDE : $(PRJ)$/target.pmk 79 80ALLTAR : $(MISC)/odbc.component 81 82$(MISC)/odbc.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 83 odbc.component 84 $(XSLTPROC) --nonet --stringparam uri \ 85 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 86 $(SOLARENV)/bin/createcomponent.xslt odbc.component 87