diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-10-21 09:15:12 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-10-21 09:49:03 -0400 |
commit | ffcaa7651f5761c884b57e1c0f0ff0f92b803194 (patch) | |
tree | 2998f0bf2d4843b8d26a912fece947453b4ce538 /postgresql/ExternalPackage_postgresql.mk | |
parent | b339e4e2ba2b833903956cbcebf64a2a99dba176 (diff) |
convert postgresql to gbuild
Change-Id: Ia1345904a819d8edfad53c8882be35b398e8bc6e
Diffstat (limited to 'postgresql/ExternalPackage_postgresql.mk')
-rw-r--r-- | postgresql/ExternalPackage_postgresql.mk | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/postgresql/ExternalPackage_postgresql.mk b/postgresql/ExternalPackage_postgresql.mk new file mode 100644 index 000000000000..d86c1059ade2 --- /dev/null +++ b/postgresql/ExternalPackage_postgresql.mk @@ -0,0 +1,32 @@ +# -*- 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 \ +)) + +$(eval $(call gb_ExternalPackage_add_files,postgresql,inc/postgresql,\ + src/interfaces/libpq/libpq-flags.mk \ +)) + +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: |