17984Srrh# 231424Sbostic# Copyright (c) 1987 Regents of the University of California. 331424Sbostic# All rights reserved. The Berkeley software License Agreement 431424Sbostic# specifies the terms and conditions for redistribution. 531424Sbostic# 6*37777Sbostic# @(#)Makefile 1.7 (Berkeley) 05/10/89 731424Sbostic# 829877SsamCFLAGS= -O -Dunix=1 -DFLEXNAMES 931424SbosticLIBC= /lib/libc.a 10*37777SbosticYYFIX= ../../libexec/pcc/pcc.${MACHINE}/:yyfix 1131424SbosticSRCS= cpp.c cpy.c rodata.c 1231424SbosticOBJS= cpp.o cpy.o rodata.o 137984Srrh 1431424Sbosticall: cpp 157984Srrh 1631424Sbosticcpp: ${OBJS} ${LIBC} 1731424Sbostic ${CC} -o $@ ${CFLAGS} ${OBJS} 1831424Sbostic 1931424Sbosticcpy.c: cpy.y 207984Srrh yacc cpy.y 2129877Ssam ${YYFIX} yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef 227984Srrh mv y.tab.c cpy.c 237984Srrh 2431424Sbosticcpy.o: cpy.c yylex.c 257984Srrh 2631424Sbosticrodata.o: cpy.c 2731424Sbostic ${CC} ${CFLAGS} -R -c rodata.c 287984Srrh 2937052Sbosticclean: 3031424Sbostic rm -f ${OBJS} cpp core cpy.c rodata.c 3131234Sbostic 3237052Sbosticcleandir: clean 3337052Sbostic rm -f ${MAN} tags .depend 3437052Sbostic 3537052Sbosticdepend: ${SRCS} 3631424Sbostic mkdep ${CFLAGS} ${SRCS} 3731424Sbostic 3837052Sbosticinstall: ${MAN} 39*37777Sbostic install -s -o bin -g bin -m 755 cpp ${DESTDIR}/usr/bin 4031424Sbostic 4137052Sbosticlint: ${SRCS} 4231424Sbostic lint ${CFLAGS} ${SRCS} 4331424Sbostic 4437052Sbostictags: ${SRCS} 4531424Sbostic ctags ${SRCS} 46