Mercurial > mplayer.hg
annotate TVout/fbset/Makefile @ 1395:a721a2b91d3d
Added StrongARM crosscompiling support by Maksim Krasnyanskiy <maxk at qualcomm.com> and fixed a --datadir bug in configure.
author | atmos4 |
---|---|
date | Sat, 28 Jul 2001 05:36:45 +0000 |
parents | 3b5f5d1c5041 |
children | 4c97a945398c |
rev | line source |
---|---|
1 | 1 # |
2 # Linux Frame Buffer Device Configuration | |
3 # | |
4 | |
1395
a721a2b91d3d
Added StrongARM crosscompiling support by Maksim Krasnyanskiy <maxk at qualcomm.com> and fixed a --datadir bug in configure.
atmos4
parents:
1
diff
changeset
|
5 CC = $(CC) -Wall -O2 -I. |
1 | 6 BISON = bison -d |
7 FLEX = flex | |
8 INSTALL = install | |
9 RM = rm -f | |
10 | |
11 All: fbset | |
12 | |
13 | |
14 fbset: fbset.o modes.tab.o lex.yy.o | |
15 | |
16 fbset.o: fbset.c fbset.h fb.h | |
17 modes.tab.o: modes.tab.c fbset.h fb.h | |
18 lex.yy.o: lex.yy.c fbset.h modes.tab.h | |
19 | |
20 lex.yy.c: modes.l | |
21 $(FLEX) modes.l | |
22 | |
23 modes.tab.c: modes.y | |
24 $(BISON) modes.y | |
25 | |
26 install: fbset | |
27 if [ -f /sbin/fbset ]; then rm /sbin/fbset; fi | |
28 $(INSTALL) fbset /usr/sbin | |
29 $(INSTALL) fbset.8 /usr/man/man8 | |
30 $(INSTALL) fb.modes.5 /usr/man/man5 | |
31 if [ ! -c /dev/fb0 ]; then mknod /dev/fb0 c 29 0; fi | |
32 if [ ! -c /dev/fb1 ]; then mknod /dev/fb1 c 29 32; fi | |
33 if [ ! -c /dev/fb2 ]; then mknod /dev/fb2 c 29 64; fi | |
34 if [ ! -c /dev/fb3 ]; then mknod /dev/fb3 c 29 96; fi | |
35 if [ ! -c /dev/fb4 ]; then mknod /dev/fb4 c 29 128; fi | |
36 if [ ! -c /dev/fb5 ]; then mknod /dev/fb5 c 29 160; fi | |
37 if [ ! -c /dev/fb6 ]; then mknod /dev/fb6 c 29 192; fi | |
38 if [ ! -c /dev/fb7 ]; then mknod /dev/fb7 c 29 224; fi | |
39 | |
40 clean: | |
41 $(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h |