Mercurial > mplayer.hg
annotate vidix/kernelhelper/Makefile @ 26217:33316ed8d7fa
Use HAVE_QUICKTIME instead of MACOSX preprocessor condition.
author | diego |
---|---|
date | Sat, 15 Mar 2008 11:32:19 +0000 |
parents | a9e111b88c4a |
children | 89ce68bf7b6e |
rev | line source |
---|---|
22785
43c482cba0fb
cosmetics: Shorten long lines, remove trailing whitespace.
diego
parents:
21080
diff
changeset
|
1 KERNEL_INC = /usr/src/linux/include |
22787
52c7adc44032
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.
diego
parents:
22785
diff
changeset
|
2 CFLAGS = -O2 -D__KERNEL__ -DMODULE -I$(KERNEL_INC) \ |
52c7adc44032
Merge INCLUDES into CFLAGS and remove now redundant commands and rules.
diego
parents:
22785
diff
changeset
|
3 -include $(KERNEL_INC)/linux/modversions.h |
22785
43c482cba0fb
cosmetics: Shorten long lines, remove trailing whitespace.
diego
parents:
21080
diff
changeset
|
4 VERSION = $(shell grep RELEASE $(KERNEL_INC)/linux/version.h | cut -d'"' -f2) |
4472 | 5 MDIR = /lib/modules/$(VERSION)/misc |
6 | |
7 all: dhahelper.o test | |
8 | |
9 dhahelper.o: dhahelper.c dhahelper.h | |
10 | |
11 install: dhahelper.o | |
18083 | 12 -mkdir -p $(MDIR) |
4472 | 13 install -m 644 dhahelper.o $(MDIR)/dhahelper.o |
14 depmod -a | |
15 | |
21080 | 16 dep depend: |
4472 | 17 |
22785
43c482cba0fb
cosmetics: Shorten long lines, remove trailing whitespace.
diego
parents:
21080
diff
changeset
|
18 clean: |
22788
16aa0544c85d
Remove generated test program on clean, not just on distclean.
diego
parents:
22787
diff
changeset
|
19 rm -f *.o *~ test |
4472 | 20 |
21 distclean: clean |