diff options
| author | Marc G. Fournier | 1997-03-25 09:21:59 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-03-25 09:21:59 +0000 |
| commit | c2e73db87ad91eabcb639e397229ba865f597668 (patch) | |
| tree | 171ff3f749cafdfdba76507ab55c7395954b1447 /src/interfaces/libpgtcl | |
| parent | 6304e2c273b9ae13f4fde44c02c535c56b45cd91 (diff) | |
Various patches for shared libraries under i386-solaris by:
Christoph Kaesling <ck@dog.pfalz.sub.de>
Diffstat (limited to 'src/interfaces/libpgtcl')
| -rw-r--r-- | src/interfaces/libpgtcl/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/interfaces/libpgtcl/Makefile b/src/interfaces/libpgtcl/Makefile index 10d8099b3b7..6780b71c694 100644 --- a/src/interfaces/libpgtcl/Makefile +++ b/src/interfaces/libpgtcl/Makefile @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.10 1997/03/17 22:05:08 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.11 1997/03/25 09:19:41 scrappy Exp $ # #------------------------------------------------------------------------- @@ -30,24 +30,26 @@ ifeq ($(CC), gcc) endif +shlib := +install-shlib-dep := + ifeq ($(PORTNAME), linux) ifdef LINUX_ELF ifeq ($(CC), gcc) CFLAGS += -fpic -fPIC endif + shlib := libpgtcl.so.1 + install-shlib-dep := install-shlib + LDFLAGS += -L ../libpq -lpq endif endif +ifeq ($(PORTNAME), i386_solaris) + CFLAGS+= -fPIC +endif + OBJS= pgtcl.o pgtclCmds.o pgtclId.o -ifdef LINUX_ELF - shlib := libpgtcl.so.1 - install-shlib-dep := install-shlib - LDFLAGS += -L ../libpq -lpq -else - shlib := - install-shlib-dep := -endif all: libpgtcl.a $(shlib) |
