aboutsummaryrefslogtreecommitdiff
path: root/src/mk/port/postgres.mk.irix5
blob: 85a77824497d3fe58f8e7a835f605e2d47a883b1 (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
#-------------------------------------------------------------------------
#
# postgres.mk.irix5--
#    IRIX5 specific rules and variables. This port is contributed by
#    Paul 'Shag' Walmsley <ccshag@everest.cclabs.missouri.edu>.
#
# Copyright (c) 1994-5, Regents of the University of California
#
#    postgres.mk.sparc_solaris,v 1.5 1995/04/30 07:51:21 andrew Exp
#
#-------------------------------------------------------------------------
ifndef MK_PORT
MK_PORT=	irix5

CC=		cc

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

# RANLIB is not used on IRIX 5
RANLIB=touch

INSTALL=/sbin/bsdinst

INSTLOPTS=      -m 444
INSTL_EXE_OPTS= -m 555
INSTL_LIB_OPTS= -m 664

#
# Random things that must be passed everywhere to enable 
# everything to compile.  :-/
#
CFLAGS_BE+= -DSYSV_DIRENT 

LD_ADD+= $(LDADD_BE)

SLSUFF=		.so

%.so: %.o
	$(LD) -G -Bdynamic -o $(objdir)/$(@F) $(objdir)/$(<F)

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

endif