Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/vidix/drivers/Makefile Sun Jan 13 14:52:58 2002 +0000 +++ b/vidix/drivers/Makefile Sun Jan 13 16:54:32 2002 +0000 @@ -35,7 +35,13 @@ MGA_LIBS=-L../../libdha -ldha -lm MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -all: $(RADEON_VID) $(RAGE128_VID) $(NVIDIA_VID) $(GENFB_VID) #$(MGA_VID) +MGA_CRTC2_VID=mga_crtc2_vid.so +MGA_CRTC2_SRCS=mga_vid.c +MGA_CRTC2_OBJS=mga_crtc2_vid.o +MGA_CRTC2_LIBS=-L../../libdha -ldha -lm +MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DCRTC2 + +all: $(RADEON_VID) $(RAGE128_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) .SUFFIXES: .c .o @@ -72,6 +78,12 @@ $(MGA_VID): $(MGA_OBJS) $(LD) $(MGA_LIBS) -shared -soname $(MGA_VID) -o $(MGA_VID) $(MGA_OBJS) +$(MGA_CRTC2_OBJS): $(MGA_CRTC2_SRCS) + $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $< + +$(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS) + $(LD) $(MGA_CRTC2_LIBS) -shared -soname $(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID) $(MGA_CRTC2_OBJS) + clean: rm -f *.o *.so *~