Fixes for compilation against recent kernels; disable helper module, change configuration file loading...

This commit is contained in:
Ryan McGrath 2011-02-24 00:31:25 -08:00
parent 00bae13bba
commit ed9bb8f71a
15 changed files with 206 additions and 73 deletions

View file

@ -44,7 +44,7 @@ CONFDIR = $(SRCDIR)/src/config
# Common prefix for installation directories.
# NOTE: This directory must exist when you start the install.
TOPDIR=
prefix = $(TOPDIR)/usr/local
prefix = $(TOPDIR)/usr
exec_prefix = $(prefix)
# Directory where the shared stubs and static library will be installed.
@ -65,6 +65,12 @@ includedir = $(prefix)/include
# Directory where the man files will be installed.
mandir = $(prefix)/share/man
# Directory where the udev rules files will be installed.
rulesdir = $(TOPDIR)/etc/udev/rules.d
# Directory where the documentation will be installed.
docdir = $(prefix)/share/doc/svgalib-$(VERSION)
# Target binary format.
TARGET_FORMAT = elf
@ -320,10 +326,12 @@ DLLFLAGS = -fPIC -DPIC
# Utilites used.
AR = ar
INSTALL_PROGRAM = install -sm755
INSTALL_SCRIPT = install -m755
INSTALL_SHLIB = install -m755
INSTALL_DATA = install -m644
INSTALL_PROGRAM = install -sm0755
INSTALL_SCRIPT = install -m0755
INSTALL_SHLIB = install -m0755
INSTALL_DATA = install -m0644
INSTALL_DIR = install -m0755 -d
ifneq ($(ARCH),i386)
NO_ASM = y