version 1.8, 1993/04/08 17:18:46 |
version 1.12, 1993/04/25 05:36:13 |
|
|
BINOWN?= bin |
BINOWN?= bin |
BINMODE?= 555 |
BINMODE?= 555 |
|
|
|
|
LIBCRT0?= /usr/lib/crt0.o |
LIBCRT0?= /usr/lib/crt0.o |
LIBC?= /usr/lib/libc.a |
LIBC?= /usr/lib/libc.a |
LIBCOMPAT?= /usr/lib/libcompat.a |
LIBCOMPAT?= /usr/lib/libcompat.a |
|
|
|
|
.if !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \ |
.if !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \ |
!defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \ |
!defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \ |
!defined(MAN7) && !defined(MAN8) && !defined(NOMAN) |
!defined(MAN7) && !defined(MAN8) |
MAN1= ${PROG}.0 |
MAN1= ${PROG}.0 |
.endif |
.endif |
.endif |
.endif |
|
|
|
.if !defined(NOMAN) |
MANALL= ${MAN1} ${MAN2} ${MAN3} ${MAN4} ${MAN5} ${MAN6} ${MAN7} ${MAN8} |
MANALL= ${MAN1} ${MAN2} ${MAN3} ${MAN4} ${MAN5} ${MAN6} ${MAN7} ${MAN8} |
|
.endif |
|
|
_PROGSUBDIR: .USE |
_PROGSUBDIR: .USE |
.if defined(SUBDIR) && !empty(SUBDIR) |
.if defined(SUBDIR) && !empty(SUBDIR) |
Line 119 depend: .depend _PROGSUBDIR |
|
Line 121 depend: .depend _PROGSUBDIR |
|
.if !target(install) |
.if !target(install) |
.if !target(beforeinstall) |
.if !target(beforeinstall) |
beforeinstall: |
beforeinstall: |
|
.if defined(DESTDIR) || defined(BINDIR) |
@if [ ! -d "${DESTDIR}${BINDIR}" ]; then \ |
@if [ ! -d "${DESTDIR}${BINDIR}" ]; then \ |
/bin/rm -f ${DESTDIR}${BINDIR} ; \ |
/bin/rm -f ${DESTDIR}${BINDIR} ; \ |
mkdir -p ${DESTDIR}${BINDIR} ; \ |
mkdir -p ${DESTDIR}${BINDIR} ; \ |
|
|
true ; \ |
true ; \ |
fi |
fi |
.endif |
.endif |
|
.endif |
.if !target(afterinstall) |
.if !target(afterinstall) |
afterinstall: |
afterinstall: |
.endif |
.endif |
|
|
realinstall: _PROGSUBDIR |
realinstall: _PROGSUBDIR |
.if defined(PROG) |
.if defined(PROG) |
install -c ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ |
${PROG} ${DESTDIR}${BINDIR} |
${PROG} ${DESTDIR}${BINDIR} |
.endif |
.endif |
.if defined(HIDEGAME) |
.if defined(HIDEGAME) |