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, 8 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

    1: #	$DragonFly: src/usr.sbin/pcvt/kbdio/Makefile,v 1.2 2004/03/31 20:22:13 cpressey Exp $
    2: 
    3: .if !exists(${.CURDIR}/../Makefile.inc)
    4: error:
    5: 	@echo
    6: 	@echo "                      You MUST link/copy"
    7: 	@echo
    8: 	@echo "       ../Makefile.inc.NetBSD    or   ../Makefile.inc.FreeBSD"
    9: 	@echo
   10: 	@echo "             to ../Makefile.inc before you can proceed !"
   11: 	@echo
   12: .else
   13: 
   14: PROG=	kbdio
   15: SRCS=	kbdio.y lex.l y.tab.h
   16: 
   17: #YACC=	bison
   18: #YFLAGS+= -yd	# Bison only
   19: 
   20: YFLAGS+= -v	# verbose
   21: 
   22: LFLAGS+= -I
   23: 
   24: DPADD=	${LIBM} ${LIBL}
   25: LDADD=	-lm -ll
   26: 
   27: NOMAN=
   28: 
   29: CFLAGS+= -I${.OBJDIR} -I${.CURDIR} #-g
   30: 
   31: CLEANFILES+= y.output	# comment file from bison
   32: 
   33: install:
   34: 	@${ECHO} "kbdio is not installed automatically ...."
   35: 
   36: .include <bsd.prog.mk>
   37: 
   38: .endif