annotate vidix/kernelhelper/Makefile @ 26679:f7cb590e72a0

Consistency fix: all DVD encoding examples had ":aspect=16/9" option, so put it everywhere else.
author gpoirier
date Sat, 10 May 2008 12:11:05 +0000
parents 7e6503b9f597
children
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
26517
7e6503b9f597 clean and distclean rules do the same thing.
diego
parents: 26427
diff changeset
18 clean distclean:
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
26427
89ce68bf7b6e Mark phony targets as such.
diego
parents: 22900
diff changeset
21 .PHONY: all install dep depend *clean