Update ooo320-m1
[ooovba.git] / connectivity / source / drivers / ado / makefile.mk
blobb453c528e1272217037714e2a4463ff45853932a
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.17 $
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=ado
36 VISIBILITY_HIDDEN=TRUE
38 # ENABLE_EXCEPTIONS=TRUE
40 # --- Settings ----------------------------------
41 .IF "$(DBGUTIL_OJ)"!=""
42 ENVCFLAGS+=/FR$(SLO)$/
43 .ENDIF
45 .INCLUDE : $(PRJ)$/version.mk
46 .INCLUDE : $(PRJ)$/makefile.pmk
48 .IF "$(GUI)"=="WNT"
49 # --- Files -------------------------------------
51 EXCEPTIONSFILES= \
52 $(SLO)$/ADatabaseMetaDataImpl.obj \
53 $(SLO)$/Aolevariant.obj \
54 $(SLO)$/ADatabaseMetaData.obj \
55 $(SLO)$/AColumn.obj \
56 $(SLO)$/AColumns.obj \
57 $(SLO)$/AIndex.obj \
58 $(SLO)$/AIndexes.obj \
59 $(SLO)$/AKey.obj \
60 $(SLO)$/AKeys.obj \
61 $(SLO)$/AUser.obj \
62 $(SLO)$/AUsers.obj \
63 $(SLO)$/AGroup.obj \
64 $(SLO)$/AGroups.obj \
65 $(SLO)$/ACatalog.obj \
66 $(SLO)$/AView.obj \
67 $(SLO)$/AViews.obj \
68 $(SLO)$/ATable.obj \
69 $(SLO)$/ATables.obj \
70 $(SLO)$/ACallableStatement.obj \
71 $(SLO)$/ADatabaseMetaDataResultSetMetaData.obj \
72 $(SLO)$/ADatabaseMetaDataResultSet.obj \
73 $(SLO)$/AResultSet.obj \
74 $(SLO)$/AConnection.obj \
75 $(SLO)$/AStatement.obj \
76 $(SLO)$/APreparedStatement.obj \
77 $(SLO)$/AResultSetMetaData.obj \
78 $(SLO)$/ADriver.obj \
79 $(SLO)$/Aservices.obj
81 SLOFILES=\
82 $(EXCEPTIONSFILES) \
83 $(SLO)$/Awrapado.obj \
84 $(SLO)$/adoimp.obj
85 # --- Library -----------------------------------
87 SHL1TARGET= $(ADO_TARGET)$(DLLPOSTFIX)
88 SHL1OBJS=$(SLOFILES)
89 SHL1STDLIBS=\
90 $(CPPULIB) \
91 $(CPPUHELPERLIB) \
92 $(VOSLIB) \
93 $(SALLIB) \
94 $(OLE32LIB) \
95 $(OLEAUT32LIB) \
96 $(UUIDLIB) \
97 $(DBTOOLSLIB) \
98 $(COMPHELPERLIB)
100 .IF "$(COMPHELPERLIB)" == ""
101 SHL1STDLIBS+= icomphelp2.lib
102 .ENDIF
104 #SHL1DEPN=
105 SHL1IMPLIB= i$(SHL1TARGET)
107 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
109 DEF1NAME= $(SHL1TARGET)
110 DEF1EXPORTFILE= exports.dxp
112 .ELSE
113 dummy:
114 @echo "Nothing to build for GUI $(GUI)"
115 .ENDIF # "$(GUI)"=="WNT"
116 # --- Targets ----------------------------------
117 .INCLUDE : $(PRJ)$/target.pmk