move localdefs.h to pcc/mip
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 19 Jun 1990 02:58:04 +0000 (18:58 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 19 Jun 1990 02:58:04 +0000 (18:58 -0800)
SCCS-vsn: old/pcc/lint/lpass1/Makefile 5.3
SCCS-vsn: old/pcc/lint/lpass2/Makefile 5.3

usr/src/old/pcc/lint/lpass1/Makefile
usr/src/old/pcc/lint/lpass2/Makefile

index 2bcc296..d4652c6 100644 (file)
@@ -1,11 +1,10 @@
-#      @(#)Makefile    5.2 (Berkeley) %G%
+#      @(#)Makefile    5.3 (Berkeley) %G%
 
 MIP=   ${.CURDIR}/../../../libexec/pcc/mip
 
 MIP=   ${.CURDIR}/../../../libexec/pcc/mip
-CCOM=  ${.CURDIR}/../../../libexec/pcc/ccom.vax
 
 PROG=  lintpass1
 CFLAGS+=-I${MIP} -I. -I${.CURDIR}
 
 PROG=  lintpass1
 CFLAGS+=-I${MIP} -I. -I${.CURDIR}
-.PATH: ${.CURDIR}/.. ${MIP}
+.PATH: ${MIP}
 SRCS=  cgram.c common.c hash.c lint.c optim.c pftn.c rel.c rodata.c scan.c \
        trees.c xdefs.c
 BINDIR=        /usr/libexec
 SRCS=  cgram.c common.c hash.c lint.c optim.c pftn.c rel.c rodata.c scan.c \
        trees.c xdefs.c
 BINDIR=        /usr/libexec
@@ -26,12 +25,12 @@ rodata.c cgram.c: pcclocal.h pcctokens
            yytable yycheck
        mv y.tab.c cgram.c
 
            yytable yycheck
        mv y.tab.c cgram.c
 
-pcclocal.h: ${CCOM}/localdefs.h /usr/include/pcc.h
+pcclocal.h: localdefs.h /usr/include/pcc.h
        cat ${.ALLSRC} | \
           egrep '^#[   ]*(define[      ][      ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
           sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
 
        cat ${.ALLSRC} | \
           egrep '^#[   ]*(define[      ][      ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
           sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
 
-pcctokens: ${CCOM}/localdefs.h /usr/include/pcc.h
+pcctokens: localdefs.h /usr/include/pcc.h
        cat ${.ALLSRC} | \
            egrep '^#[  ]*define[       ][      ]*PCC_' | \
            sed -e 's/^#[       ]*define[       ][      ]*PCC_/%term    /' > \
        cat ${.ALLSRC} | \
            egrep '^#[  ]*define[       ][      ]*PCC_' | \
            sed -e 's/^#[       ]*define[       ][      ]*PCC_/%term    /' > \
index dc9fb7e..87b48b3 100644 (file)
@@ -1,18 +1,18 @@
-#      @(#)Makefile    5.2 (Berkeley) %G%
+#      @(#)Makefile    5.3 (Berkeley) %G%
 
 MIP=   ${.CURDIR}/../../../libexec/pcc/mip
 
 MIP=   ${.CURDIR}/../../../libexec/pcc/mip
-CCOM=  ${.CURDIR}/../../../libexec/pcc/ccom.vax
 
 PROG=  lintpass2
 SRCS=  hash.c lpass2.c
 CFLAGS+=-I${MIP} -I. -I${.CURDIR}/../lpass1
 BINDIR=        /usr/libexec
 
 PROG=  lintpass2
 SRCS=  hash.c lpass2.c
 CFLAGS+=-I${MIP} -I. -I${.CURDIR}/../lpass1
 BINDIR=        /usr/libexec
-.PATH: ${.CURDIR}/../lpass1
+.PATH: ${.CURDIR}/../lpass1 ${MIP}
+CLEANFILES+=pcclocal.h
 NOMAN= noman
 
 .include <bsd.prog.mk>
 
 NOMAN= noman
 
 .include <bsd.prog.mk>
 
-pcclocal.h: ${CCOM}/localdefs.h /usr/include/pcc.h
+pcclocal.h: localdefs.h /usr/include/pcc.h
        cat ${.ALLSRC} | \
           egrep '^#[   ]*(define[      ][      ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
           sed -e 's/PCC[A-Z]*_//' > ${.TARGET}
        cat ${.ALLSRC} | \
           egrep '^#[   ]*(define[      ][      ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | \
           sed -e 's/PCC[A-Z]*_//' > ${.TARGET}