#-------------------------------------------------------------------------
#
# postgres.mk.linux--
#    Intel x86/Linux specific rules and variables
#
# Copyright (c) 1994-5, Regents of the University of California
#
#    postgres.mk.linux,v 1.5 1995/05/26 01:29:04 andrew Exp
#
# NOTE
#    you may remove lines that start with ## which are general comments
#-------------------------------------------------------------------------
ifndef MK_PORT
MK_PORT=	linux

# Uncomment the following flag if you're using Linux ELF
#LINUX_ELF = 1

ifndef LINUX_ELF
RANLIB=		ranlib
else
RANLIB=		touch
endif
INSTALL=	install
MK_NO_LORDER=	true

SLSUFF=		.o

#
# for postgres.mk
#
CFLAGS_OPT=	-O2

# The Linux gnulib #defines the problem away for you and calls 
# the BSD routines if you give it the right flags.
CFLAGS_BE= -D__USE_BSD -D__USE_BSD_SIGNAL
LDADD_BE= -lbsd

endif
