mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
More bsdi 4.0 cleanups for shared libraries.
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.24 1998/10/09 04:22:46 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.25 1998/10/09 04:50:06 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ ifeq ($(PORTNAME), bsdi)
|
|||||||
ifeq ($(DLSUFFIX), .so)
|
ifeq ($(DLSUFFIX), .so)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpgtcl.so
|
shlib := libpgtcl.so
|
||||||
LDFLAGS_SL += -O -shared
|
LDFLAGS_SL += -shared
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
ifeq ($(DLSUFFIX), .o)
|
ifeq ($(DLSUFFIX), .o)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.32 1998/10/09 04:22:48 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.33 1998/10/09 04:50:08 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -61,13 +61,13 @@ ifeq ($(PORTNAME), bsdi)
|
|||||||
ifeq ($(DLSUFFIX), .so)
|
ifeq ($(DLSUFFIX), .so)
|
||||||
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 += -O -shared
|
LDFLAGS_SL += -shared
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
ifeq ($(DLSUFFIX), .o)
|
ifeq ($(DLSUFFIX), .o)
|
||||||
install-shlib-dep := install-shlib
|
install-shlib-dep := install-shlib
|
||||||
shlib := libpq.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
shlib := libpq.o.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
|
||||||
LD :=shlicc
|
LD := shlicc
|
||||||
LDFLAGS_SL += -O -r
|
LDFLAGS_SL += -O -r
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# for bsdi 4.0 ELF
|
# for bsdi 4.0 ELF
|
||||||
# if we defined .so in template/bsdi_4.0
|
# if we defined .so in template/bsdi_4.0
|
||||||
%.so: %.o
|
%.so: %.o
|
||||||
$(CC) -shared -o $@ $<
|
$(LD) -shared -o $@ $<
|
||||||
|
|
||||||
|
@ -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.3 1998/10/09 04:22:49 momjian Exp $
|
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.4 1998/10/09 04:50:12 momjian Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ endif
|
|||||||
ifeq ($(PORTNAME), bsdi)
|
ifeq ($(PORTNAME), bsdi)
|
||||||
ifdef BSD_SHLIB
|
ifdef BSD_SHLIB
|
||||||
ifeq ($(DLSUFFIX), .so)
|
ifeq ($(DLSUFFIX), .so)
|
||||||
LDFLAGS_SL += -O -shared
|
LDFLAGS_SL += -shared
|
||||||
CFLAGS += $(CFLAGS_SL)
|
CFLAGS += $(CFLAGS_SL)
|
||||||
endif
|
endif
|
||||||
ifeq ($(DLSUFFIX), .o)
|
ifeq ($(DLSUFFIX), .o)
|
||||||
|
Reference in New Issue
Block a user