Mercurial > mplayer.hg
changeset 26902:95d324b7de18
Merge vidix/dhahelper/Makefile into top-level Makefile.
author | diego |
---|---|
date | Fri, 30 May 2008 19:39:00 +0000 |
parents | af5408de478f |
children | 5ed6787022c4 |
files | Makefile vidix/dhahelper/Makefile |
diffstat | 2 files changed, 13 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri May 30 19:17:20 2008 +0000 +++ b/Makefile Fri May 30 19:39:00 2008 +0000 @@ -989,6 +989,19 @@ driversclean: rm -f drivers/*.o drivers/*~ drivers/mga_vid_test drivers/tdfx_vid_test +dhahelper: vidix/dhahelper/dhahelper.o vidix/dhahelper/test + +vidix/dhahelper/dhahelper.o vidix/dhahelper/test: CFLAGS = $(KERNEL_CFLAGS) +vidix/dhahelper/dhahelper.o: vidix/dhahelper/dhahelper.c vidix/dhahelper/dhahelper.h + +install-dhahelper: vidix/dhahelper/dhahelper.o + -mkdir -p $(MODULES_DIR) + install -m 644 $< $(MODULES_DIR) + depmod -a + +dhahelperclean: + rm -f vidix/dhahelper/*.o vidix/dhahelper/*~ vidix/dhahelper/test + -include $(DEPS)
--- a/vidix/dhahelper/Makefile Fri May 30 19:17:20 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -KERNEL_INC = /usr/src/linux/include -CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INC) \ - -include $(KERNEL_INC)/linux/modversions.h -VERSION = $(shell grep RELEASE $(KERNEL_INC)/linux/version.h | cut -d'"' -f2) -MDIR = /lib/modules/$(VERSION)/misc - -all: dhahelper.o test - -dhahelper.o: dhahelper.c dhahelper.h - -install: dhahelper.o - -mkdir -p $(MDIR) - install -m 644 dhahelper.o $(MDIR)/dhahelper.o - depmod -a - -dep depend: - -clean distclean: - rm -f *.o *~ test - -.PHONY: all install dep depend *clean