d44e2d4226
happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
27 lines
750 B
Makefile
27 lines
750 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
# $FreeBSD$
|
|
|
|
PROG= rsh
|
|
SRCS= rsh.c
|
|
CFLAGS+=-Wall
|
|
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
|
|
|
|
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
|
|
SRCS+= krcmd.c kcmd.c rcmd_util.c
|
|
CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
|
|
-I${.CURDIR}/../rlogin -I${.CURDIR} -I- \
|
|
-I${.CURDIR}/../../kerberosIV/include \
|
|
-I${.CURDIR}/../../crypto/kerberosIV/include \
|
|
-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
|
|
-I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
|
DPADD= ${LIBUTIL} ${LIBKRB} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR}
|
|
LDADD= -lutil -lkrb -ldes -lcrypt -lcom_err
|
|
DISTRIBUTION= krb4
|
|
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
|
|
.endif
|
|
|
|
BINMODE=4555
|
|
INSTALLFLAGS=-fschg
|
|
|
|
.include <bsd.prog.mk>
|