summaryrefslogtreecommitdiff
path: root/src/gtm/Makefile.global
blob: 684690b5d955f380231f731487d960b8a97020da (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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116

##########################################################################
#
# Meta configuration
# Copyright (c) 2010-2011 Nippon Telegraph and Telephone Corporation

.PHONY: all install install-strip installdirs uninstall clean distclean check installcheck
.SILENT: installdirs

# make `all' the default target
all:

# Delete target files if the command fails after it has
# started to update the file.
.DELETE_ON_ERROR:

# PostgreSQL version number
VERSION = 1.0Beta
MAJORVERSION = 1.0

top_srcdir=$(top_build_dir)

enable_shared   = yes

##########################################################################
#
# Programs and flags

# Compilers

CPP = gcc -E
CPPFLAGS = -g -D_GNU_SOURCE 

override CPPFLAGS := -I$(top_srcdir)/include $(CPPFLAGS)

CC = gcc
GCC = yes
SUN_STUDIO_CC = no
CFLAGS = $(DEBUGFLAGS) -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv

# Kind-of compilers

BISON = bison
BISONFLAGS =  $(YFLAGS)
FLEX = /usr/bin/flex
FLEXFLAGS =  $(LFLAGS)
DTRACE = 
DTRACEFLAGS = 
ZIC = 

# Linking

AR = ar
DLLTOOL = 
DLLWRAP = 
LIBS = -lz -lreadline -lcrypt -ldl -lm -lpthread
LDAP_LIBS_FE = 
LDAP_LIBS_BE = 
OSSP_UUID_LIBS = 
LD = /usr/bin/ld
with_gnu_ld = yes
ld_R_works = 
LDFLAGS =   -Wl,--as-needed
LDFLAGS_SL = 
LDREL = -r
LDOUT = -o
RANLIB = ranlib
WINDRES = 
X = 

# Perl 

# quoted for pathname with spaces
PERL			= "/usr/bin/perl"
perl_archlibexp		= 
perl_privlibexp		= 
perl_useshrplib		= 
perl_embed_ldflags	= 

# Miscellaneous

AWK	= gawk
LN_S	= ln -s
MSGFMT  = 
MSGMERGE = 
PYTHON	= 
TAR	= /bin/tar
XGETTEXT = 

GZIP	= gzip
BZIP2	= bzip2

PL_TESTDB = pl_regression
CONTRIB_TESTDB = contrib_regression



##########################################################################
#
# Additional platform-specific settings
#

# Name of the "template"
PORTNAME= linux


# Set up rpath if enabled.  By default it will point to our libdir,
# but individual Makefiles can force other rpath paths if needed.
rpathdir = $(libdir)

ifeq ($(enable_rpath), yes)
LDFLAGS += $(rpath)
endif

include $(top_build_dir)/gtm/Makefile.port