diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-02-24 20:28:24 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-02-24 20:28:24 +0000 |
commit | d34041569e71fc9bd772354e94dc9d16061072a5 (patch) | |
tree | 8f481cae1c70f32d1756fbe5f39000577b73042d /TVout/fbset/Makefile | |
parent | e95a95ece09bac96bdfd37322f96c6f57ef79ebc (diff) | |
download | mpv-d34041569e71fc9bd772354e94dc9d16061072a5.tar.bz2 mpv-d34041569e71fc9bd772354e94dc9d16061072a5.tar.xz |
Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TVout/fbset/Makefile')
-rw-r--r-- | TVout/fbset/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/TVout/fbset/Makefile b/TVout/fbset/Makefile new file mode 100644 index 0000000000..3a71024b01 --- /dev/null +++ b/TVout/fbset/Makefile @@ -0,0 +1,41 @@ +# +# Linux Frame Buffer Device Configuration +# + +CC = gcc -Wall -O2 -I. +BISON = bison -d +FLEX = flex +INSTALL = install +RM = rm -f + +All: fbset + + +fbset: fbset.o modes.tab.o lex.yy.o + +fbset.o: fbset.c fbset.h fb.h +modes.tab.o: modes.tab.c fbset.h fb.h +lex.yy.o: lex.yy.c fbset.h modes.tab.h + +lex.yy.c: modes.l + $(FLEX) modes.l + +modes.tab.c: modes.y + $(BISON) modes.y + +install: fbset + if [ -f /sbin/fbset ]; then rm /sbin/fbset; fi + $(INSTALL) fbset /usr/sbin + $(INSTALL) fbset.8 /usr/man/man8 + $(INSTALL) fb.modes.5 /usr/man/man5 + if [ ! -c /dev/fb0 ]; then mknod /dev/fb0 c 29 0; fi + if [ ! -c /dev/fb1 ]; then mknod /dev/fb1 c 29 32; fi + if [ ! -c /dev/fb2 ]; then mknod /dev/fb2 c 29 64; fi + if [ ! -c /dev/fb3 ]; then mknod /dev/fb3 c 29 96; fi + if [ ! -c /dev/fb4 ]; then mknod /dev/fb4 c 29 128; fi + if [ ! -c /dev/fb5 ]; then mknod /dev/fb5 c 29 160; fi + if [ ! -c /dev/fb6 ]; then mknod /dev/fb6 c 29 192; fi + if [ ! -c /dev/fb7 ]; then mknod /dev/fb7 c 29 224; fi + +clean: + $(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h |