Bump for 3.6-28
[LibreOffice.git] / connectivity / Module_connectivity.mk
blobb0dcdf836b1473e7dcb8dc2daad9cbe8aab3c42c
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_Module_Module,connectivity))
30 ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
32 $(eval $(call gb_Module_add_targets,connectivity,\
33 AllLangResTarget_cnr \
34 AllLangResTarget_sdbcl \
35 AllLangResTarget_sdberr \
36 Configuration_calc \
37 Configuration_dbase \
38 Configuration_flat \
39 Configuration_mysql \
40 Configuration_odbc \
41 Library_calc \
42 Library_dbase \
43 Library_dbpool2 \
44 Library_dbtools \
45 Library_file \
46 Library_flat \
47 Library_mysql \
48 Library_odbc \
49 Library_odbcbase \
50 Library_sdbc2 \
51 Package_generated \
52 Package_inc \
53 Package_xml \
56 ifneq ($(SOLAR_JAVA),)
57 $(eval $(call gb_Module_add_targets,connectivity,\
58 AllLangResTarget_hsqldb \
59 Configuration_hsqldb \
60 Configuration_jdbc \
61 Jar_sdbc_hsqldb \
62 Library_hsqldb \
63 Library_jdbc \
65 endif
67 ifeq ($(GUI),UNX)
69 ifeq ($(ENABLE_KAB),TRUE)
70 $(eval $(call gb_Module_add_targets,connectivity,\
71 Configuration_kab \
72 Library_kab1 \
73 Library_kabdrv1 \
75 endif
77 ifeq ($(ENABLE_TDEAB),TRUE)
78 $(eval $(call gb_Module_add_targets,connectivity,\
79 Configuration_tdeab \
80 Library_tdeab1 \
81 Library_tdeabdrv1 \
83 endif
85 ifeq ($(OS),MACOSX)
86 $(eval $(call gb_Module_add_targets,connectivity,\
87 Configuration_macab \
88 Library_macab1 \
89 Library_macabdrv1 \
91 endif
93 endif
95 ifeq ($(GUI),WNT)
96 $(eval $(call gb_Module_add_targets,connectivity,\
97 Configuration_ado \
98 Library_ado \
100 endif
102 ifeq ($(ENABLE_EVOAB2),TRUE)
103 $(eval $(call gb_Module_add_targets,connectivity,\
104 Configuration_evoab \
105 Library_evoab \
107 endif
109 ifeq ($(BUILD_POSTGRESQL_SDBC),YES)
110 $(eval $(call gb_Module_add_targets,connectivity,\
111 Configuration_postgresql \
112 Library_postgresql-sdbc \
113 Library_postgresql-sdbc-impl \
114 Package_postgresql-sdbc \
115 Rdb_postgresql-sdbc \
117 endif
119 ifeq ($(if $(or $(filter-out YES,$(WITH_MOZILLA)),$(filter YES,$(SYSTEM_MOZILLA)),$(filter MACOSX,$(OS))),YES),YES)
120 $(eval $(call gb_Module_add_targets,connectivity,\
121 Library_mozbootstrap \
123 else
125 $(eval $(call gb_Module_add_targets,connectivity,\
126 Library_mozab \
127 Library_mozabdrv \
130 ifeq ($(OS),WNT)
131 $(eval $(call gb_Module_add_targets,connectivity,\
132 Configuration_mozab \
134 else
135 $(eval $(call gb_Module_add_targets,connectivity,\
136 Configuration_mozab2 \
138 endif
140 endif
142 ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
143 $(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
144 Jar_ConnectivityTools \
146 # FIXME: Does not work. Convert to JUnit.
147 # JunitTest_complex \
149 endif
151 endif
153 # vim: set noet sw=4 ts=4: