diff options
author | Roy Marples <roy@marples.name> | 2008-02-28 11:08:49 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-02-28 11:08:49 +0000 |
commit | f092045650faad778d25d000d80b3128664d2e2a (patch) | |
tree | 89188e92a4d01423ee59e33e5eaf5355fa14d103 /mk/sys.mk | |
parent | aabf3976db5ffb41f8f8bbd47f5015b4158e095a (diff) |
Support the use of PREFIX and PKG_PREFIX.
Diffstat (limited to 'mk/sys.mk')
-rw-r--r-- | mk/sys.mk | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -7,23 +7,26 @@ INSTALL?= install RANLIB?= ranlib SH= /bin/sh +PREFIX= +PKG_PREFIX= /usr/local + PICFLAG?= -fPIC -BINDIR?= /sbin +BINDIR?= ${PREFIX}/sbin BINMODE?= 0755 -INCDIR?= /usr/include +INCDIR?= ${PREFIX}/usr/include INCMODE?= 0444 LIBNAME?= lib -LIBDIR?= /usr/${LIBNAME} +LIBDIR?= ${PREFIX}/usr/${LIBNAME} LIBMODE?= 0444 -SHLIBDIR?= /${LIBNAME} +SHLIBDIR?= ${PREFIX}/${LIBNAME} -MANDIR?= /usr/share/man/man +MANDIR?= ${PREFIX}/usr/share/man/man MANMODE?= 0444 -DOCDIR?= /usr/share/doc +DOCDIR?= ${PREFIX}/usr/share/doc DOCMODE?= 0644 CONFMODE?= 0644 |