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