File tree Expand file tree Collapse file tree 5 files changed +49
-4
lines changed Expand file tree Collapse file tree 5 files changed +49
-4
lines changed Original file line number Diff line number Diff line change 16
16
# Shared library stuff
17
17
shlib :=
18
18
install-shlib-dep :=
19
+
19
20
ifeq ($(PORTNAME ) , linux)
20
21
LINUX_ELF =@LINUX_ELF@
21
22
ifdef LINUX_ELF
@@ -24,6 +25,7 @@ ifeq ($(PORTNAME), linux)
24
25
LDFLAGS_SL = -shared -soname libecpg.so.$(SO_MAJOR_VERSION )
25
26
endif
26
27
endif
28
+
27
29
ifeq ($(PORTNAME ) , bsd)
28
30
ifdef BSD_SHLIB
29
31
install-shlib-dep := install-shlib
@@ -32,25 +34,42 @@ ifeq ($(PORTNAME), bsd)
32
34
CFLAGS += $(CFLAGS_SL )
33
35
endif
34
36
endif
37
+
35
38
ifeq ($(PORTNAME ) , solaris_sparc)
36
39
install-shlib-dep := install-shlib
37
40
shlib := libecpg.so.$(SO_MAJOR_VERSION ) .$(SO_MINOR_VERSION ) .$(SO_PATCHLEVEL )
38
41
LDFLAGS_SL = -G -z text
39
42
CFLAGS += $(CFLAGS_SL )
40
43
endif
44
+
41
45
ifeq ($(PORTNAME ) , solaris_i386)
42
46
install-shlib-dep := install-shlib
43
47
shlib := libecpg.so.$(SO_MAJOR_VERSION ) .$(SO_MINOR_VERSION ) .$(SO_PATCHLEVEL )
44
48
LDFLAGS_SL = -G
45
49
CFLAGS += $(CFLAGS_SL )
46
50
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
+
47
59
ifeq ($(PORTNAME ) , univel)
48
60
install-shlib-dep := install-shlib
49
61
shlib := libecpg.so.1
50
62
LDFLAGS_SL = -G -z text
51
63
CFLAGS += $(CFLAGS_SL )
52
64
endif
53
65
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
+
54
73
all : libecpg.a $(shlib )
55
74
56
75
$(shlib ) : ecpglib.sho typename.sho
Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# 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 $
11
11
#
12
12
# -------------------------------------------------------------------------
13
13
@@ -84,6 +84,13 @@ ifeq ($(PORTNAME), solaris_i386)
84
84
CFLAGS += $(CFLAGS_SL )
85
85
endif
86
86
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
+
87
94
ifeq ($(PORTNAME ) , unixware)
88
95
install-shlib-dep := install-shlib
89
96
shlib := libpgtcl.so.$(SO_MAJOR_VERSION ) .$(SO_MINOR_VERSION )
Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# 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 $
11
11
#
12
12
# -------------------------------------------------------------------------
13
13
@@ -71,6 +71,13 @@ ifeq ($(PORTNAME), solaris_i386)
71
71
CFLAGS += $(CFLAGS_SL )
72
72
endif
73
73
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
+
74
81
ifeq ($(PORTNAME ) , unixware)
75
82
install-shlib-dep := install-shlib
76
83
shlib := libpq.so.1
Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# 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 $
11
11
#
12
12
# -------------------------------------------------------------------------
13
13
@@ -88,6 +88,13 @@ ifeq ($(PORTNAME), solaris_i386)
88
88
CFLAGS += $(CFLAGS_SL )
89
89
endif
90
90
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
+
91
98
ifeq ($(PORTNAME ) , unixware)
92
99
install-shlib-dep := install-shlib
93
100
shlib := libpq.so.$(SO_MAJOR_VERSION ) .$(SO_MINOR_VERSION )
Original file line number Diff line number Diff line change 4
4
# Makefile for the plpgsql shared object
5
5
#
6
6
# 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 $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -64,6 +64,11 @@ ifeq ($(PORTNAME), solaris_i386)
64
64
CFLAGS += $(CFLAGS_SL )
65
65
endif
66
66
67
+ ifeq ($(PORTNAME ) , svr4)
68
+ LDFLAGS_SL := -G
69
+ CFLAGS += $(CFLAGS_SL )
70
+ endif
71
+
67
72
ifeq ($(PORTNAME ) , unixware)
68
73
LDFLAGS_SL := -G -z text
69
74
CFLAGS += $(CFLAGS_SL )
You can’t perform that action at this time.
0 commit comments