mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 14:47:29 -04:00
method. Fix a number of places where shared libraries were linked without mentioning all the libraries they depend on; the Darwin and AIX ports are known to require this, and it doesn't seem to hurt any other supported platforms. (Hence, remove code in pl/tcl makefile that tried to avoid mentioning other libs if not needed.)
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for ecpg library
|
|
#
|
|
# Copyright (c) 1994, Regents of the University of California
|
|
#
|
|
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/compatlib/Makefile,v 1.10 2003/09/27 19:35:32 tgl Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/interfaces/ecpg/compatlib
|
|
top_builddir = ../../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
NAME= ecpg_compat
|
|
SO_MAJOR_VERSION= 1
|
|
SO_MINOR_VERSION= 0
|
|
|
|
override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils $(CPPFLAGS) $(THREAD_CPPFLAGS)
|
|
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes $(libpq) \
|
|
$(filter -lssl -lcrypto -lcrypt -lm, $(LIBS)) $(THREAD_LIBS)
|
|
|
|
OBJS= informix.o
|
|
|
|
all: all-lib
|
|
|
|
# Shared library stuff
|
|
include $(top_srcdir)/src/Makefile.shlib
|
|
|
|
install: all installdirs install-lib
|
|
|
|
installdirs:
|
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
|
|
|
uninstall: uninstall-lib
|
|
|
|
clean distclean maintainer-clean: clean-lib
|
|
rm -f $(OBJS)
|
|
|
|
depend dep:
|
|
$(CC) -MM $(CFLAGS) *.c >depend
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
include depend
|
|
endif
|