Simplified by using new yacc rules and by not generating y.tab.h.

This commit is contained in:
Bruce Evans 1998-05-04 18:20:18 +00:00
parent 6b40d3ae8b
commit ef87dd8703

View File

@ -1,18 +1,17 @@
# @(#)Makefile 8.2 (Berkeley) 4/4/94 # @(#)Makefile 8.2 (Berkeley) 4/4/94
# $Id: Makefile,v 1.22 1997/04/29 12:42:07 davidn Exp $ # $Id: Makefile,v 1.23 1997/10/05 09:39:27 jkh Exp $
PROG= ftpd PROG= ftpd
MAN8= ftpd.8 MAN8= ftpd.8
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c
CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall \ CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall \
-I${.CURDIR}/../../contrib-crypto/telnet -I${.CURDIR}/../../contrib-crypto/telnet
YFLAGS=
LDADD= -lskey -lmd -lcrypt -lutil LDADD= -lskey -lmd -lcrypt -lutil
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL} DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
CLEANFILES+=ftpcmd.c y.tab.h
.ifdef FTPD_INTERNAL_LS .ifdef FTPD_INTERNAL_LS
LSDIR= ../../bin/ls LSDIR= ../../bin/ls
.PATH: ${.CURDIR}/${LSDIR} .PATH: ${.CURDIR}/${LSDIR}