File:  [DragonFly] / src / usr.sbin / pcvt / kbdio / Attic / Makefile
Revision 1.2: download - view: text, annotated - select for diffs
Wed Mar 31 20:22:13 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

#	$DragonFly: src/usr.sbin/pcvt/kbdio/Makefile,v 1.2 2004/03/31 20:22:13 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=	kbdio
SRCS=	kbdio.y lex.l y.tab.h

#YACC=	bison
#YFLAGS+= -yd	# Bison only

YFLAGS+= -v	# verbose

LFLAGS+= -I

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

NOMAN=

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

CLEANFILES+= y.output	# comment file from bison

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

.include <bsd.prog.mk>

.endif