Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
fbset
fbset-2.1-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fbset-2.1-makefile.patch of Package fbset
--- Makefile.orig 1999-01-17 20:15:46.000000000 +0100 +++ Makefile 2003-04-24 15:08:04.000000000 +0200 @@ -2,40 +2,55 @@ # Linux Frame Buffer Device Configuration # -CC = gcc -Wall -O2 -I. -BISON = bison -d -FLEX = flex -INSTALL = install -RM = rm -f +CC = gcc +CFLAGS = -Wall -O2 +BISON = bison -d +FLEX = flex +INSTALL = install +INSTALL_PROGRAM = $(INSTALL) -m 755 +INSTALL_DATA = $(INSTALL) -m 644 +RM = rm -f +PREFIX = /usr +MANDIR = $(PREFIX)/share/man +SBINDIR = $(PREFIX)/sbin +CONFDIR = /etc + + +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 -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 +lex.yy.c: modes.l + $(FLEX) modes.l modes.tab.c: modes.y - $(BISON) 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 +install: all + $(INSTALL) -d $(DESTDIR)/$(MANDIR)/man{5,8} + $(INSTALL) -d $(DESTDIR)/$(SBINDIR) + $(INSTALL) -d $(DESTDIR)/$(CONFDIR) + $(INSTALL_DATA) etc/fb.modes $(DESTDIR)/$(CONFDIR)/fb.modes + $(INSTALL_PROGRAM) fbset $(DESTDIR)/$(SBINDIR) + $(INSTALL_PROGRAM) modeline2fb $(DESTDIR)/$(SBINDIR) + $(INSTALL_DATA) fb.modes.5 $(DESTDIR)/$(MANDIR)/man5 + $(INSTALL_DATA) fbset.8 $(DESTDIR)/$(MANDIR)/man8 + $(INSTALL_DATA) modeline2fb.8 $(DESTDIR)/$(MANDIR)/man8 + +install-devices: + if [ ! -c /dev/fb0 ]; then mknod $(DESTDIR)/dev/fb0 c 29 0; fi + if [ ! -c /dev/fb1 ]; then mknod $(DESTDIR)/dev/fb1 c 29 32; fi + if [ ! -c /dev/fb2 ]; then mknod $(DESTDIR)/dev/fb2 c 29 64; fi + if [ ! -c /dev/fb3 ]; then mknod $(DESTDIR)/dev/fb3 c 29 96; fi + if [ ! -c /dev/fb4 ]; then mknod $(DESTDIR)/dev/fb4 c 29 128; fi + if [ ! -c /dev/fb5 ]; then mknod $(DESTDIR)/dev/fb5 c 29 160; fi + if [ ! -c /dev/fb6 ]; then mknod $(DESTDIR)/dev/fb6 c 29 192; fi + if [ ! -c /dev/fb7 ]; then mknod $(DESTDIR)/dev/fb7 c 29 224; fi clean: - $(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h + $(RM) *.o fbset lex.yy.c modes.tab.c modes.tab.h +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor