freebsd-skq/usr.sbin/pcvt/vgaio/Makefile
jkh 8eb37231d4 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00

38 lines
733 B
Makefile

.if !exists(${.CURDIR}/../Makefile.inc)
error:
@echo
@echo " You MUST link/copy"
@echo
@echo " ../Makefile.inc.NetBSD or ../Makefile.inc.FreeBSD"
@echo
@echo " to ../Makefile.inc before you can proceed !"
@echo
.else
PROG= vgaio
MAN8= vgaio.${MAN8EXT}
SRCS= vgaio.c lex.c
YACC= yacc
#YFLAGS+= -yd # Bison
#YFLAGS+= -v # verbose
LFLAGS+= -I
DPADD= ${LIBM} ${LIBY} ${LIBL}
LDADD= -lm -ly -ll
CFLAGS= -O2 # due to a gcc bug, it compiles only with -O2!
CFLAGS+= -I${.OBJDIR} -I${.CURDIR}
CLEANFILES+= lex.c lex.yy.c vgaio.c y.tab.[ch]
CLEANFILES+= y.output # comment file from bison
install:
@${ECHO} "vgaio is not installed automatically ...."
.include <bsd.prog.mk>
.endif