merge the formfield patch from ooo-build
[ooovba.git] / connectivity / source / drivers / adabas / makefile.mk
blob5b3483ed57bb9e8001c96dbeb6d3e56c5141b4ae
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.30 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..
33 PRJINC=..$/..
34 PRJNAME=connectivity
35 TARGET=adabas
37 ENABLE_EXCEPTIONS=TRUE
38 VISIBILITY_HIDDEN=TRUE
40 # --- Settings ----------------------------------
41 .IF "$(DBGUTIL_OJ)"!=""
42 ENVCFLAGS+=/FR$(SLO)$/
43 .ENDIF
45 .INCLUDE : $(PRJ)$/makefile.pmk
46 .INCLUDE : $(PRJ)$/version.mk
48 .IF "$(SYSTEM_ODBC_HEADERS)" == "YES"
49 CFLAGS+=-DSYSTEM_ODBC_HEADERS
50 .ENDIF
52 # --- Files -------------------------------------
54 SLOFILES=\
55 $(SLO)$/BFunctions.obj \
56 $(SLO)$/BConnection.obj \
57 $(SLO)$/BDriver.obj \
58 $(SLO)$/BCatalog.obj \
59 $(SLO)$/BGroups.obj \
60 $(SLO)$/BGroup.obj \
61 $(SLO)$/BUser.obj \
62 $(SLO)$/BUsers.obj \
63 $(SLO)$/BKeys.obj \
64 $(SLO)$/BColumns.obj \
65 $(SLO)$/BIndex.obj \
66 $(SLO)$/BIndexColumns.obj \
67 $(SLO)$/BIndexes.obj \
68 $(SLO)$/BTable.obj \
69 $(SLO)$/BTables.obj \
70 $(SLO)$/BViews.obj \
71 $(SLO)$/Bservices.obj \
72 $(SLO)$/BDatabaseMetaData.obj \
73 $(SLO)$/BPreparedStatement.obj \
74 $(SLO)$/BStatement.obj \
75 $(SLO)$/BResultSetMetaData.obj \
76 $(SLO)$/BResultSet.obj
78 SHL1VERSIONMAP=$(TARGET).map
80 # --- Library -----------------------------------
82 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
83 SHL1OBJS=$(SLOFILES)
84 SHL1STDLIBS=\
85 $(CPPULIB) \
86 $(CPPUHELPERLIB) \
87 $(VOSLIB) \
88 $(SALLIB) \
89 $(DBTOOLSLIB) \
90 $(TOOLSLIB) \
91 $(ODBCBASELIB) \
92 $(UNOTOOLSLIB) \
93 $(COMPHELPERLIB)
95 .IF "$(ODBCBASELIB)" == ""
96 SHL1STDLIBS+=$(ODBCBASELIB)
97 .ENDIF
99 SHL1DEPN=
100 SHL1IMPLIB= i$(SHL1TARGET)
102 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
104 DEF1NAME= $(SHL1TARGET)
105 DEF1EXPORTFILE= exports.dxp
107 # --- Targets ----------------------------------
110 .INCLUDE : $(PRJ)$/target.pmk