1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
37 ENABLE_EXCEPTIONS
=TRUE
38 VISIBILITY_HIDDEN
=TRUE
40 # --- Settings ----------------------------------
41 .IF
"$(DBGUTIL_OJ)"!=""
42 ENVCFLAGS
+=/FR
$(SLO
)$/
45 .INCLUDE
: $(PRJ
)$/makefile.pmk
46 .INCLUDE
: $(PRJ
)$/version.mk
48 .IF
"$(SYSTEM_ODBC_HEADERS)" == "YES"
49 CFLAGS
+=-DSYSTEM_ODBC_HEADERS
52 # --- Files -------------------------------------
55 $(SLO
)$/BFunctions.obj \
56 $(SLO
)$/BConnection.obj \
58 $(SLO
)$/BCatalog.obj \
64 $(SLO
)$/BColumns.obj \
66 $(SLO
)$/BIndexColumns.obj \
67 $(SLO
)$/BIndexes.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
)
95 .IF
"$(ODBCBASELIB)" == ""
96 SHL1STDLIBS
+=$(ODBCBASELIB
)
100 SHL1IMPLIB
= i
$(SHL1TARGET
)
102 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
104 DEF1NAME
= $(SHL1TARGET
)
105 DEF1EXPORTFILE
= exports.dxp
107 # --- Targets ----------------------------------
110 .INCLUDE
: $(PRJ
)$/target.pmk