]> git.pld-linux.org Git - packages/SimGear.git/blame - SimGear-link.patch
- there are still some undefined references in shared objects (TODO)
[packages/SimGear.git] / SimGear-link.patch
CommitLineData
b885f6d4
JK
1diff -uNr SimGear-1.9.1.orig/simgear/bucket/Makefile.am SimGear-1.9.1/simgear/bucket/Makefile.am
2--- SimGear-1.9.1.orig/simgear/bucket/Makefile.am 2009-08-12 15:08:50.000000000 +0200
3+++ SimGear-1.9.1/simgear/bucket/Makefile.am 2009-08-12 11:13:26.000000000 +0200
4@@ -5,6 +5,8 @@
5 include_HEADERS = newbucket.hxx
6
7 libsgbucket_la_SOURCES = newbucket.cxx
8+libsgbucket_la_LIBADD = \
9+ $(top_builddir)/simgear/misc/libsgmisc.la
10
11 # noinst_PROGRAMS = testbucket
12
13diff -uNr SimGear-1.9.1.orig/simgear/environment/Makefile.am SimGear-1.9.1/simgear/environment/Makefile.am
14--- SimGear-1.9.1.orig/simgear/environment/Makefile.am 2009-08-12 15:08:50.000000000 +0200
15+++ SimGear-1.9.1/simgear/environment/Makefile.am 2009-08-12 13:25:18.000000000 +0200
16@@ -6,4 +6,13 @@
17
18 libsgenvironment_la_SOURCES = metar.cxx visual_enviro.cxx precipitation.cxx
19
20+libsgenvironment_la_LIBADD = \
21+ $(top_builddir)/simgear/io/libsgio.la \
22+ $(top_builddir)/simgear/math/libsgmath.la \
23+ $(top_builddir)/simgear/props/libsgprops.la \
24+ $(top_builddir)/simgear/scene/sky/libsgsky.la \
25+ $(top_builddir)/simgear/structure/libsgstructure.la \
26+ -losg \
27+ -losgParticle
28+
29 INCLUDES = -I$(top_srcdir)
30diff -uNr SimGear-1.9.1.orig/simgear/ephemeris/Makefile.am SimGear-1.9.1/simgear/ephemeris/Makefile.am
31--- SimGear-1.9.1.orig/simgear/ephemeris/Makefile.am 2009-08-12 15:08:50.000000000 +0200
32+++ SimGear-1.9.1/simgear/ephemeris/Makefile.am 2009-08-12 12:30:32.000000000 +0200
33@@ -31,4 +31,8 @@
34 uranus.cxx \
35 venus.cxx
36
37+libsgephem_la_LIBADD = \
38+ $(top_builddir)/simgear/debug/libsgdebug.la \
39+ $(top_builddir)/simgear/misc/libsgmisc.la
40+
41 INCLUDES = -I$(top_srcdir)
e26f8204 42diff -uNr SimGear-1.9.1.orig/simgear/io/Makefile.am SimGear-1.9.1/simgear/io/Makefile.am
b885f6d4
JK
43--- SimGear-1.9.1.orig/simgear/io/Makefile.am 2009-08-12 15:08:50.000000000 +0200
44+++ SimGear-1.9.1/simgear/io/Makefile.am 2009-08-12 09:40:02.000000000 +0200
e26f8204
JK
45@@ -20,6 +20,14 @@
46 sg_socket.cxx \
47 sg_socket_udp.cxx
48
49+libsgio_la_LIBADD = \
50+ $(top_builddir)/simgear/bucket/libsgbucket.la \
51+ $(top_builddir)/simgear/debug/libsgdebug.la \
52+ $(top_builddir)/simgear/misc/libsgmisc.la \
53+ $(top_builddir)/simgear/serial/libsgserial.la \
54+ -lplibnet \
55+ -lz
56+
57 INCLUDES = -I$(top_srcdir)
58
59 noinst_PROGRAMS = decode_binobj socktest lowtest tcp_server tcp_client
60diff -uNr SimGear-1.9.1.orig/simgear/math/Makefile.am SimGear-1.9.1/simgear/math/Makefile.am
b885f6d4
JK
61--- SimGear-1.9.1.orig/simgear/math/Makefile.am 2009-08-12 15:08:50.000000000 +0200
62+++ SimGear-1.9.1/simgear/math/Makefile.am 2009-08-12 09:40:02.000000000 +0200
e26f8204
JK
63@@ -52,4 +52,8 @@
64 SGGeod.cxx \
7be571f7 65 SGGeodesy.cxx
66
67+libsgmath_la_LIBADD = \
68+ $(top_builddir)/simgear/debug/libsgdebug.la \
69+ $(top_builddir)/simgear/misc/libsgmisc.la
70+
71 INCLUDES = -I$(top_srcdir)
e26f8204 72diff -uNr SimGear-1.9.1.orig/simgear/misc/Makefile.am SimGear-1.9.1/simgear/misc/Makefile.am
b885f6d4
JK
73--- SimGear-1.9.1.orig/simgear/misc/Makefile.am 2009-08-12 15:08:50.000000000 +0200
74+++ SimGear-1.9.1/simgear/misc/Makefile.am 2009-08-12 09:40:02.000000000 +0200
e26f8204
JK
75@@ -24,6 +24,14 @@
76 interpolator.cxx \
77 PathOptions.cxx
7be571f7 78
e26f8204 79+libsgmisc_la_LIBADD = \
7be571f7 80+ $(top_builddir)/simgear/debug/libsgdebug.la \
e26f8204
JK
81+ $(top_builddir)/simgear/structure/libsgstructure.la \
82+ $(top_builddir)/simgear/props/libsgprops.la \
83+ -lz \
84+ -losg \
85+ -losgDB
86+
87 noinst_PROGRAMS = tabbed_value_test swap_test
88
89 tabbed_value_test_SOURCES = tabbed_values_test.cxx
b885f6d4
JK
90diff -uNr SimGear-1.9.1.orig/simgear/nasal/Makefile.am SimGear-1.9.1/simgear/nasal/Makefile.am
91--- SimGear-1.9.1.orig/simgear/nasal/Makefile.am 2009-08-12 15:08:50.000000000 +0200
92+++ SimGear-1.9.1/simgear/nasal/Makefile.am 2009-08-12 09:40:02.000000000 +0200
93@@ -10,4 +10,8 @@
94 thread-posix.c thread-win32.c threadlib.c \
95 utf8lib.c vector.c
96
97+libsgnasal_la_LIBADD = \
98+ -lm \
99+ -lpthread
e26f8204 100+
b885f6d4 101 INCLUDES = -I$(top_srcdir)
e26f8204 102diff -uNr SimGear-1.9.1.orig/simgear/props/Makefile.am SimGear-1.9.1/simgear/props/Makefile.am
b885f6d4
JK
103--- SimGear-1.9.1.orig/simgear/props/Makefile.am 2009-08-12 15:08:50.000000000 +0200
104+++ SimGear-1.9.1/simgear/props/Makefile.am 2009-08-12 09:40:02.000000000 +0200
d672b368 105@@ -12,6 +12,10 @@
e26f8204
JK
106 props.cxx \
107 props_io.cxx
108
109+libsgprops_la_LIBADD = \
b885f6d4 110+ $(top_builddir)/simgear/xml/libsgxml.la \
d672b368 111+ $(top_builddir)/simgear/debug/libsgdebug.la \
112+ $(top_builddir)/simgear/timing/libsgtiming.la
7be571f7 113
e26f8204
JK
114 # NOTE: Looped dependencies misc and props test files, commenting this one out
115 # noinst_PROGRAMS = props_test
116diff -uNr SimGear-1.9.1.orig/simgear/route/Makefile.am SimGear-1.9.1/simgear/route/Makefile.am
b885f6d4
JK
117--- SimGear-1.9.1.orig/simgear/route/Makefile.am 2009-08-12 15:08:50.000000000 +0200
118+++ SimGear-1.9.1/simgear/route/Makefile.am 2009-08-12 09:40:02.000000000 +0200
7be571f7 119@@ -8,6 +8,9 @@
120 route.cxx \
121 waypoint.cxx
122
123+libsgroute_la_LIBADD = \
124+ $(top_builddir)/simgear/math/libsgmath.la
125+
126 INCLUDES = -I$(top_srcdir)
127
128 noinst_PROGRAMS = waytest routetest
b885f6d4
JK
129diff -uNr SimGear-1.9.1.orig/simgear/scene/Makefile.am SimGear-1.9.1/simgear/scene/Makefile.am
130--- SimGear-1.9.1.orig/simgear/scene/Makefile.am 2009-01-25 13:00:32.000000000 +0100
131+++ SimGear-1.9.1/simgear/scene/Makefile.am 2009-08-12 14:33:12.000000000 +0200
132@@ -1,7 +1,6 @@
133 includedir = @includedir@/scene
134
135-SUBDIRS = material model sky tgdb util
136-
137+SUBDIRS = util tgdb model material sky
138 # lib_LIBRARIES = libsgscene.a
139
140 # noinst_HEADERS =
141diff -uNr SimGear-1.9.1.orig/simgear/scene/material/Makefile.am SimGear-1.9.1/simgear/scene/material/Makefile.am
142--- SimGear-1.9.1.orig/simgear/scene/material/Makefile.am 2009-08-12 15:08:50.000000000 +0200
143+++ SimGear-1.9.1/simgear/scene/material/Makefile.am 2009-08-12 13:49:46.000000000 +0200
144@@ -14,4 +14,15 @@
145 matlib.cxx \
146 matmodel.cxx
147
148+libsgmaterial_la_LIBADD = \
149+ $(top_builddir)/simgear/debug/libsgdebug.la \
150+ $(top_builddir)/simgear/math/libsgmath.la \
151+ $(top_builddir)/simgear/misc/libsgmisc.la \
152+ $(top_builddir)/simgear/props/libsgprops.la \
153+ $(top_builddir)/simgear/scene/model/libsgmodel.la \
154+ $(top_builddir)/simgear/structure/libsgstructure.la \
155+ -losg \
156+ -losgDB \
157+ -lplibul
158+
159 INCLUDES = -I$(top_srcdir)
160diff -uNr SimGear-1.9.1.orig/simgear/scene/model/Makefile.am SimGear-1.9.1/simgear/scene/model/Makefile.am
161--- SimGear-1.9.1.orig/simgear/scene/model/Makefile.am 2009-08-12 15:08:50.000000000 +0200
162+++ SimGear-1.9.1/simgear/scene/model/Makefile.am 2009-08-12 13:29:53.000000000 +0200
163@@ -46,4 +46,19 @@
164 SGScaleTransform.cxx \
165 SGTranslateTransform.cxx
166
167+libsgmodel_la_LIBADD = \
168+ $(top_builddir)/simgear/debug/libsgdebug.la \
169+ $(top_builddir)/simgear/math/libsgmath.la \
170+ $(top_builddir)/simgear/misc/libsgmisc.la \
171+ $(top_builddir)/simgear/props/libsgprops.la \
172+ $(top_builddir)/simgear/screen/libsgscreen.la \
173+ $(top_builddir)/simgear/scene/tgdb/libsgtgdb.la \
174+ $(top_builddir)/simgear/scene/util/libsgutil.la \
175+ $(top_builddir)/simgear/structure/libsgstructure.la \
176+ -lGL \
177+ -losg \
178+ -losgDB \
179+ -losgParticle \
180+ -losgUtil
181+
182 INCLUDES = -I$(top_srcdir)
183diff -uNr SimGear-1.9.1.orig/simgear/scene/sky/Makefile.am SimGear-1.9.1/simgear/scene/sky/Makefile.am
184--- SimGear-1.9.1.orig/simgear/scene/sky/Makefile.am 2009-08-12 15:08:50.000000000 +0200
185+++ SimGear-1.9.1/simgear/scene/sky/Makefile.am 2009-08-12 13:47:18.000000000 +0200
186@@ -28,4 +28,17 @@
187 newcloud.cxx \
188 CloudShaderGeometry.cxx
189
190+libsgsky_la_LIBADD = \
191+ $(top_builddir)/simgear/debug/libsgdebug.la \
192+ $(top_builddir)/simgear/misc/libsgmisc.la \
193+ $(top_builddir)/simgear/math/libsgmath.la \
194+ $(top_builddir)/simgear/scene/model/libsgmodel.la \
195+ $(top_builddir)/simgear/scene/util/libsgutil.la \
196+ $(top_builddir)/simgear/screen/libsgscreen.la \
197+ $(top_builddir)/simgear/structure/libsgstructure.la \
198+ -losg \
199+ -losgDB \
200+ -lGL \
201+ -lGLU
202+
203 INCLUDES = -I$(top_srcdir)
204diff -uNr SimGear-1.9.1.orig/simgear/scene/tgdb/Makefile.am SimGear-1.9.1/simgear/scene/tgdb/Makefile.am
205--- SimGear-1.9.1.orig/simgear/scene/tgdb/Makefile.am 2009-08-12 15:08:50.000000000 +0200
206+++ SimGear-1.9.1/simgear/scene/tgdb/Makefile.am 2009-08-12 15:05:23.000000000 +0200
207@@ -40,4 +39,21 @@
208 TileEntry.cxx \
209 TreeBin.cxx TreeBin.hxx
210
211+libsgtgdb_la_LIBADD = \
212+ $(top_builddir)/simgear/bucket/libsgbucket.la \
213+ $(top_builddir)/simgear/debug/libsgdebug.la \
214+ $(top_builddir)/simgear/io/libsgio.la \
215+ $(top_builddir)/simgear/math/libsgmath.la \
216+ $(top_builddir)/simgear/misc/libsgmisc.la \
217+ $(top_builddir)/simgear/props/libsgprops.la \
218+ $(top_builddir)/simgear/structure/libsgstructure.la \
219+ -lGL \
220+ -losg \
221+ -losgDB \
222+ -losgUtil
223+
224+# $(top_builddir)/scene/util/libsutil.la
225+# $(top_builddir)/scene/model/libsgmodel.la
226+# $(top_builddir)/scene/material/libsgmaterial.la
227+
228 INCLUDES = -I$(top_srcdir)
229diff -uNr SimGear-1.9.1.orig/simgear/scene/util/Makefile.am SimGear-1.9.1/simgear/scene/util/Makefile.am
230--- SimGear-1.9.1.orig/simgear/scene/util/Makefile.am 2009-08-12 15:08:50.000000000 +0200
231+++ SimGear-1.9.1/simgear/scene/util/Makefile.am 2009-08-12 11:55:02.000000000 +0200
232@@ -31,4 +31,8 @@
233 StateAttributeFactory.cxx \
234 QuadTreeBuilder.cxx
235
236+libsgutil_la_LIBADD = \
237+ $(top_builddir)/simgear/debug/libsgdebug.la \
238+ -losg
239+
240 INCLUDES = -I$(top_srcdir)
e26f8204 241diff -uNr SimGear-1.9.1.orig/simgear/screen/Makefile.am SimGear-1.9.1/simgear/screen/Makefile.am
b885f6d4
JK
242--- SimGear-1.9.1.orig/simgear/screen/Makefile.am 2009-08-12 15:08:50.000000000 +0200
243+++ SimGear-1.9.1/simgear/screen/Makefile.am 2009-08-12 09:40:02.000000000 +0200
244@@ -35,6 +35,12 @@
e26f8204
JK
245 shader.cpp \
246 win32-printer.h
7be571f7 247
e26f8204
JK
248+libsgscreen_la_LIBADD = \
249+ $(top_builddir)/simgear/debug/libsgdebug.la \
b885f6d4
JK
250+ -lz \
251+ -lplibssg \
252+ -lGLU
e26f8204
JK
253+
254 if HAVE_GLUT
255 noinst_PROGRAMS = TestRenderTexture
7be571f7 256
b885f6d4
JK
257diff -uNr SimGear-1.9.1.orig/simgear/serial/Makefile.am SimGear-1.9.1/simgear/serial/Makefile.am
258--- SimGear-1.9.1.orig/simgear/serial/Makefile.am 2009-08-12 15:08:50.000000000 +0200
259+++ SimGear-1.9.1/simgear/serial/Makefile.am 2009-08-12 09:40:02.000000000 +0200
260@@ -6,6 +6,9 @@
261
262 libsgserial_la_SOURCES = serial.cxx
263
264+libsgserial_la_LIBADD = \
265+ $(top_builddir)/simgear/debug/libsgdebug.la
266+
267 noinst_PROGRAMS = testserial
268
269 testserial_SOURCES = testserial.cxx
e26f8204 270diff -uNr SimGear-1.9.1.orig/simgear/sound/Makefile.am SimGear-1.9.1/simgear/sound/Makefile.am
b885f6d4
JK
271--- SimGear-1.9.1.orig/simgear/sound/Makefile.am 2009-08-12 15:08:50.000000000 +0200
272+++ SimGear-1.9.1/simgear/sound/Makefile.am 2009-08-12 09:40:02.000000000 +0200
7be571f7 273@@ -16,6 +16,13 @@
274 soundmgr_openal.cxx \
275 xmlsound.cxx
276
277+libsgsound_la_LIBADD = \
278+ $(top_builddir)/simgear/debug/libsgdebug.la \
279+ $(top_builddir)/simgear/misc/libsgmisc.la \
280+ $(top_builddir)/simgear/props/libsgprops.la \
281+ $(top_builddir)/simgear/structure/libsgstructure.la \
282+ -lalut
283+
284 noinst_PROGRAMS = openal_test1 openal_test2
285
286 openal_test1_SOURCES = openal_test1.cxx
e26f8204 287diff -uNr SimGear-1.9.1.orig/simgear/structure/Makefile.am SimGear-1.9.1/simgear/structure/Makefile.am
b885f6d4
JK
288--- SimGear-1.9.1.orig/simgear/structure/Makefile.am 2009-08-12 15:08:50.000000000 +0200
289+++ SimGear-1.9.1/simgear/structure/Makefile.am 2009-08-12 09:40:02.000000000 +0200
290@@ -30,5 +30,10 @@
e26f8204
JK
291 SGSmplhist.cxx \
292 SGSmplstat.cxx
7be571f7 293
e26f8204 294+libsgstructure_la_LIBADD = \
b885f6d4 295+ $(top_builddir)/simgear/debug/libsgdebug.la \
e26f8204 296+ $(top_builddir)/simgear/timing/libsgtiming.la \
7be571f7 297+ -lz
298+
299 INCLUDES = -I$(top_srcdir)
300
b885f6d4
JK
301diff -uNr SimGear-1.9.1.orig/simgear/timing/Makefile.am SimGear-1.9.1/simgear/timing/Makefile.am
302--- SimGear-1.9.1.orig/simgear/timing/Makefile.am 2009-08-12 15:08:50.000000000 +0200
303+++ SimGear-1.9.1/simgear/timing/Makefile.am 2009-08-12 09:40:02.000000000 +0200
304@@ -16,4 +16,7 @@
305 timestamp.cxx \
306 timezone.cxx
307
308+libsgtiming_la_LIBADD = \
309+ $(top_builddir)/simgear/debug/libsgdebug.la
310+
311 INCLUDES = -I$(top_srcdir)
312diff -uNr SimGear-1.9.1.orig/simgear/xml/Makefile.am SimGear-1.9.1/simgear/xml/Makefile.am
313--- SimGear-1.9.1.orig/simgear/xml/Makefile.am 2009-08-12 15:08:50.000000000 +0200
314+++ SimGear-1.9.1/simgear/xml/Makefile.am 2009-08-12 09:51:44.000000000 +0200
315@@ -18,4 +18,7 @@
316 xmltok.h xmltok.c \
317 xmltok_impl.h
318
319+libsgxml_la_LIBADD = \
320+ $(top_builddir)/simgear/structure/libsgstructure.la
321+
322 INCLUDES = -I$(top_srcdir)
This page took 0.088979 seconds and 4 git commands to generate.