1*36004Sbostic# 2*36004Sbostic# Copyright (c) 1988 Regents of the University of California. 3*36004Sbostic# All rights reserved. 4*36004Sbostic# 5*36004Sbostic# Redistribution and use in source and binary forms are permitted 6*36004Sbostic# provided that the above copyright notice and this paragraph are 7*36004Sbostic# duplicated in all such forms and that any documentation, advertising 8*36004Sbostic# materials, and other materials related to such redistribution and 9*36004Sbostic# use acknowledge that the software was developed by the University 10*36004Sbostic# of California, Berkeley. The name of the University may not be 11*36004Sbostic# used to endorse or promote products derived from this software 12*36004Sbostic# without specific prior written permission. THIS SOFTWARE IS PROVIDED 13*36004Sbostic# ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 14*36004Sbostic# WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND 15*36004Sbostic# FITNESS FOR A PARTICULAR PURPOSE. 16*36004Sbostic# 17*36004Sbostic# @(#)Makefile 5.1 (Berkeley) 10/21/88 18*36004Sbostic# 19*36004Sbostic 20*36004SbosticCFLAGS= -O 21*36004SbosticLIBC= /lib/libc.a 22*36004SbosticSRCS= script.c 23*36004SbosticOBJS= 24*36004SbosticMAN= script.0 25*36004Sbostic 26*36004Sbosticall: script 27*36004Sbostic 28*36004Sbosticscript: ${LIBC} 29*36004Sbostic ${CC} -o $@ ${CFLAGS} $@.c 30*36004Sbostic 31*36004Sbosticclean: 32*36004Sbostic rm -f ${OBJS} core script 33*36004Sbostic 34*36004Sbosticcleandir: clean 35*36004Sbostic rm -f ${MAN} tags .depend 36*36004Sbostic 37*36004Sbosticdepend: ${SRCS} 38*36004Sbostic mkdep -p ${CFLAGS} ${SRCS} 39*36004Sbostic 40*36004Sbosticinstall: ${MAN} 41*36004Sbostic install -s -o bin -g bin -m 755 script ${DESTDIR}/usr/ucb 42*36004Sbostic install -c -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat1 43*36004Sbostic 44*36004Sbosticlint: ${SRCS} 45*36004Sbostic lint ${CFLAGS} ${SRCS} 46*36004Sbostic 47*36004Sbostictags: ${SRCS} 48*36004Sbostic ctags ${SRCS} 49