Mercurial > mplayer.hg
annotate drivers/Makefile @ 6403:c0f189e49ee4
Background color now set by CSS, added doctype and default character set,
as well as typos and some HTML fixes.
author | diego |
---|---|
date | Wed, 12 Jun 2002 23:53:28 +0000 |
parents | fda4c0ea039f |
children | b69ddd4d3bb9 |
rev | line source |
---|---|
1 | 1 |
2 KERNEL_INCLUDES = /usr/src/linux/include | |
3 INCLUDES = -I$(KERNEL_INCLUDES) | |
4 CFLAGS = -g -O2 -Wall -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h | |
3768
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
5 VERSION = $(shell grep UTS_RELEASE $(KERNEL_INCLUDES)/linux/version.h | cut -d '"' -f2) |
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
6 MDIR = /lib/modules/$(VERSION)/misc |
1 | 7 |
57 | 8 all: mga_vid.o mga_vid_test |
9 # sis_vid.o | |
1 | 10 |
11 mga_vid.o: mga_vid.c mga_vid.h | |
12 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c | |
13 | |
14 sis_vid.o: sis_vid.c sis_vid.h | |
15 $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c | |
16 | |
17 mga_vid_test: mga_vid_test.c | |
18 $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c | |
19 | |
3768
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
20 install: mga_vid.o |
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
21 if test ! -d $(MDIR) ; then mkdir -p $(MDIR) ; fi |
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
22 install -m 644 mga_vid.o $(MDIR)/mga_vid.o |
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
23 depmod -a |
fda4c0ea039f
install: target added, based on patch by Jukka Tastula <jukka.tastula@kotinet.com>
arpi
parents:
1395
diff
changeset
|
24 |
1395
a721a2b91d3d
Added StrongARM crosscompiling support by Maksim Krasnyanskiy <maxk at qualcomm.com> and fixed a --datadir bug in configure.
atmos4
parents:
57
diff
changeset
|
25 dep: |
a721a2b91d3d
Added StrongARM crosscompiling support by Maksim Krasnyanskiy <maxk at qualcomm.com> and fixed a --datadir bug in configure.
atmos4
parents:
57
diff
changeset
|
26 |
1 | 27 clean: |
28 rm -f *.o *~ | |
29 | |
30 distclean: clean | |
31 rm -f mga_vid_test |