Repaired version of Bruce's "make -jN" patches.

This commit is contained in:
markm 1998-03-26 16:57:36 +00:00
parent 0954aa00b4
commit 4b0d01af43
2 changed files with 6 additions and 7 deletions

View File

@ -71,20 +71,20 @@ CFLAGS+= -I${.CURDIR}/../../include -Wall -DHAVE_CONFIG_H \
COMPILE_ET= compile_et
.ORDER: ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h
${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h: ${KRB4DIR}/lib/kadm/kadm_err.et
test -e ${KADMOBJDIR}/kadm_err.et || ln -sf ${.ALLSRC} ${KADMOBJDIR}
test -e ${KADMOBJDIR}/kadm_err.et || ln -f ${.ALLSRC} ${KADMOBJDIR}
cd ${KADMOBJDIR}; ${COMPILE_ET} kadm_err.et
CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.et
.ORDER: ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.h
${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.h: ${KRB4DIR}/lib/krb/krb_err.et
test -e ${KRBOBJDIR}/krb_err.et || ln -sf ${.ALLSRC} ${KRBOBJDIR}
test -e ${KRBOBJDIR}/krb_err.et || ln -f ${.ALLSRC} ${KRBOBJDIR}
cd ${KRBOBJDIR}; ${COMPILE_ET} krb_err.et
CLEANFILES+=${KRBOBJDIR}/krb_err.h ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.et
#beforedepend all: ${INCLUDEOBJDIR}/protos.h
.if defined(INCLUDES)
beforeinstall: ${INCLUDES}
.for INC in ${INCLUDES}

View File

@ -10,12 +10,11 @@ CFLAGS+= -I${KRB4DIR}/include \
-I${KRBOBJDIR} \
-I${KADMOBJDIR}
SRCS= kadm_cli_wrap.c kadm_stream.c kadm_supp.c \
${KADMOBJDIR}/kadm_err.c
${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h \
${KRBOBJDIR}/krb_err.h
INCLUDES= ${KRB4DIR}/lib/kadm/kadm.h ${KADMOBJDIR}/kadm_err.h
.include <bsd.lib.mk>
.PATH: ${KRB4DIR}/lib/kadm
beforedepend all: ${KADMOBJDIR}/kadm_err.h ${KRBOBJDIR}/krb_err.h