Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite166343

Browse files
committed
Add SVr4 shared libraries.
1 parent66f893f commite166343

File tree

5 files changed

+49
-4
lines changed

5 files changed

+49
-4
lines changed

‎src/interfaces/ecpg/lib/Makefile.in

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ endif
1616
# Shared library stuff
1717
shlib :=
1818
install-shlib-dep :=
19+
1920
ifeq ($(PORTNAME), linux)
2021
LINUX_ELF=@LINUX_ELF@
2122
ifdef LINUX_ELF
@@ -24,6 +25,7 @@ ifeq ($(PORTNAME), linux)
2425
LDFLAGS_SL = -shared -soname libecpg.so.$(SO_MAJOR_VERSION)
2526
endif
2627
endif
28+
2729
ifeq ($(PORTNAME), bsd)
2830
ifdef BSD_SHLIB
2931
install-shlib-dep := install-shlib
@@ -32,25 +34,42 @@ ifeq ($(PORTNAME), bsd)
3234
CFLAGS +=$(CFLAGS_SL)
3335
endif
3436
endif
37+
3538
ifeq ($(PORTNAME), solaris_sparc)
3639
install-shlib-dep := install-shlib
3740
shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_PATCHLEVEL)
3841
LDFLAGS_SL = -G -z text
3942
CFLAGS +=$(CFLAGS_SL)
4043
endif
44+
4145
ifeq ($(PORTNAME), solaris_i386)
4246
install-shlib-dep := install-shlib
4347
shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_PATCHLEVEL)
4448
LDFLAGS_SL = -G
4549
CFLAGS +=$(CFLAGS_SL)
4650
endif
51+
52+
ifeq ($(PORTNAME), svr4)
53+
install-shlib-dep := install-shlib
54+
shlib := libecpg.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_PATCHLEVEL)
55+
LDFLAGS_SL = -G
56+
CFLAGS +=$(CFLAGS_SL)
57+
endif
58+
4759
ifeq ($(PORTNAME), univel)
4860
install-shlib-dep := install-shlib
4961
shlib := libecpg.so.1
5062
LDFLAGS_SL = -G -z text
5163
CFLAGS +=$(CFLAGS_SL)
5264
endif
5365

66+
ifeq ($(PORTNAME), unixware)
67+
install-shlib-dep := install-shlib
68+
shlib := libecpg.so.1
69+
LDFLAGS_SL = -G -z text
70+
CFLAGS +=$(CFLAGS_SL)
71+
endif
72+
5473
all: libecpg.a$(shlib)
5574

5675
$(shlib): ecpglib.sho typename.sho

‎src/interfaces/libpgtcl/Makefile.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.27 1998/10/12 01:03:57 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile.in,v 1.28 1998/10/12 01:10:03 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -84,6 +84,13 @@ ifeq ($(PORTNAME), solaris_i386)
8484
CFLAGS+=$(CFLAGS_SL)
8585
endif
8686

87+
ifeq ($(PORTNAME), svr4)
88+
install-shlib-dep:= install-shlib
89+
shlib:= libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
90+
LDFLAGS_SL:= -G
91+
CFLAGS+=$(CFLAGS_SL)
92+
endif
93+
8794
ifeq ($(PORTNAME), unixware)
8895
install-shlib-dep:= install-shlib
8996
shlib:= libpgtcl.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)

‎src/interfaces/libpq++/Makefile.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.5 1998/10/12 01:04:00 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile.in,v 1.6 1998/10/12 01:10:07 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -71,6 +71,13 @@ ifeq ($(PORTNAME), solaris_i386)
7171
CFLAGS +=$(CFLAGS_SL)
7272
endif
7373

74+
ifeq ($(PORTNAME), svr4)
75+
INSTALL-SHLIB-DEP := install-shlib
76+
SHLIB := libpq++.so.1
77+
LDFLAGS_SL = -G -shared -soname$(SHLIB)
78+
CFLAGS +=$(CFLAGS_SL)
79+
endif
80+
7481
ifeq ($(PORTNAME), unixware)
7582
install-shlib-dep := install-shlib
7683
shlib := libpq.so.1

‎src/interfaces/libpq/Makefile.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.35 1998/10/12 01:03:58 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Attic/Makefile.in,v 1.36 1998/10/12 01:10:05 momjian Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -88,6 +88,13 @@ ifeq ($(PORTNAME), solaris_i386)
8888
CFLAGS+=$(CFLAGS_SL)
8989
endif
9090

91+
ifeq ($(PORTNAME), svr4)
92+
install-shlib-dep:= install-shlib
93+
shlib:= libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
94+
LDFLAGS_SL:= -G
95+
CFLAGS+=$(CFLAGS_SL)
96+
endif
97+
9198
ifeq ($(PORTNAME), unixware)
9299
install-shlib-dep:= install-shlib
93100
shlib:= libpq.so.$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)

‎src/pl/plpgsql/src/Makefile.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the plpgsql shared object
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.6 1998/10/12 01:04:02 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Attic/Makefile.in,v 1.7 1998/10/12 01:10:09 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -64,6 +64,11 @@ ifeq ($(PORTNAME), solaris_i386)
6464
CFLAGS+=$(CFLAGS_SL)
6565
endif
6666

67+
ifeq ($(PORTNAME), svr4)
68+
LDFLAGS_SL:= -G
69+
CFLAGS+=$(CFLAGS_SL)
70+
endif
71+
6772
ifeq ($(PORTNAME), unixware)
6873
LDFLAGS_SL:= -G -z text
6974
CFLAGS+=$(CFLAGS_SL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp