office-gobmx/postgresql/ExternalPackage_postgresql.mk
Peter Foley 3326a85ae6 fix postgresql build
Change-Id: I379029dbf600769e415582aa7162f320e707c3da
2013-03-26 14:22:20 -04:00

28 lines
869 B
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_ExternalPackage_ExternalPackage,postgresql,postgresql))
$(eval $(call gb_ExternalPackage_use_external_project,postgresql,postgresql))
$(eval $(call gb_ExternalPackage_add_unpacked_files,postgresql,inc/postgresql,\
src/include/postgres_ext.h \
src/interfaces/libpq/libpq-fe.h \
))
ifeq ($(OS),WNT)
$(eval $(call gb_ExternalPackage_add_files,postgresql,lib,\
src/interfaces/libpq/libpq.lib \
))
else
$(eval $(call gb_ExternalPackage_add_files,postgresql,lib,\
src/interfaces/libpq/libpq.a \
))
endif
# vim: set noet sw=4 ts=4: