Mercurial > mplayer.hg
comparison vidix/drivers/Makefile @ 8505:d794e866cf5f
EPIA (CyberBlade/i1) driver by Alastair M. Robinson
author | alex |
---|---|
date | Sat, 21 Dec 2002 13:06:23 +0000 |
parents | b69ddd4d3bb9 |
children | 59837356f692 |
comparison
equal
deleted
inserted
replaced
8504:321763255480 | 8505:d794e866cf5f |
---|---|
2 | 2 |
3 include ../../config.mak | 3 include ../../config.mak |
4 | 4 |
5 BINDIR = $(LIBDIR)/mplayer/vidix | 5 BINDIR = $(LIBDIR)/mplayer/vidix |
6 | 6 |
7 CYBERBLADE_VID=cyberblade_vid.so | |
8 CYBERBLADE_SRCS=cyberblade_vid.c | |
9 CYBERBLADE_OBJS=cyberblade_vid.o | |
10 CYBERBLADE_LIBS=-L../../libdha -ldha -lm | |
11 CYBERBLADE_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. | |
7 | 12 |
8 RADEON_VID=radeon_vid.so | 13 RADEON_VID=radeon_vid.so |
9 RADEON_SRCS=radeon_vid.c | 14 RADEON_SRCS=radeon_vid.c |
10 RADEON_OBJS=radeon_vid.o | 15 RADEON_OBJS=radeon_vid.o |
11 RADEON_LIBS=-L../../libdha -ldha -lm | 16 RADEON_LIBS=-L../../libdha -ldha -lm |
19 | 24 |
20 PM3_VID=pm3_vid.so | 25 PM3_VID=pm3_vid.so |
21 PM3_SRCS=pm3_vid.c | 26 PM3_SRCS=pm3_vid.c |
22 PM3_OBJS=pm3_vid.o | 27 PM3_OBJS=pm3_vid.o |
23 PM3_LIBS=-L../../libdha -ldha | 28 PM3_LIBS=-L../../libdha -ldha |
24 PM3_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. | 29 PM3_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. |
25 | 30 |
26 MACH64_VID=mach64_vid.so | 31 MACH64_VID=mach64_vid.so |
27 MACH64_SRCS=mach64_vid.c | 32 MACH64_SRCS=mach64_vid.c |
28 MACH64_OBJS=mach64_vid.o | 33 MACH64_OBJS=mach64_vid.o |
29 MACH64_LIBS=-L../../libdha -ldha | 34 MACH64_LIBS=-L../../libdha -ldha |
31 | 36 |
32 MGA_VID=mga_vid.so | 37 MGA_VID=mga_vid.so |
33 MGA_SRCS=mga_vid.c | 38 MGA_SRCS=mga_vid.c |
34 MGA_OBJS=mga_vid.o | 39 MGA_OBJS=mga_vid.o |
35 MGA_LIBS=-L../../libdha -ldha -lm | 40 MGA_LIBS=-L../../libdha -ldha -lm |
36 MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. | 41 MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. |
37 | 42 |
38 MGA_CRTC2_VID=mga_crtc2_vid.so | 43 MGA_CRTC2_VID=mga_crtc2_vid.so |
39 MGA_CRTC2_SRCS=mga_vid.c | 44 MGA_CRTC2_SRCS=mga_vid.c |
40 MGA_CRTC2_OBJS=mga_crtc2_vid.o | 45 MGA_CRTC2_OBJS=mga_crtc2_vid.o |
41 MGA_CRTC2_LIBS=-L../../libdha -ldha -lm | 46 MGA_CRTC2_LIBS=-L../../libdha -ldha -lm |
42 MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -DCRTC2 | 47 MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -DCRTC2 |
43 | 48 |
44 all: $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID) | 49 all: $(CYBERBLADE_VID) $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID) |
45 | 50 |
46 | 51 |
47 .SUFFIXES: .c .o | 52 .SUFFIXES: .c .o |
48 | 53 |
49 # .PHONY: all clean | 54 # .PHONY: all clean |
55 | |
56 $(CYBERBLADE_OBJS): $(CYBERBLADE_SRCS) | |
57 $(CC) -c $(CYBERBLADE_CFLAGS) -o $@ $< | |
58 | |
59 $(CYBERBLADE_VID): $(CYBERBLADE_OBJS) | |
60 $(LD) $(CYBERBLADE_LIBS) -shared -soname $(CYBERBLADE_VID) -o $(CYBERBLADE_VID) $(CYBERBLADE_OBJS) | |
50 | 61 |
51 $(PM3_OBJS): $(PM3_SRCS) | 62 $(PM3_OBJS): $(PM3_SRCS) |
52 $(CC) -c $(PM3_CFLAGS) -o $@ $< | 63 $(CC) -c $(PM3_CFLAGS) -o $@ $< |
53 | 64 |
54 $(PM3_VID): $(PM3_OBJS) | 65 $(PM3_VID): $(PM3_OBJS) |