1*fe76a668Sbostic# @(#)Makefile 5.11 (Berkeley) 06/08/90 2d4294cd6Sbostic 3d4294cd6SbosticLIB= I77 42de1d530SbosticSRCS= backspace.c c_dfe.c c_iio.c c_sfe.c close.c dofio.c dolio.c douio.c \ 52de1d530Sbostic due.c endfile.c err.c f77_abort.c f_errlist.c fmt.c fmtlib.c \ 62de1d530Sbostic inquire.c lread.c lwrite.c open.c rdfe.c rdfmt.c rewind.c rfi.c \ 72de1d530Sbostic rsfe.c rsli.c rsnmle.c sue.c util.c wdfe.c wfi.c wrtfmt.c wsfe.c \ 82de1d530Sbostic wsli.c wsnmle.c 97af63c7cSralph 10d4294cd6SbosticLDADD= Version.o 11d4294cd6SbosticCLEANFILES+= Version.c Version.o libI66.o mkvers 127af63c7cSralph 13d4294cd6Sbosticall: Version.o libI66.o 147af63c7cSralph 15d4294cd6SbosticVersion.o: Version.c 16d4294cd6Sbostic ${CC} -c Version.c 177af63c7cSralph 18d4294cd6SbosticVersion.c: mkvers ${SRCS} 19d4294cd6Sbostic mkvers libI77.a ${.ALLSRC:M*.c} > ${.TARGET} 207af63c7cSralph 217af63c7cSralphmkvers: mkvers.c 22d4294cd6Sbostic ${CC} ${CFLAGS} ${.CURDIR}/mkvers.c -o ${.TARGET} 237af63c7cSralph 24d4294cd6Sbosticf_errlist.o f_errlist.po: f_errlist.c 25d4294cd6Sbostic ${CC} ${CFLAGS} -c ${.CURDIR}/f_errlist.c -o ${.TARGET} 267af63c7cSralph 27d4294cd6Sbosticbeforeinstall: 28d4294cd6Sbostic install -o ${BINOWN} -g ${BINGRP} -m ${LIBMODE} libI66.o \ 29d4294cd6Sbostic ${DESTDIR}/usr/lib/libI66.a 302de1d530Sbostic 31d4294cd6Sbostic.include <bsd.lib.mk> 322501cfdcSbostic 33d4294cd6Sbostic.c.o: 34d4294cd6Sbostic ${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} 35d4294cd6Sbostic @${LD} -x -r ${.TARGET} 36d4294cd6Sbostic @mv a.out ${.TARGET} 372de1d530Sbostic 38d4294cd6Sbostic.c.po: 39d4294cd6Sbostic ${CC} -p ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} 40d4294cd6Sbostic @${LD} -x -r ${.TARGET} 41d4294cd6Sbostic @mv a.out ${.TARGET} 42