|
|
@ -4,7 +4,7 @@ |
|
|
|
# Makefile for the plpgsql shared object
|
|
|
|
# Makefile for the plpgsql shared object
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
|
|
|
# IDENTIFICATION
|
|
|
|
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.13 1999/01/17 06:19:53 momjian Exp $
|
|
|
|
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.14 1999/02/07 22:10:47 tgl Exp $
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
@ -24,11 +24,12 @@ LFLAGS+= -i -l |
|
|
|
|
|
|
|
|
|
|
|
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
|
|
|
|
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(PORTNAME), win) |
|
|
|
|
|
|
|
SHLIB_LINK+= -L$(LIBPQDIR) -lpq
|
|
|
|
SHLIB_LINK+= -L$(LIBPQDIR) -lpq
|
|
|
|
else |
|
|
|
|
|
|
|
SHLIB_LINK= -L$(LIBPQDIR) -lpq
|
|
|
|
# If crypt is a separate library, rather than part of libc, it may need
|
|
|
|
endif |
|
|
|
# to be referenced separately to keep (broken) linkers happy. (This is
|
|
|
|
|
|
|
|
# braindead; users of libpq should not need to know what it depends on.)
|
|
|
|
|
|
|
|
SHLIB_LINK+= $(findstring -lcrypt,$(LIBS))
|
|
|
|
|
|
|
|
|
|
|
|
# Shared library stuff, also default 'all' target
|
|
|
|
# Shared library stuff, also default 'all' target
|
|
|
|
include $(SRCDIR)/Makefile.shlib |
|
|
|
include $(SRCDIR)/Makefile.shlib |
|
|
|