1 --- Glide_VG-2.46/swlibs/include/make/3dfx.mak.orig 1999-11-29 20:48:02.000000000 +0100
2 +++ Glide_VG-2.46/swlibs/include/make/3dfx.mak 2012-01-13 16:34:50.994605338 +0100
4 $(LIBRARIES): $(LIBPARTS)
7 +# We need to glean the soname from the name of the library, this
8 +# is pretty good as long as shared library names are reasonable.
9 +ifneq "$(SHARED_LIBRARY)" ""
10 +SONAME := $(shell echo $(SHARED_LIBRARY) | cut -d "." -f 1-3)
11 +BASENAME := $(shell echo $(SHARED_LIBRARY) | cut -d "." -f 1-2)
14 $(SHARED_LIBRARY): $(LIBPARTS) $(SUBLIBRARIES)
15 - $(LINK) $(LDFLAGS) -shared -o $(SHARED_LIBRARY) \
16 + $(LINK) $(LDFLAGS) -shared -Wl,-soname,$(SONAME) -o $(SHARED_LIBRARY) \
17 -Xlinker --whole-archive \
18 $(LIBRARIES) $(SUBLIBRARIES) \
19 -Xlinker --no-whole-archive \
21 $(INSTALL) -m 444 $(LIBRARIES) $(INSTALL_DESTINATION)/lib
22 ifneq "$(SHARED_LIBRARY)" ""
23 $(INSTALL) -m 444 $(SHARED_LIBRARY) $(INSTALL_DESTINATION)/lib
24 + ln -sf $(INSTALL_DESTINATION)/lib/$(SHARED_LIBRARY) $(INSTALL_DESTINATION)/lib/$(SONAME)
25 + ln -sf $(INSTALL_DESTINATION)/lib/$(SHARED_LIBRARY) $(INSTALL_DESTINATION)/lib/$(BASENAME)
28 @echo INSTALL_DESTINATION not defined, not installing LIBRARIES
29 --- Glide_VG-2.46/sst1/glide/src/makefile.unix.orig 1999-11-29 20:48:01.000000000 +0100
30 +++ Glide_VG-2.46/sst1/glide/src/makefile.unix 2012-01-13 16:03:17.497875271 +0100
32 LDIRT = fxgasm.o fxgasm fxgasm.h
34 LIBRARIES = libglide2x.a
35 -SHARED_LIBRARY = libglide2x.so
36 +SHARED_LIBRARY = libglide.so.2.46
38 include $(BUILD_ROOT_SWLIBS)/include/make/3dfx.mak
40 --- Glide_VG-2.46/swlibs/texus/lib/makefile.unix.orig 1999-11-29 20:48:02.000000000 +0100
41 +++ Glide_VG-2.46/swlibs/texus/lib/makefile.unix 2012-01-13 16:01:55.061205846 +0100
43 INSTALL_DESTINATION = $(BUILD_ROOT_SWLIBS)
45 LIBRARIES = libtexus.a
46 -SHARED_LIBRARY = libtexus.so
47 +SHARED_LIBRARY = libtexus.so.1.1
48 SUBLIBRARIES = $(BUILD_ROOT_SWLIBS)/lib/libfxmisc.a
50 include $(BUILD_ROOT_SWLIBS)/include/make/3dfx.mak
51 --- Glide_VG-2.46/swlibs/texus/examples/makefile.unix.orig 1999-11-29 20:48:02.000000000 +0100
52 +++ Glide_VG-2.46/swlibs/texus/examples/makefile.unix 2012-01-13 16:39:48.564615304 +0100
54 LCINCS = -I$(BUILD_ROOT_SST1)/include \
55 -I$(BUILD_ROOT_SWLIBS)/include
57 -LLDLIBS = -lglide2x -ltexus
58 +LLDLIBS = -lglide -ltexus
60 INSTALL_DESTINATION = $(BUILD_ROOT_SWLIBS)
61 CFILES = viewppm.c view3df.c
62 --- Glide_VG-2.46/sst1/glide/tests/makefile.unix.orig 1999-11-29 20:48:23.000000000 +0100
63 +++ Glide_VG-2.46/sst1/glide/tests/makefile.unix 2012-01-13 16:39:21.777947740 +0100
66 LIBOBJS = tlib.o plib.o
68 -LLDLIBS = $(LIBOBJS) -lglide2x
69 +LLDLIBS = $(LIBOBJS) -lglide
71 PRIVATE_HEADERS = tlib.h tlib.c plib.h plib.c tldata.inc