[MPlayer-cvslog] r22701 - in trunk/drivers: Makefile radeon/Makefile

diego subversion at mplayerhq.hu
Sat Mar 17 16:53:30 CET 2007


Author: diego
Date: Sat Mar 17 16:53:30 2007
New Revision: 22701

Removed:
   trunk/drivers/radeon/Makefile
Modified:
   trunk/drivers/Makefile

Log:
Merge Makefile from radeon/ subdirectory into this one.


Modified: trunk/drivers/Makefile
==============================================================================
--- trunk/drivers/Makefile	(original)
+++ trunk/drivers/Makefile	Sat Mar 17 16:53:30 2007
@@ -4,12 +4,18 @@ MDIR = /lib/modules/$(VERSION)/misc
 
 CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INCLUDES) -Wall -include $(KERNEL_INCLUDES)/linux/modversions.h
 
-OBJS = mga_vid.o tdfx_vid.o
+OBJS = mga_vid.o tdfx_vid.o radeon/radeonfb.o radeon/radeon_vid.o radeon/rage128_vid.o
 
 all: $(OBJS) mga_vid_test tdfx_vid_test
 
 mga_vid.o: mga_vid.c mga_vid.h
 tdfx_vid.o: tdfx_vid.c 3dfx.h
+radeon/radeonfb.o: radeon/radeonfb.c radeon/radeon.h
+radeon/radeon_vid.o: radeon/radeon_vid.c radeon/radeon.h radeon/radeon_vid.h
+radeon/rage128_vid.o: radeon/radeon_vid.c radeon/radeon.h radeon/radeon_vid.h
+	$(CC) $(CFLAGS) -DRAGE128 -c $< -o $@
+radeon/radeonfb.o radeon/radeon_vid.o radeon/rage128_vid.o:
+  CFLAGS += -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math
 
 %_test: %_test.c
 	$(CC) -O -o $@ $<
@@ -20,11 +26,14 @@ install:
 	depmod -a
 	-mknod /dev/mga_vid  c 178 0
 	-mknod /dev/tdfx_vid c 178 0
+	-mknod /dev/radeon_vid c 178 0
+	-ln -s /dev/radeon_vid /dev/rage128_vid
 
 dep depend:
 
 clean:
 	rm -f *.o *~ mga_vid_test tdfx_vid_test
+	rm -f radeon/*.o radeon/*~
 
 distclean: clean
 



More information about the MPlayer-cvslog mailing list