1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/drivers/radeon/Makefile
nick 2adad30dad radeon_vid: it's in first pre-alpha stage
Note: it's not public release and not test version.
It's simplest commit of unfinished and not working stuff
in hope to attract other developer to this driver.

(What is good: this driver is removable from driver list
and doesn't cause segfault !!!)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2871 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-13 17:20:47 +00:00

31 lines
715 B
Makefile

KERNEL_INCLUDES = /usr/src/linux/include
INCLUDES = -I$(KERNEL_INCLUDES)
#
# standard CFLAGS
#
CPPFLAGS := -D__KERNEL__ -I$(KERNEL_INCLUDES)
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
-fomit-frame-pointer -fno-strict-aliasing -fno-common\
-D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h
AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
all: radeonfb.o radeon_vid.o
radeonfb.o: radeonfb.c radeon.h
$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
radeon_vid.o: radeon_vid.c radeon.h radeon_vid.h
$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
dep:
clean:
rm -f *.o *~
install:
@echo Please copy *.o files to '/lib/modules/LINUX_VER/kernel/drivers/video' folder