Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / connectivity / Library_ado.mk
blob0d83eaec665bbc9626d97c5456dafabf2bf25b85
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # Major Contributor(s):
16 # Copyright (C) 2011 Peter Foley <pefoley2@verizon.net> (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 $(eval $(call gb_Library_Library,ado))
30 $(eval $(call gb_Library_set_componentfile,ado,connectivity/source/drivers/ado/ado))
32 $(eval $(call gb_Library_set_include,ado,\
33 -I$(SRCDIR)/connectivity/source/inc \
34 $$(INCLUDE) \
37 $(eval $(call gb_Library_use_sdk_api,ado))
39 ifeq ($(COM),GCC)
40 $(eval $(call gb_Library_add_cxxflags,ado,\
41 -fpermissive \
43 endif
45 $(eval $(call gb_Library_use_system_win32_libs,ado,\
46 ole32 \
47 oleaut32 \
48 uuid \
51 ifeq ($(WINDOWS_SDK_VERSION),80)
52 $(eval $(call gb_Library_add_defs,ado,\
53 -DNTDDI_VERSION=0x0601 \
55 endif
57 $(eval $(call gb_Library_use_libraries,ado,\
58 cppu \
59 cppuhelper \
60 sal \
61 salhelper \
62 dbtools \
63 comphelper \
64 $(gb_UWINAPI) \
67 $(eval $(call gb_Library_add_exception_objects,ado,\
68 connectivity/source/drivers/ado/ADatabaseMetaDataImpl \
69 connectivity/source/drivers/ado/Aolevariant \
70 connectivity/source/drivers/ado/ADatabaseMetaData \
71 connectivity/source/drivers/ado/AColumn \
72 connectivity/source/drivers/ado/AColumns \
73 connectivity/source/drivers/ado/AIndex \
74 connectivity/source/drivers/ado/AIndexes \
75 connectivity/source/drivers/ado/AKey \
76 connectivity/source/drivers/ado/AKeys \
77 connectivity/source/drivers/ado/AUser \
78 connectivity/source/drivers/ado/AUsers \
79 connectivity/source/drivers/ado/AGroup \
80 connectivity/source/drivers/ado/AGroups \
81 connectivity/source/drivers/ado/ACatalog \
82 connectivity/source/drivers/ado/AView \
83 connectivity/source/drivers/ado/AViews \
84 connectivity/source/drivers/ado/ATable \
85 connectivity/source/drivers/ado/ATables \
86 connectivity/source/drivers/ado/ACallableStatement \
87 connectivity/source/drivers/ado/ADatabaseMetaDataResultSetMetaData \
88 connectivity/source/drivers/ado/ADatabaseMetaDataResultSet \
89 connectivity/source/drivers/ado/AResultSet \
90 connectivity/source/drivers/ado/AConnection \
91 connectivity/source/drivers/ado/AStatement \
92 connectivity/source/drivers/ado/APreparedStatement \
93 connectivity/source/drivers/ado/AResultSetMetaData \
94 connectivity/source/drivers/ado/ADriver \
95 connectivity/source/drivers/ado/Aservices \
96 connectivity/source/drivers/ado/Awrapado \
97 connectivity/source/drivers/ado/adoimp \
100 # vim: set noet sw=4 ts=4: