comparison vidix/drivers/Makefile @ 11038:3bac281db5a1

SiS 650/651/740/etc driver by Jake Page <jake@CS.Stanford.EDU>
author alex
date Tue, 07 Oct 2003 23:12:16 +0000
parents 27da030f7201
children 5c6e899ee6f3
comparison
equal deleted inserted replaced
11037:77ed12a4f0b1 11038:3bac281db5a1
50 NVIDIA_SRCS=nvidia_vid.c 50 NVIDIA_SRCS=nvidia_vid.c
51 NVIDIA_OBJS=nvidia_vid.o 51 NVIDIA_OBJS=nvidia_vid.o
52 NVIDIA_LIBS=-L../../libdha -ldha -lm 52 NVIDIA_LIBS=-L../../libdha -ldha -lm
53 NVIDIA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. 53 NVIDIA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I..
54 54
55 all: $(CYBERBLADE_VID) $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID) 55 SIS_VID=sis_vid.so
56 SIS_SRCS=sis_vid.c sis_bridge.c
57 SIS_OBJS=sis_vid.o sis_bridge.o
58 SIS_LIBS=-L../../libdha -ldha
59 SIS_CFLAGS=$(OPTFLAGS) -fPIC -I. -I..
60
61 all: $(CYBERBLADE_VID) $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID) $(SIS_VID)
56 62
57 63
58 .SUFFIXES: .c .o 64 .SUFFIXES: .c .o
59 65
60 # .PHONY: all clean 66 # .PHONY: all clean
111 $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $< 117 $(CC) -c $(MGA_CRTC2_CFLAGS) -o $@ $<
112 118
113 $(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS) 119 $(MGA_CRTC2_VID): $(MGA_CRTC2_OBJS)
114 $(CC) -shared $(MGA_CRTC2_OBJS) $(MGA_CRTC2_LIBS) -Wl,-soname,$(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID) 120 $(CC) -shared $(MGA_CRTC2_OBJS) $(MGA_CRTC2_LIBS) -Wl,-soname,$(MGA_CRTC2_VID) -o $(MGA_CRTC2_VID)
115 121
122 $(SIS_OBJS): $(SIS_SRCS)
123 $(CC) -c $(SIS_CFLAGS) -o $@ $(basename $@).c
124
125 $(SIS_VID): $(SIS_OBJS)
126 $(LD) -g $(SIS_LIBS) -shared -soname $(SIS_VID) -o $(SIS_VID) $(SIS_OBJS)
127
116 clean: 128 clean:
117 rm -f *.o *.so *~ 129 rm -f *.o *.so *~
118 130
119 distclean: 131 distclean:
120 rm -f Makefile.bak *.o *.so test *~ .depend 132 rm -f Makefile.bak *.o *.so test *~ .depend