More bsdi 4.0 additions.
This commit is contained in:
parent
56a2d8042b
commit
e1f21884c6
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.20 1998/08/22 04:24:26 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.21 1998/09/10 04:59:00 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ LIBPQ = -L$(SRCDIR)/interfaces/libpq -lpq
|
|||||||
|
|
||||||
ifeq ($(PORTNAME), linux)
|
ifeq ($(PORTNAME), linux)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpgtcl.so.1
|
shlib := libpgtcl.so.1
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
LDFLAGS_SL = -shared
|
LDFLAGS_SL = -shared
|
||||||
endif
|
endif
|
||||||
@ -51,40 +51,49 @@ endif
|
|||||||
|
|
||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
ifdef BSD_SHLIB
|
ifdef BSD_SHLIB
|
||||||
install-shlib-dep := install-shlib
|
ifeq ($(LDSUFFIX), .so)
|
||||||
shlib := libpgtcl.o
|
install-shlib-dep := install-shlib
|
||||||
LD := shlicc
|
shlib := libpgtcl.so
|
||||||
LDFLAGS_SL += -O -r
|
LD := shlicc
|
||||||
CFLAGS += $(CFLAGS_SL)
|
LDFLAGS_SL += -O -shared
|
||||||
|
CFLAGS += $(CFLAGS_SL)
|
||||||
|
endif
|
||||||
|
ifeq ($(LDSUFFIX), .o)
|
||||||
|
install-shlib-dep := install-shlib
|
||||||
|
shlib := libpgtcl.o
|
||||||
|
LD := shlicc
|
||||||
|
LDFLAGS_SL += -O -r
|
||||||
|
CFLAGS += $(CFLAGS_SL)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), solaris)
|
ifeq ($(PORTNAME), solaris)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpgtcl.so.1
|
shlib := libpgtcl.so.1
|
||||||
LDFLAGS_SL = -G -z text
|
LDFLAGS_SL := -G -z text
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), unixware)
|
ifeq ($(PORTNAME), unixware)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpgtcl.so.1
|
shlib := libpgtcl.so.1
|
||||||
LDFLAGS_SL = -G -z text
|
LDFLAGS_SL := -G -z text
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), univel)
|
ifeq ($(PORTNAME), univel)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpgtcl.so.1
|
shlib := libpgtcl.so.1
|
||||||
LDFLAGS_SL = -G -z text
|
LDFLAGS_SL := -G -z text
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), hpux)
|
ifeq ($(PORTNAME), hpux)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpgtcl.sl
|
shlib := libpgtcl.sl
|
||||||
LDFLAGS_SL = -b
|
LDFLAGS_SL := -b
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJS= pgtcl.o pgtclCmds.o pgtclId.o
|
OBJS= pgtcl.o pgtclCmds.o pgtclId.o
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.27 1998/08/22 04:24:28 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.28 1998/09/10 04:59:01 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -41,57 +41,66 @@ shlib :=
|
|||||||
install-shlib-dep :=
|
install-shlib-dep :=
|
||||||
|
|
||||||
ifeq ($(PORTNAME), linux)
|
ifeq ($(PORTNAME), linux)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.so.$(SO_MAJOR_VERSION)
|
shlib := libpq.so.$(SO_MAJOR_VERSION)
|
||||||
LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION)
|
LDFLAGS_SL := -shared -soname libpq.so.$(SO_MAJOR_VERSION)
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), bsd)
|
ifeq ($(PORTNAME), bsd)
|
||||||
ifdef BSD_SHLIB
|
ifdef BSD_SHLIB
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LDFLAGS_SL = -x -Bshareable -Bforcearchive
|
LDFLAGS_SL := -x -Bshareable -Bforcearchive
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
ifdef BSD_SHLIB
|
ifdef BSD_SHLIB
|
||||||
install-shlib-dep := install-shlib
|
ifeq ($(LDSUFFIX), .so)
|
||||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
install-shlib-dep := install-shlib
|
||||||
LD=shlicc
|
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LDFLAGS_SL = -r -O
|
LD := shlicc
|
||||||
CFLAGS += $(CFLAGS_SL)
|
LDFLAGS_SL += -O -shared
|
||||||
|
CFLAGS += $(CFLAGS_SL)
|
||||||
|
endif
|
||||||
|
ifeq ($(LDSUFFIX), .o)
|
||||||
|
install-shlib-dep := install-shlib
|
||||||
|
shlib := libpq.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
|
LD :=shlicc
|
||||||
|
LDFLAGS_SL += -O -r
|
||||||
|
CFLAGS += $(CFLAGS_SL)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), solaris)
|
ifeq ($(PORTNAME), solaris)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LDFLAGS_SL = -G -z text
|
LDFLAGS_SL := -G -z text
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), unixware)
|
ifeq ($(PORTNAME), unixware)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LDFLAGS_SL = -G -z text
|
LDFLAGS_SL := -G -z text
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), univel)
|
ifeq ($(PORTNAME), univel)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LDFLAGS_SL = -G -z text
|
LDFLAGS_SL := -G -z text
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORTNAME), hpux)
|
ifeq ($(PORTNAME), hpux)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.sl
|
shlib := libpq.sl
|
||||||
LDFLAGS_SL = -b
|
LDFLAGS_SL := -b
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: libpq.a $(shlib)
|
all: libpq.a $(shlib)
|
||||||
|
Loading…
Reference in New Issue
Block a user