File: z12-local-libtool

package info (click to toggle)
glide 2002.04.10ds1-15
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 59,556 kB
  • sloc: ansic: 290,125; asm: 23,305; sh: 8,089; pascal: 3,854; makefile: 1,276; perl: 73
file content (106 lines) | stat: -rw-r--r-- 4,237 bytes parent folder | download | duplicates (2)
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
---
 glide3x/h3/glide3/src/makefile.autoconf.am |   18 ++++++++++--------
 glide3x/h5/glide3/src/makefile.autoconf.am |   13 +++++++------
 2 files changed, 17 insertions(+), 14 deletions(-)

--- a/glide3x/h3/glide3/src/makefile.autoconf.am
+++ b/glide3x/h3/glide3/src/makefile.autoconf.am
@@ -130,32 +130,34 @@ LDEFS = -DGLIDE_INIT_HWC \
 # Special rules for assembly files.
 #
 
+LIBTOOL = @LIBTOOL@
+
 CPPASFLAGS = -x assembler-with-cpp -I.
 
 xdraw2.lo : xdraw2.S xdraw2.inc.S fxgasm.h
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
 
 xdraw3.lo : xdraw3.S fxgasm.h
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
 
 # 3DNow!(tm) dependencies
 # XXX_def.obj targets are the default targets
 
 if GL_AMD3D
 xdraw2_def.lo: xdraw2.S xdraw2.inc.S fxgasm.h
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
 
 xdraw2_3dnow.lo: xdraw2.S xdraw2.inc.S fxgasm.h
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ $<
 
 xdraw3_def.lo: xdraw3.S fxgasm.h
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -c -o $@ $<
 
 xdraw3_3dnow.lo: xdraw3.S fxgasm.h
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ $<
 
 xtexdl_3dnow.lo: xtexdl.S fxgasm.h 
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ $<
 
 endif
 
@@ -165,7 +167,7 @@ cpudtect.o cpudtect.lo: cpu_alpha.c
 else
 CPUSOURCES = cpudtect.S
 cpudtect.o cpudtect.lo: cpudtect.S
-	libtool --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DUSE_PACKET_FIFO=1 -c -o $@ $<
+	$(LIBTOOL) --mode=compile $(CCAS) $(CCASFLAGS) $(CPPASFLAGS) -DUSE_PACKET_FIFO=1 -c -o $@ $<
 endif
 
 if DRI_BUILD
--- a/glide3x/h5/glide3/src/makefile.autoconf.am
+++ b/glide3x/h5/glide3/src/makefile.autoconf.am
@@ -152,30 +152,31 @@ LDEFS = -DGLIDE_LIB -DGLIDE3 -DGLIDE3_AL
 #
 # Special rules for assembly files.
 #
+LIBTOOL = @LIBTOOL@
 PREPROCESSOR=$(CPP) -x assembler-with-cpp  -I.
 xdraw2_def.o xdraw2_def.lo: xdraw2.s xdraw2.inc.s fxgasm.h
 	$(PREPROCESSOR) $< > $*.tmp.s
-	libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
+	$(LIBTOOL) --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
 	$(RM) -f $*.tmp.s
 
 xdraw2_3dnow.o xdraw2_3dnow.lo: xdraw2.s xdraw2.inc.s fxgasm.h
 	$(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-	libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
+	$(LIBTOOL) --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
 	$(RM) -f $*.tmp.s
 
 xdraw3_def.o xdraw3_def.lo: xdraw3.s fxgasm.h
 	$(PREPROCESSOR) $< > $*.tmp.s
-	libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
+	$(LIBTOOL) --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
 	$(RM) -f $*.tmp.s
 
 xdraw3_3dnow.o xdraw3_3dnow.lo: xdraw3.s fxgasm.h
 	$(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-	libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
+	$(LIBTOOL) --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
 	$(RM) -f $*.tmp.s
 
 xtexdl_3dnow.o xtexdl_3dnow.lo: xtexdl.s fxgasm.h 
 	$(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-	libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
+	$(LIBTOOL) --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
 	$(RM) -f $*.tmp.s
 
 if FX_GLIDE_C_CPU_DETECT
@@ -185,7 +186,7 @@ else
 CPUSOURCES = cpudtect.s
 cpudtect.o cpudtect.lo: cpudtect.s
 	$(PREPROCESSOR) -DUSE_PACKET_FIFO=1 $< > $*.tmp.s
-	libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
+	$(LIBTOOL) --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s
 	$(RM) -f $*.tmp.s
 endif