aboutsummaryrefslogtreecommitdiff
path: root/src/mk/port/postgres.mk.alpha
blob: c3d9071e3d3df3968b56f14432dd84fe99bb6647 (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
#-------------------------------------------------------------------------
#
# postgres.mk.alpha--
#    DEC Alpha AXP/OSF specific rules and variables
#
# Copyright (c) 1994-5, Regents of the University of California
#
#    $Id: postgres.mk.alpha,v 1.1.1.1 1996/07/09 06:22:20 scrappy Exp $
#
#-------------------------------------------------------------------------
ifndef MK_PORT
MK_PORT=	alpha


#
# for postgres.mk
#
CFLAGS_BE+= -DUSE_POSIX_SIGNALS

# NOFIXADE disallows unaligned access.
#	on Ultrix and OSF/1 it invokes an explicit syscall.
#	on HP-UX it turns off certain compiler options.
# This is defined here because a bunch of clients include tmp/c.h,
# which is where the work is done on HP-UX.  It only affects the
# backend on Ultrix and OSF/1.
ifdef ENFORCE_ALIGNMENT
CFLAGS_BE+= -DNOFIXADE
else
CFLAGS_BE+= -DNOPRINTADE
endif

# use the regex library
USE_REGEX = 1

#
# for postgres.user.mk
#
SLSUFF=		.so

# cd into objdir so that so_locations is also in obj
%.so:  %.o
	cd $(objdir); $(LD) -shared -expect_unresolved '*' -o $(@F) $(<F)

CLEANFILES+=	so_locations

#
# for postgres.shell.mk
#
DASH_N=
BACKSLASH_C='\\\\c'

endif