diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1995-09-28 18:23:44 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1995-09-28 18:23:44 +0000 |
| commit | 691cda9ce1aec0bb365c730df13e402ff0b2e940 (patch) | |
| tree | d5d4acb0a971f560036af7df10cec9a3fa4d0ce8 /usr.sbin/pcvt | |
| parent | 2b326c58f606e22a48b39210cf68acc3071e5b61 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pcvt')
| -rw-r--r-- | usr.sbin/pcvt/kbdio/Makefile | 12 | ||||
| -rw-r--r-- | usr.sbin/pcvt/vgaio/Makefile | 9 |
2 files changed, 11 insertions, 10 deletions
diff --git a/usr.sbin/pcvt/kbdio/Makefile b/usr.sbin/pcvt/kbdio/Makefile index 4576c4eae738..c67b3f650e8e 100644 --- a/usr.sbin/pcvt/kbdio/Makefile +++ b/usr.sbin/pcvt/kbdio/Makefile @@ -1,4 +1,3 @@ - .if !exists(${.CURDIR}/../Makefile.inc) error: @echo @@ -11,21 +10,24 @@ error: .else PROG= kbdio -SRCS= kbdio.y lex.l +SRCS= kbdio.c lex.c #YACC= bison #YFLAGS+= -yd # Bison only YFLAGS+= -v # verbose + LFLAGS+= -I + +DPADD= ${LIBM} ${LIBY} ${LIBL} LDADD= -lm -ly -ll NOMAN= NOSHARED= no shared linkage -CFLAGS+= -I ${.CURDIR}/obj -I ${.CURDIR} #-g +CFLAGS+= -I${.CURDIR}/obj -I${.CURDIR} #-g -CLEANFILES+= y.tab.h +CLEANFILES+= kbdio.c lex.c lex.yy.c y.tab.[ch] CLEANFILES+= y.output # comment file from bison install: @@ -33,6 +35,4 @@ install: .include <bsd.prog.mk> -lex.o: y.tab.h lex.l - .endif diff --git a/usr.sbin/pcvt/vgaio/Makefile b/usr.sbin/pcvt/vgaio/Makefile index de3e661ba87b..3991d9d0800f 100644 --- a/usr.sbin/pcvt/vgaio/Makefile +++ b/usr.sbin/pcvt/vgaio/Makefile @@ -1,4 +1,3 @@ - .if !exists(${.CURDIR}/../Makefile.inc) error: @echo @@ -13,19 +12,21 @@ error: PROG= vgaio MAN8= vgaio.${MAN8EXT} -SRCS= vgaio.y lex.l +SRCS= vgaio.c lex.c YACC= yacc #YFLAGS+= -yd # Bison #YFLAGS+= -v # verbose LFLAGS+= -I + +DPADD= ${LIBM} ${LIBY} ${LIBL} LDADD= -lm -ly -ll CFLAGS= -O2 # due to a gcc bug, it compiles only with -O2! -CFLAGS+= -I ${.CURDIR}/obj -I ${.CURDIR} -g +CFLAGS+= -I${.CURDIR}/obj -I${.CURDIR} -g -CLEANFILES+= y.tab.h +CLEANFILES+= lex.c lex.yy.c vgaio.c y.tab.[ch] CLEANFILES+= y.output # comment file from bison install: |
