#-------------------------------------------------------------------------
#
# Makefile.inc--
#    global configurations for Makefiles in src/bin
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /usr/local/devel/pglite/cvs/src/bin/Makefile.global,v 1.5 1996/02/24 01:14:13 jolly Exp $
#
#-------------------------------------------------------------------------

CFLAGS+= -I$(HEADERDIR) -I$(srcdir)/backend -I$(srcdir)/backend/include -I$(srcdir)/libpq

#
# try locating libpq.a in the following places
# Almost all (all?) the C programs in this directory
# link with libpq, so we put it here.
#
LIBPQ:=   -L$(srcdir)/libpq/$(objdir) -L$(LIBDIR) -lpq

LD_ADD+= $(LIBPQ)
DPADD+= $(LIBPQ)


#
# And where libpq goes, so goes the authentication stuff...
#
ifdef KRBVERS
LD_ADD+= $(KRBLIBS)
CFLAGS+= $(KRBFLAGS)
endif
