summaryrefslogtreecommitdiffstats
path: root/rules/host-postgresql.make
blob: c284478372dd15400cc5822344b0525280533b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# -*-makefile-*-
#
# Copyright (C) 2019 by Bjoern Esser <bes@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_POSTGRESQL) += host-postgresql

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#HOST_POSTGRESQL_CONF_ENV	:= $(HOST_ENV)

#
# autoconf
#
HOST_POSTGRESQL_CONF_TOOL	:= autoconf
HOST_POSTGRESQL_CONF_OPT	:= \
	$(HOST_AUTOCONF) \
	--enable-integer-datetimes \
	--disable-nls \
	--disable-rpath \
	--enable-spinlocks \
	--enable-atomics \
	--enable-strong-random \
	--disable-debug \
	--disable-profiling \
	--disable-coverage \
	--disable-dtrace \
	--disable-tap-tests \
	--disable-depend \
	--disable-cassert \
	--enable-thread-safety \
	--enable-largefile \
	--disable-float4-byval \
	--disable-float8-byval \
	--without-llvm \
	--without-icu \
	--without-tcl \
	--without-perl \
	--without-python \
	--without-gssapi \
	--without-pam \
	--without-bsd-auth \
	--without-ldap \
	--without-bonjour \
	--without-openssl \
	--without-selinux \
	--without-systemd \
	--without-readline \
	--without-libedit-preferred \
	--without-ossp-uuid \
	--without-libxml \
	--without-libxslt \
	--with-system-tzdata=/usr/share/zoneinfo \
	--without-zlib

#  --enable-tap-tests      enable TAP tests (requires Perl and IPC::Run)
#  --enable-depend         turn on automatic dependency tracking
#  --with-uuid=LIB         build contrib/uuid-ossp using LIB (bsd,e2fs,ossp)
#  --with-ossp-uuid        obsolete spelling of --with-uuid=ossp

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

HOST_POSTGRESQL_MAKE_ENV	:= \
	MAKELEVEL=0

HOST_POSTGRESQL_MAKE_OPT	:= \
	-C src/bin/pg_config

HOST_POSTGRESQL_INSTALL_OPT	:= \
	$(HOST_POSTGRESQL_MAKE_OPT) \
	install

# vim: syntax=make