Mercurial > mplayer.hg
annotate vidix/drivers/Makefile @ 4611:7b793875a640
Get(Set) deinterlacing
author | nick |
---|---|
date | Sat, 09 Feb 2002 15:14:48 +0000 |
parents | 14b8bc735bf5 |
children | 9c23a7497a6d |
rev | line source |
---|---|
3996 | 1 # makefile |
2 | |
3 include ../../config.mak | |
4 | |
4030 | 5 BINDIR = $(prefix)/lib/mplayer/vidix |
6 | |
3996 | 7 |
8 RADEON_VID=radeon_vid.so | |
9 RADEON_SRCS=radeon_vid.c | |
10 RADEON_OBJS=radeon_vid.o | |
11 RADEON_LIBS=-L../../libdha -ldha -lm | |
12 RADEON_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W | |
13 | |
14 RAGE128_VID=rage128_vid.so | |
15 RAGE128_SRCS=radeon_vid.c | |
16 RAGE128_OBJS=rage128_vid.o | |
17 RAGE128_LIBS=-L../../libdha -ldha | |
18 RAGE128_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DRAGE128 | |
19 | |
4136 | 20 NVIDIA_VID=nvidia_vid.so |
21 NVIDIA_SRCS=nvidia_vid.c | |
22 NVIDIA_OBJS=nvidia_vid.o | |
23 NVIDIA_LIBS=-L../../libdha -ldha -lm | |
24 NVIDIA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W | |
25 | |
26 GENFB_VID=genfb_vid.so | |
27 GENFB_SRCS=genfb_vid.c | |
28 GENFB_OBJS=genfb_vid.o | |
29 GENFB_LIBS=-L../../libdha -ldha -lm | |
30 GENFB_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W | |
31 | |
32 MGA_VID=mga_vid.so | |
33 MGA_SRCS=mga_vid.c | |
34 MGA_OBJS=mga_vid.o | |
35 MGA_LIBS=-L../../libdha -ldha -lm | |
36 MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W | |
37 | |
4139
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
38 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
|
39 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
|
40 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
|
41 MGA_CRTC2_LIBS=-L../../libdha -ldha -lm |
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
42 MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DCRTC2 |
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
43 |
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
44 all: $(RADEON_VID) $(RAGE128_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) |
3996 | 45 |
46 | |
47 .SUFFIXES: .c .o | |
48 | |
49 # .PHONY: all clean | |
50 | |
51 $(RADEON_OBJS): $(RADEON_SRCS) | |
52 $(CC) -c $(RADEON_CFLAGS) -o $@ $< | |
53 | |
54 $(RADEON_VID): $(RADEON_OBJS) | |
4030 | 55 $(LD) $(RADEON_LIBS) -shared -soname $(RADEON_VID) -o $(RADEON_VID) $(RADEON_OBJS) |
3996 | 56 |
57 $(RAGE128_OBJS): $(RAGE128_SRCS) | |
58 $(CC) -c $(RAGE128_CFLAGS) -o $@ $< | |
59 | |
60 $(RAGE128_VID): $(RAGE128_OBJS) | |
4030 | 61 $(LD) $(RAGE128_LIBS) -shared -soname $(RAGE128_VID) -o $(RAGE128_VID) $(RAGE128_OBJS) |
3996 | 62 |
4136 | 63 $(NVIDIA_OBJS): $(NVIDIA_SRCS) |
64 $(CC) -c $(NVIDIA_CFLAGS) -o $@ $< | |
65 | |
66 $(NVIDIA_VID): $(NVIDIA_OBJS) | |
67 $(LD) $(NVIDIA_LIBS) -shared -soname $(NVIDIA_VID) -o $(NVIDIA_VID) $(NVIDIA_OBJS) | |
68 | |
69 $(GENFB_OBJS): $(GENFB_SRCS) | |
70 $(CC) -c $(GENFB_CFLAGS) -o $@ $< | |
71 | |
72 $(GENFB_VID): $(GENFB_OBJS) | |
73 $(LD) $(GENFB_LIBS) -shared -soname $(GENFB_VID) -o $(GENFB_VID) $(GENFB_OBJS) | |
74 | |
75 $(MGA_OBJS): $(MGA_SRCS) | |
76 $(CC) -c $(MGA_CFLAGS) -o $@ $< | |
77 | |
78 $(MGA_VID): $(MGA_OBJS) | |
79 $(LD) $(MGA_LIBS) -shared -soname $(MGA_VID) -o $(MGA_VID) $(MGA_OBJS) | |
80 | |
4139
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
81 $(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
|
82 $(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
|
83 |
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
84 $(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS) |
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
85 $(LD) $(MGA_CRTC2_LIBS) -shared -soname $(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID) $(MGA_CRTC2_OBJS) |
13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
alex
parents:
4136
diff
changeset
|
86 |
3996 | 87 clean: |
88 rm -f *.o *.so *~ | |
89 | |
90 distclean: | |
91 rm -f Makefile.bak *.o *.so test *~ .depend | |
92 | |
93 dep: depend | |
94 | |
95 depend: | |
96 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
97 | |
98 install: | |
4030 | 99 mkdir -p $(BINDIR) |
4215 | 100 install -m 755 -s -p *.so $(BINDIR) |
3996 | 101 # |
102 # include dependency files if they exist | |
103 # | |
104 ifneq ($(wildcard .depend),) | |
105 include .depend | |
106 endif |