annotate TVout/fbset/Makefile @ 5972:80c25f6a535f

msmpeg4v2 -> MP42 mapping, requested by Gabucino
author alex
date Sat, 04 May 2002 18:18:10 +0000
parents 4c97a945398c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 #
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 # Linux Frame Buffer Device Configuration
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 #
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4
3358
4c97a945398c recursive CC fixed
arpi
parents: 1395
diff changeset
5 CFLAGS = -Wall -O2 -I.
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 BISON = bison -d
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 FLEX = flex
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 INSTALL = install
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 RM = rm -f
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 All: fbset
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 fbset: fbset.o modes.tab.o lex.yy.o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 fbset.o: fbset.c fbset.h fb.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 modes.tab.o: modes.tab.c fbset.h fb.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 lex.yy.o: lex.yy.c fbset.h modes.tab.h
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 lex.yy.c: modes.l
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 $(FLEX) modes.l
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 modes.tab.c: modes.y
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 $(BISON) modes.y
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 install: fbset
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 if [ -f /sbin/fbset ]; then rm /sbin/fbset; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 $(INSTALL) fbset /usr/sbin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 $(INSTALL) fbset.8 /usr/man/man8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 $(INSTALL) fb.modes.5 /usr/man/man5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 if [ ! -c /dev/fb0 ]; then mknod /dev/fb0 c 29 0; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 if [ ! -c /dev/fb1 ]; then mknod /dev/fb1 c 29 32; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 if [ ! -c /dev/fb2 ]; then mknod /dev/fb2 c 29 64; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 if [ ! -c /dev/fb3 ]; then mknod /dev/fb3 c 29 96; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 if [ ! -c /dev/fb4 ]; then mknod /dev/fb4 c 29 128; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 if [ ! -c /dev/fb5 ]; then mknod /dev/fb5 c 29 160; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 if [ ! -c /dev/fb6 ]; then mknod /dev/fb6 c 29 192; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 if [ ! -c /dev/fb7 ]; then mknod /dev/fb7 c 29 224; fi
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 $(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h