Mercurial > mplayer.hg
changeset 4472:68d588f4914b
initial
author | alex |
---|---|
date | Sat, 02 Feb 2002 06:34:44 +0000 |
parents | f04a9bc331a5 |
children | 620c6ade8188 |
files | libdha/kernelhelper/Makefile |
diffstat | 1 files changed, 26 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdha/kernelhelper/Makefile Sat Feb 02 06:34:44 2002 +0000 @@ -0,0 +1,26 @@ +KERNEL_INCLUDES = /usr/src/linux/include +INCLUDES = -I$(KERNEL_INCLUDES) +CFLAGS = -g -O2 -Wall -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h +VERSION = $(shell grep UTS_RELEASE $(KERNEL_INCLUDES)/linux/version.h | cut -d '"' -f2) +MDIR = /lib/modules/$(VERSION)/misc + +all: dhahelper.o test + +dhahelper.o: dhahelper.c dhahelper.h + $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c + +test: test.c + $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c + +install: dhahelper.o + if test ! -d $(MDIR) ; then mkdir -p $(MDIR) ; fi + install -m 644 dhahelper.o $(MDIR)/dhahelper.o + depmod -a + +dep: + +clean: + rm -f *.o *~ + +distclean: clean + rm -f test