summaryrefslogtreecommitdiff
blob: 33fb5610319344c8c41365a81e391f0c04c34fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
Only in ogdi-3.1.5.orig: bin
Only in ogdi-3.1.5.orig/config: Linux.mak
Only in ogdi-3.1.5.orig: config.cache
Only in ogdi-3.1.5.orig: config.log
Only in ogdi-3.1.5.orig: config.status
Only in ogdi-3.1.5.orig/external/expat: OBJ.Linux
diff -ur ogdi-3.1.5/external/expat/makefile ogdi-3.1.5.orig/external/expat/makefile
--- ogdi-3.1.5/external/expat/makefile	2001-08-27 14:11:10.000000000 +0000
+++ ogdi-3.1.5.orig/external/expat/makefile	2005-08-01 18:57:49.020052368 +0000
@@ -36,7 +36,7 @@
 # Compilation flags
 #
 INCLUDES = $(CURRENT_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) \
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC \
 	-DVERSION=\"expat_1.95.1\" -DPACKAGE="expat"
 
 ifeq ($(BIG_ENDIAN),1)
Only in ogdi-3.1.5.orig/external/zlib: OBJ.Linux
diff -ur ogdi-3.1.5/external/zlib/makefile ogdi-3.1.5.orig/external/zlib/makefile
--- ogdi-3.1.5/external/zlib/makefile	2001-04-19 05:26:46.000000000 +0000
+++ ogdi-3.1.5.orig/external/zlib/makefile	2005-08-01 18:58:47.984088472 +0000
@@ -46,7 +46,7 @@
 # Compilation flags
 #
 INCLUDES = $(CURRENT_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 #
 # Primary target
Only in ogdi-3.1.5.orig/lib: Linux
Only in ogdi-3.1.5.orig/ogdi/c-api: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/c-api/makefile ogdi-3.1.5.orig/ogdi/c-api/makefile
--- ogdi-3.1.5/ogdi/c-api/makefile	2001-04-19 05:29:31.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/c-api/makefile	2005-08-01 18:53:51.936094608 +0000
@@ -23,7 +23,7 @@
 		$(GRASS_INCLUDE) $(ZLIB_INCLUDE) $(PROJ_INCLUDE) \
 		$(EXPAT_INCLUDE)
 
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(RPC_LINKLIB) $(ZLIB_LINKLIB) $(EXPAT_LINKLIB) $(WIN_LINKLIB) \
 		$(PROJ_STATICLIB) $(MATH_LINKLIB)
Only in ogdi-3.1.5.orig/ogdi/datum_driver/canada: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/datum_driver/canada/makefile ogdi-3.1.5.orig/ogdi/datum_driver/canada/makefile
--- ogdi-3.1.5/ogdi/datum_driver/canada/makefile	2001-02-19 04:12:21.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/datum_driver/canada/makefile	2005-08-01 19:03:00.932634448 +0000
@@ -17,7 +17,7 @@
 SOURCES = nadconv.c dtcanada.c
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(PROJ_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= 
 
Only in ogdi-3.1.5.orig/ogdi/datum_driver/usa: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/datum_driver/usa/makefile ogdi-3.1.5.orig/ogdi/datum_driver/usa/makefile
--- ogdi-3.1.5/ogdi/datum_driver/usa/makefile	2001-02-19 04:12:21.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/datum_driver/usa/makefile	2005-08-01 19:03:24.883993288 +0000
@@ -17,7 +17,7 @@
 SOURCES = dtusa.c
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(PROJ_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(PROJ_STATICLIB)
 
Only in ogdi-3.1.5.orig/ogdi/driver/adrg: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/driver/adrg/makefile ogdi-3.1.5.orig/ogdi/driver/adrg/makefile
--- ogdi-3.1.5/ogdi/driver/adrg/makefile	2001-06-22 16:37:50.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/driver/adrg/makefile	2005-08-01 19:06:07.422283712 +0000
@@ -18,7 +18,7 @@
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(PROJ_INCLUDE)
 
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(OGDI_LINKLIB) $(GLUTIL_STATICLIB) 
 
Only in ogdi-3.1.5.orig/ogdi/driver/dted: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/driver/dted/makefile ogdi-3.1.5.orig/ogdi/driver/dted/makefile
--- ogdi-3.1.5/ogdi/driver/dted/makefile	2001-02-19 04:12:21.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/driver/dted/makefile	2005-08-01 19:06:31.460629328 +0000
@@ -17,7 +17,7 @@
 SOURCES = dted.c utils.c object.c
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(PROJ_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(OGDI_LINKLIB)  $(GLUTIL_STATICLIB) 
 
Only in ogdi-3.1.5.orig/ogdi/driver/network: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/driver/network/makefile ogdi-3.1.5.orig/ogdi/driver/network/makefile
--- ogdi-3.1.5/ogdi/driver/network/makefile	2001-02-19 04:12:21.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/driver/network/makefile	2005-08-01 19:06:52.242470008 +0000
@@ -17,7 +17,7 @@
 SOURCES = remote.c ecs_clnt.c 
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(GRASS_INCLUDE) $(PROJ_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(OGDI_LINKLIB) $(RPC_LINKLIB) $(WIN_LINKLIB)  
 
Only in ogdi-3.1.5.orig/ogdi/driver/rpf: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/driver/rpf/makefile ogdi-3.1.5.orig/ogdi/driver/rpf/makefile
--- ogdi-3.1.5/ogdi/driver/rpf/makefile	2001-02-19 04:12:21.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/driver/rpf/makefile	2005-08-01 19:07:39.956216416 +0000
@@ -19,7 +19,7 @@
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) \
 	   $(GRASS_INCLUDE) $(PROJ_INCLUDE)
 
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(OGDI_LINKLIB) $(VPF_STATICLIB) $(GLUTIL_STATICLIB) $(WIN_LINKLIB) $(MATH_LINKLIB)
 
Only in ogdi-3.1.5.orig/ogdi/driver/skeleton: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/driver/skeleton/makefile ogdi-3.1.5.orig/ogdi/driver/skeleton/makefile
--- ogdi-3.1.5/ogdi/driver/skeleton/makefile	2001-02-19 04:12:21.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/driver/skeleton/makefile	2005-08-01 19:07:15.500934184 +0000
@@ -18,7 +18,7 @@
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(GLUTIL_INCLUDE) $(PROJ_INCLUDE)
 
-CFLAGS 	= $(INCLUDES) $(MACHINE) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(MACHINE) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(OGDI_LINKLIB) $(GLUTIL_STATICLIB)
 
Only in ogdi-3.1.5.orig/ogdi/driver/vrf: OBJ.Linux
diff -ur ogdi-3.1.5/ogdi/driver/vrf/makefile ogdi-3.1.5.orig/ogdi/driver/vrf/makefile
--- ogdi-3.1.5/ogdi/driver/vrf/makefile	2001-06-20 21:49:31.000000000 +0000
+++ ogdi-3.1.5.orig/ogdi/driver/vrf/makefile	2005-08-01 19:08:03.541630888 +0000
@@ -17,7 +17,7 @@
 SOURCES = vrf.c utils.c feature.c object.c open.c swq.c vrfswq.c
 
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(OGDI_INCLUDE) $(VPF_INCLUDE) $(PROJ_INCLUDE) $(GLUTIL_INCLUDE)
-CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS)
+CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 LINK_LIBS= $(OGDI_LINKLIB) $(WIN_LINKLIB) $(VPF_STATICLIB) $(MATH_LINKLIB)
 
Only in ogdi-3.1.5.orig/ogdi/gltpd: OBJ.Linux
Only in ogdi-3.1.5.orig/ogdi/glutil: OBJ.Linux
Only in ogdi-3.1.5.orig/proj: OBJ.Linux
diff -ur ogdi-3.1.5/proj/makefile ogdi-3.1.5.orig/proj/makefile
--- ogdi-3.1.5/proj/makefile	2001-04-09 16:20:08.000000000 +0000
+++ ogdi-3.1.5.orig/proj/makefile	2005-08-01 19:01:03.573475752 +0000
@@ -42,7 +42,7 @@
 
 INCLUDES     	= $(CURRENT_INCLUDE)
 
-CFLAGS 		= $(INCLUDES) $(COMMON_CFLAGS) 
+CFLAGS 		= $(INCLUDES) $(COMMON_CFLAGS) -fPIC -DPIC
 
 include $(TOPDIR)/config/common.mak
 
Only in ogdi-3.1.5.orig/vpflib: OBJ.Linux
diff -ur ogdi-3.1.5/vpflib/makefile ogdi-3.1.5.orig/vpflib/makefile
--- ogdi-3.1.5/vpflib/makefile	2001-02-20 04:25:20.000000000 +0000
+++ ogdi-3.1.5.orig/vpflib/makefile	2005-08-01 19:09:48.072739744 +0000
@@ -31,7 +31,7 @@
 INCLUDES = $(CURRENT_INCLUDE) $(GENERAL_INCLUDE) $(VPF_INCLUDE)
 
 CFLAGS 	= $(INCLUDES) $(COMMON_CFLAGS) $(UNIX_DEFINE) \
-	-DSYS_BIG_ENDIAN=$(BIG_ENDIAN)
+	-DSYS_BIG_ENDIAN=$(BIG_ENDIAN) -fPIC -DPIC
 
 include $(TOPDIR)/config/common.mak