1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_Library_Library
,postgresql-sdbc-impl
))
12 $(eval
$(call gb_Library_add_defs
,postgresql-sdbc-impl
,\
18 $(eval
$(call gb_Library_set_precompiled_header
,postgresql-sdbc-impl
,$(SRCDIR
)/connectivity
/inc
/pch
/precompiled_postgresql-sdbc-impl
))
20 $(eval
$(call gb_Library_use_sdk_api
,postgresql-sdbc-impl
))
22 $(eval
$(call gb_Library_use_libraries
,postgresql-sdbc-impl
,\
32 $(eval
$(call gb_Library_use_system_win32_libs
,postgresql-sdbc-impl
,\
38 $(eval
$(call gb_Library_add_ldflags
,postgresql-sdbc-impl
,\
39 /NODEFAULTLIB
:libcmt.lib \
45 $(eval
$(call gb_Library_use_externals
,postgresql-sdbc-impl
,\
48 $(if
$(filter-out MSC
,$(COM
)), \
57 ifeq ($(SYSTEM_POSTGRESQL
),)
60 $(eval
$(call gb_Library_add_libs
,postgresql-sdbc-impl
,\
61 $(if
$(WITH_GSSAPI
),$(GSSAPI_LIBS
)) \
62 $(if
$(WITH_KRB5
),$(KRB5_LIBS
)) \
63 $(if
$(filter-out MACOSX
,$(OS
)),-ldl
) \
64 $(if
$(filter-out MACOSX
,$(OS
)),-lpthread
) \
70 $(eval
$(call gb_Library_set_componentfile
,postgresql-sdbc-impl
,connectivity
/source
/drivers
/postgresql
/postgresql-sdbc-impl
))
72 $(eval
$(call gb_Library_add_exception_objects
,postgresql-sdbc-impl
,\
73 connectivity
/source
/drivers
/postgresql
/pq_array \
74 connectivity
/source
/drivers
/postgresql
/pq_baseresultset \
75 connectivity
/source
/drivers
/postgresql
/pq_connection \
76 connectivity
/source
/drivers
/postgresql
/pq_databasemetadata \
77 connectivity
/source
/drivers
/postgresql
/pq_fakedupdateableresultset \
78 connectivity
/source
/drivers
/postgresql
/pq_preparedstatement \
79 connectivity
/source
/drivers
/postgresql
/pq_resultset \
80 connectivity
/source
/drivers
/postgresql
/pq_resultsetmetadata \
81 connectivity
/source
/drivers
/postgresql
/pq_sequenceresultset \
82 connectivity
/source
/drivers
/postgresql
/pq_sequenceresultsetmetadata \
83 connectivity
/source
/drivers
/postgresql
/pq_statement \
84 connectivity
/source
/drivers
/postgresql
/pq_statics \
85 connectivity
/source
/drivers
/postgresql
/pq_tools \
86 connectivity
/source
/drivers
/postgresql
/pq_updateableresultset \
87 connectivity
/source
/drivers
/postgresql
/pq_xbase \
88 connectivity
/source
/drivers
/postgresql
/pq_xcolumn \
89 connectivity
/source
/drivers
/postgresql
/pq_xcolumns \
90 connectivity
/source
/drivers
/postgresql
/pq_xcontainer \
91 connectivity
/source
/drivers
/postgresql
/pq_xindex \
92 connectivity
/source
/drivers
/postgresql
/pq_xindexcolumn \
93 connectivity
/source
/drivers
/postgresql
/pq_xindexcolumns \
94 connectivity
/source
/drivers
/postgresql
/pq_xindexes \
95 connectivity
/source
/drivers
/postgresql
/pq_xkey \
96 connectivity
/source
/drivers
/postgresql
/pq_xkeycolumn \
97 connectivity
/source
/drivers
/postgresql
/pq_xkeycolumns \
98 connectivity
/source
/drivers
/postgresql
/pq_xkeys \
99 connectivity
/source
/drivers
/postgresql
/pq_xtable \
100 connectivity
/source
/drivers
/postgresql
/pq_xtables \
101 connectivity
/source
/drivers
/postgresql
/pq_xuser \
102 connectivity
/source
/drivers
/postgresql
/pq_xusers \
103 connectivity
/source
/drivers
/postgresql
/pq_xview \
104 connectivity
/source
/drivers
/postgresql
/pq_xviews \
107 # vim: set noet sw=4 ts=4: