1995-02-05 13:49:25 +00:00
|
|
|
.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}
|
|
|
|
|
1995-09-28 18:23:44 +00:00
|
|
|
SRCS= vgaio.c lex.c
|
1995-02-05 13:49:25 +00:00
|
|
|
YACC= yacc
|
|
|
|
|
|
|
|
#YFLAGS+= -yd # Bison
|
|
|
|
#YFLAGS+= -v # verbose
|
|
|
|
|
|
|
|
LFLAGS+= -I
|
1995-09-28 18:23:44 +00:00
|
|
|
|
|
|
|
DPADD= ${LIBM} ${LIBY} ${LIBL}
|
1995-02-05 13:49:25 +00:00
|
|
|
LDADD= -lm -ly -ll
|
|
|
|
|
1995-05-06 07:07:52 +00:00
|
|
|
CFLAGS= -O2 # due to a gcc bug, it compiles only with -O2!
|
1996-06-24 04:26:21 +00:00
|
|
|
CFLAGS+= -I${.OBJDIR} -I${.CURDIR}
|
1995-02-05 13:49:25 +00:00
|
|
|
|
1995-09-28 18:23:44 +00:00
|
|
|
CLEANFILES+= lex.c lex.yy.c vgaio.c y.tab.[ch]
|
1995-02-05 13:49:25 +00:00
|
|
|
CLEANFILES+= y.output # comment file from bison
|
|
|
|
|
|
|
|
install:
|
1995-05-07 05:56:00 +00:00
|
|
|
@${ECHO} "vgaio is not installed automatically ...."
|
1995-02-05 13:49:25 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.endif
|