Mercurial > mplayer.hg
comparison TVout/fbset/Makefile @ 1:3b5f5d1c5041
Initial revision
author | arpi_esp |
---|---|
date | Sat, 24 Feb 2001 20:28:24 +0000 |
parents | |
children | a721a2b91d3d |
comparison
equal
deleted
inserted
replaced
0:c1bb2c071d63 | 1:3b5f5d1c5041 |
---|---|
1 # | |
2 # Linux Frame Buffer Device Configuration | |
3 # | |
4 | |
5 CC = gcc -Wall -O2 -I. | |
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 |