Mercurial > mplayer.hg
comparison vidix/drivers/Makefile @ 4139:13d6395e8daa
added mga_vid (also playback->offset is not set (fixing it on monday)
author | alex |
---|---|
date | Sun, 13 Jan 2002 16:54:32 +0000 |
parents | 1080b7780d03 |
children | 14b8bc735bf5 |
comparison
equal
deleted
inserted
replaced
4138:458831ca939a | 4139:13d6395e8daa |
---|---|
33 MGA_SRCS=mga_vid.c | 33 MGA_SRCS=mga_vid.c |
34 MGA_OBJS=mga_vid.o | 34 MGA_OBJS=mga_vid.o |
35 MGA_LIBS=-L../../libdha -ldha -lm | 35 MGA_LIBS=-L../../libdha -ldha -lm |
36 MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W | 36 MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W |
37 | 37 |
38 all: $(RADEON_VID) $(RAGE128_VID) $(NVIDIA_VID) $(GENFB_VID) #$(MGA_VID) | 38 MGA_CRTC2_VID=mga_crtc2_vid.so |
39 MGA_CRTC2_SRCS=mga_vid.c | |
40 MGA_CRTC2_OBJS=mga_crtc2_vid.o | |
41 MGA_CRTC2_LIBS=-L../../libdha -ldha -lm | |
42 MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DCRTC2 | |
43 | |
44 all: $(RADEON_VID) $(RAGE128_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) | |
39 | 45 |
40 | 46 |
41 .SUFFIXES: .c .o | 47 .SUFFIXES: .c .o |
42 | 48 |
43 # .PHONY: all clean | 49 # .PHONY: all clean |
70 $(CC) -c $(MGA_CFLAGS) -o $@ $< | 76 $(CC) -c $(MGA_CFLAGS) -o $@ $< |
71 | 77 |
72 $(MGA_VID): $(MGA_OBJS) | 78 $(MGA_VID): $(MGA_OBJS) |
73 $(LD) $(MGA_LIBS) -shared -soname $(MGA_VID) -o $(MGA_VID) $(MGA_OBJS) | 79 $(LD) $(MGA_LIBS) -shared -soname $(MGA_VID) -o $(MGA_VID) $(MGA_OBJS) |
74 | 80 |
81 $(MGA_CRTC2_OBJS): $(MGA_CRTC2_SRCS) | |
82 $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $< | |
83 | |
84 $(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS) | |
85 $(LD) $(MGA_CRTC2_LIBS) -shared -soname $(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID) $(MGA_CRTC2_OBJS) | |
86 | |
75 clean: | 87 clean: |
76 rm -f *.o *.so *~ | 88 rm -f *.o *.so *~ |
77 | 89 |
78 distclean: | 90 distclean: |
79 rm -f Makefile.bak *.o *.so test *~ .depend | 91 rm -f Makefile.bak *.o *.so test *~ .depend |