annotate vidix/kernelhelper/Makefile @ 26157:64654d7bebbc

Remove duplicate conditions in dvdread check.
author diego
date Fri, 07 Mar 2008 10:36:31 +0000
parents a9e111b88c4a
children 89ce68bf7b6e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
68d588f4914b initial
alex
parents:
diff changeset
5 MDIR = /lib/modules/$(VERSION)/misc
68d588f4914b initial
alex
parents:
diff changeset
6
68d588f4914b initial
alex
parents:
diff changeset
7 all: dhahelper.o test
68d588f4914b initial
alex
parents:
diff changeset
8
68d588f4914b initial
alex
parents:
diff changeset
9 dhahelper.o: dhahelper.c dhahelper.h
68d588f4914b initial
alex
parents:
diff changeset
10
68d588f4914b initial
alex
parents:
diff changeset
11 install: dhahelper.o
18083
b069afd2a0de Simplify mkdir calls.
diego
parents: 7073
diff changeset
12 -mkdir -p $(MDIR)
4472
68d588f4914b initial
alex
parents:
diff changeset
13 install -m 644 dhahelper.o $(MDIR)/dhahelper.o
68d588f4914b initial
alex
parents:
diff changeset
14 depmod -a
68d588f4914b initial
alex
parents:
diff changeset
15
21080
618d1857f4c4 Unify dep/depend targets.
diego
parents: 18083
diff changeset
16 dep depend:
4472
68d588f4914b initial
alex
parents:
diff changeset
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
68d588f4914b initial
alex
parents:
diff changeset
20
68d588f4914b initial
alex
parents:
diff changeset
21 distclean: clean