File:  [DragonFly] / src / usr.sbin / pcvt / vgaio / Attic / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Wed Mar 31 20:22:14 2004 UTC (10 years, 5 months ago) by cpressey
Branches: MAIN
CVS tags: HEAD, DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Remove `-ly' and `${LIBY}' from our Makefiles.  Linking to liby is not
necessary for any of our programs, as they all supply their own main()
and yyerror() functions.

Also add $DragonFly$ to these files as needed for the commit.

Approved-by: dillon

# $FreeBSD: src/usr.sbin/pcvt/vgaio/Makefile,v 1.12.2.2 2001/07/19 01:45:31 kris Exp $
# $DragonFly: src/usr.sbin/pcvt/vgaio/Makefile,v 1.3 2004/03/31 20:22:14 cpressey Exp $

.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
MAN=	vgaio.8

SRCS=	vgaio.y lex.l y.tab.h
YACC=	yacc

#YFLAGS+= -yd	# Bison
#YFLAGS+= -v	# verbose

LFLAGS+= -I

DPADD=	${LIBM} ${LIBL}
LDADD=	-lm -ll

CFLAGS+= -I${.OBJDIR} -I${.CURDIR}

CLEANFILES+= y.output	# comment file from bison

install:
	@${ECHO} "vgaio is not installed automatically ...."

.include <bsd.prog.mk>

.endif