annotate vidix/drivers/Makefile @ 19508:faf94e4b3a36

The way to ignore failing commands in Makefiles is to prepend a -.
author diego
date Wed, 23 Aug 2006 14:34:42 +0000
parents 570dac445535
children 2a00413b228e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
1 # makefile
872781fef1b3 preliminary version
nick
parents:
diff changeset
2
872781fef1b3 preliminary version
nick
parents:
diff changeset
3 include ../../config.mak
872781fef1b3 preliminary version
nick
parents:
diff changeset
4
5814
16186e365197 libdir changed
arpi
parents: 5607
diff changeset
5 BINDIR = $(LIBDIR)/mplayer/vidix
4030
922241968c63 Embedding vidix
nick
parents: 3996
diff changeset
6
8505
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
7 CYBERBLADE_VID=cyberblade_vid.so
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
8 CYBERBLADE_SRCS=cyberblade_vid.c
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
9 CYBERBLADE_OBJS=cyberblade_vid.o
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
10 CYBERBLADE_LIBS=-L../../libdha -ldha -lm
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
11 CYBERBLADE_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
12
872781fef1b3 preliminary version
nick
parents:
diff changeset
13 RADEON_VID=radeon_vid.so
872781fef1b3 preliminary version
nick
parents:
diff changeset
14 RADEON_SRCS=radeon_vid.c
872781fef1b3 preliminary version
nick
parents:
diff changeset
15 RADEON_OBJS=radeon_vid.o
12513
3e5704e7b35f Fix Cygwin compilation, patch by Sascha Sommer.
diego
parents: 11221
diff changeset
16 RADEON_LIBS=-L../../libdha -ldha -lm $(X_LIB)
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
17 RADEON_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
18
872781fef1b3 preliminary version
nick
parents:
diff changeset
19 RAGE128_VID=rage128_vid.so
872781fef1b3 preliminary version
nick
parents:
diff changeset
20 RAGE128_SRCS=radeon_vid.c
872781fef1b3 preliminary version
nick
parents:
diff changeset
21 RAGE128_OBJS=rage128_vid.o
12513
3e5704e7b35f Fix Cygwin compilation, patch by Sascha Sommer.
diego
parents: 11221
diff changeset
22 RAGE128_LIBS=-L../../libdha -ldha -lm $(X_LIB)
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
23 RAGE128_CFLAGS=-fPIC -I. -I.. -DRAGE128 $(OPTFLAGS)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
24
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
25 PM3_VID=pm3_vid.so
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
26 PM3_SRCS=pm3_vid.c
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
27 PM3_OBJS=pm3_vid.o
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
28 PM3_LIBS=-L../../libdha -ldha
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
29 PM3_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
30
4691
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
31 MACH64_VID=mach64_vid.so
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
32 MACH64_SRCS=mach64_vid.c
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
33 MACH64_OBJS=mach64_vid.o
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
34 MACH64_LIBS=-L../../libdha -ldha
19506
564163b2c84c Remove useless define from MACH64 CFLAGS.
diego
parents: 19503
diff changeset
35 MACH64_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
4691
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
36
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
37 MGA_VID=mga_vid.so
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
38 MGA_SRCS=mga_vid.c
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
39 MGA_OBJS=mga_vid.o
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
40 MGA_LIBS=-L../../libdha -ldha -lm
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
41 MGA_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
42
4139
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
43 MGA_CRTC2_VID=mga_crtc2_vid.so
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
44 MGA_CRTC2_SRCS=mga_vid.c
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
45 MGA_CRTC2_OBJS=mga_crtc2_vid.o
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
46 MGA_CRTC2_LIBS=-L../../libdha -ldha -lm
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
47 MGA_CRTC2_CFLAGS=-fPIC -I. -I.. -DCRTC2 $(OPTFLAGS)
4139
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
48
10954
27da030f7201 experimental nvidia_vid, use at your own risk
faust3
parents: 9629
diff changeset
49 NVIDIA_VID=nvidia_vid.so
27da030f7201 experimental nvidia_vid, use at your own risk
faust3
parents: 9629
diff changeset
50 NVIDIA_SRCS=nvidia_vid.c
27da030f7201 experimental nvidia_vid, use at your own risk
faust3
parents: 9629
diff changeset
51 NVIDIA_OBJS=nvidia_vid.o
27da030f7201 experimental nvidia_vid, use at your own risk
faust3
parents: 9629
diff changeset
52 NVIDIA_LIBS=-L../../libdha -ldha -lm
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
53 NVIDIA_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
10954
27da030f7201 experimental nvidia_vid, use at your own risk
faust3
parents: 9629
diff changeset
54
11038
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
55 SIS_VID=sis_vid.so
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
56 SIS_SRCS=sis_vid.c sis_bridge.c
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
57 SIS_OBJS=sis_vid.o sis_bridge.o
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
58 SIS_LIBS=-L../../libdha -ldha
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
59 SIS_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
11038
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
60
13605
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
61 UNICHROME_VID=unichrome_vid.so
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
62 UNICHROME_SRCS=unichrome_vid.c
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
63 UNICHROME_OBJS=unichrome_vid.o
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
64 UNICHROME_LIBS=-L../../libdha -ldha -lm
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
65 UNICHROME_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
13605
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
66
14203
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
67 SAVAGE_VID=savage_vid.so
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
68 SAVAGE_SRCS=savage_vid.c
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
69 SAVAGE_OBJS=savage_vid.o
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
70 SAVAGE_LIBS=-L../../libdha -ldha -lm
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 17488
diff changeset
71 SAVAGE_CFLAGS=-fPIC -I. -I.. $(OPTFLAGS)
14203
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
72
19503
7239460244b8 Remove reference to long-gone genfb driver.
diego
parents: 19420
diff changeset
73 all: $(CYBERBLADE_VID) $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID) $(SIS_VID) $(UNICHROME_VID) $(SAVAGE_VID)
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
74
872781fef1b3 preliminary version
nick
parents:
diff changeset
75
872781fef1b3 preliminary version
nick
parents:
diff changeset
76 .SUFFIXES: .c .o
872781fef1b3 preliminary version
nick
parents:
diff changeset
77
872781fef1b3 preliminary version
nick
parents:
diff changeset
78 # .PHONY: all clean
872781fef1b3 preliminary version
nick
parents:
diff changeset
79
8505
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
80 $(CYBERBLADE_OBJS): $(CYBERBLADE_SRCS)
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
81 $(CC) -c $(CYBERBLADE_CFLAGS) -o $@ $<
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
82
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
83 $(CYBERBLADE_VID): $(CYBERBLADE_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
84 $(CC) -shared $< $(CYBERBLADE_LIBS) -Wl,-soname,$@ -o $@
8505
d794e866cf5f EPIA (CyberBlade/i1) driver by Alastair M. Robinson
alex
parents: 7073
diff changeset
85
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
86 $(PM3_OBJS): $(PM3_SRCS)
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
87 $(CC) -c $(PM3_CFLAGS) -o $@ $<
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
88
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
89 $(PM3_VID): $(PM3_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
90 $(CC) -shared $< $(PM3_LIBS) -Wl,-soname,$@ -o $@
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
91
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
92 $(RADEON_OBJS): $(RADEON_SRCS)
872781fef1b3 preliminary version
nick
parents:
diff changeset
93 $(CC) -c $(RADEON_CFLAGS) -o $@ $<
872781fef1b3 preliminary version
nick
parents:
diff changeset
94
872781fef1b3 preliminary version
nick
parents:
diff changeset
95 $(RADEON_VID): $(RADEON_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
96 $(CC) -shared $< $(RADEON_LIBS) -Wl,-soname,$@ -o $@
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
97
872781fef1b3 preliminary version
nick
parents:
diff changeset
98 $(RAGE128_OBJS): $(RAGE128_SRCS)
872781fef1b3 preliminary version
nick
parents:
diff changeset
99 $(CC) -c $(RAGE128_CFLAGS) -o $@ $<
872781fef1b3 preliminary version
nick
parents:
diff changeset
100
872781fef1b3 preliminary version
nick
parents:
diff changeset
101 $(RAGE128_VID): $(RAGE128_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
102 $(CC) -shared $< $(RAGE128_LIBS) -Wl,-soname,$@ -o $@
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
103
4691
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
104 $(MACH64_OBJS): $(MACH64_SRCS)
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
105 $(CC) -c $(MACH64_CFLAGS) -o $@ $<
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
106
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
107 $(MACH64_VID): $(MACH64_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
108 $(CC) -shared $< $(MACH64_LIBS) -Wl,-soname,$@ -o $@
4691
9c23a7497a6d Scratch for volunteers
nick
parents: 4215
diff changeset
109
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
110 $(NVIDIA_OBJS): $(NVIDIA_SRCS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
111 $(CC) -c $(NVIDIA_CFLAGS) -o $@ $<
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
112
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
113 $(NVIDIA_VID): $(NVIDIA_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
114 $(CC) -shared $< $(NVIDIA_LIBS) -Wl,-soname,$@ -o $@
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
115
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
116 $(MGA_OBJS): $(MGA_SRCS)
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
117 $(CC) -c $(MGA_CFLAGS) -o $@ $<
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
118
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
119 $(MGA_VID): $(MGA_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
120 $(CC) -shared $< $(MGA_LIBS) -Wl,-soname,$@ -o $@
4136
1080b7780d03 committed due to request of gabucino
alex
parents: 4030
diff changeset
121
4139
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
122 $(MGA_CRTC2_OBJS): $(MGA_CRTC2_SRCS)
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
123 $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
124
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
125 $(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
126 $(CC) -shared $< $(MGA_CRTC2_LIBS) -Wl,-soname,$@ -o $@
4139
13d6395e8daa added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents: 4136
diff changeset
127
11038
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
128 $(SIS_OBJS): $(SIS_SRCS)
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
129 $(CC) -c $(SIS_CFLAGS) -o $@ $(basename $@).c
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
130
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
131 $(SIS_VID): $(SIS_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
132 $(CC) -shared $< $(SIS_LIBS) -Wl,-soname,$@ -o $@
11038
3bac281db5a1 SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
alex
parents: 10954
diff changeset
133
13605
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
134 $(UNICHROME_OBJS): $(UNICHROME_SRCS)
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
135 $(CC) -c $(UNICHROME_CFLAGS) -o $@ $<
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
136
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
137 $(UNICHROME_VID): $(UNICHROME_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
138 $(CC) -shared $< $(UNICHROME_LIBS) -Wl,-soname,$@ -o $@
13605
c971585ddcab CLE266 Vidix driver initial patch by Timothy Lee <timothy@siriushk.com>, doxygen comments by Benjamin Zores <ben@tutuxclan.org>
faust3
parents: 12513
diff changeset
139
14250
ca1a994df819 10l, patch by Martin Braun <braun12@gmx.de>
faust3
parents: 14203
diff changeset
140 $(SAVAGE_OBJS): $(SAVAGE_SRCS)
ca1a994df819 10l, patch by Martin Braun <braun12@gmx.de>
faust3
parents: 14203
diff changeset
141 $(CC) -c $(SAVAGE_CFLAGS) -o $@ $<
ca1a994df819 10l, patch by Martin Braun <braun12@gmx.de>
faust3
parents: 14203
diff changeset
142
14203
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
143 $(SAVAGE_VID): $(SAVAGE_OBJS)
19507
570dac445535 Simplify compilation commands with $< and $@.
diego
parents: 19506
diff changeset
144 $(CC) -shared $< $(SAVAGE_LIBS) -Wl,-soname,$@ -o $@
14203
8be9b0f1e4b6 experimental savage vidix driver by Reza Jelveh <reza.jelveh at tu-harburg.de>
faust3
parents: 13605
diff changeset
145
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
146 clean:
872781fef1b3 preliminary version
nick
parents:
diff changeset
147 rm -f *.o *.so *~
872781fef1b3 preliminary version
nick
parents:
diff changeset
148
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17288
diff changeset
149 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17288
diff changeset
150 rm -f .depend test
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
151
872781fef1b3 preliminary version
nick
parents:
diff changeset
152 dep: depend
872781fef1b3 preliminary version
nick
parents:
diff changeset
153
872781fef1b3 preliminary version
nick
parents:
diff changeset
154 depend:
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
155 # do nothing here
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
156
872781fef1b3 preliminary version
nick
parents:
diff changeset
157 install:
7024
c605c57edead hmm. vosub_vidix has LIBDIR/mplayer/vidix as driver path, so we should use
arpi
parents: 6650
diff changeset
158 mkdir -p $(LIBDIR)/mplayer/vidix
17288
4c86d2479aa2 use $(INSTALLSTRIP) consistently
rathann
parents: 14250
diff changeset
159 -install -m 755 $(INSTALLSTRIP) -p *.so $(LIBDIR)/mplayer/vidix
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
160 uninstall:
7024
c605c57edead hmm. vosub_vidix has LIBDIR/mplayer/vidix as driver path, so we should use
arpi
parents: 6650
diff changeset
161 rm -f $(LIBDIR)/mplayer/vidix/*.so
19508
faf94e4b3a36 The way to ignore failing commands in Makefiles is to prepend a -.
diego
parents: 19507
diff changeset
162 -rmdir -p $(LIBDIR)/mplayer/vidix
6254
034b12194350 rage128/radeon fixes, mach64 mess^H^H^H^Hcleanup, pm3 driver.
arpi
parents: 5814
diff changeset
163
3996
872781fef1b3 preliminary version
nick
parents:
diff changeset
164 #
872781fef1b3 preliminary version
nick
parents:
diff changeset
165 # include dependency files if they exist
872781fef1b3 preliminary version
nick
parents:
diff changeset
166 #
872781fef1b3 preliminary version
nick
parents:
diff changeset
167 ifneq ($(wildcard .depend),)
872781fef1b3 preliminary version
nick
parents:
diff changeset
168 include .depend
872781fef1b3 preliminary version
nick
parents:
diff changeset
169 endif