|
|
BSD 4.3tahoe
#
# Copyright (c) 1987 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# @(#)Makefile 4.3 (Berkeley) 6/3/87
#
CFLAGS= -O -w
LIBC= /lib/libc.a
SRCS= sed0.c sed1.c
OBJS= sed0.o sed1.o
all: sed
sed: ${OBJS} ${LIBC}
${CC} -o $@ ${CFLAGS} ${OBJS}
clean: FRC
rm -f ${OBJS} core sed
depend: FRC
mkdep ${CFLAGS} ${SRCS}
install: FRC
install -s -o bin -g bin -m 755 sed ${DESTDIR}/bin/sed
lint: FRC
lint ${CFLAGS} ${SRCS}
tags: FRC
ctags ${SRCS}
FRC:
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
sed0.o: sed0.c /usr/include/sys/param.h /usr/include/sys/types.h
sed0.o: /usr/include/signal.h /usr/include/machine/trap.h
sed0.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
sed0.o: /usr/include/stdio.h sed.h
sed1.o: sed1.c /usr/include/stdio.h sed.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.