X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/95f51977ddc18faa2e212f30c00a39540b39f325..ca67e7b465996afb3821d6a075c4dc6a7f0f5d52:/usr/src/usr.lib/liby/Makefile diff --git a/usr/src/usr.lib/liby/Makefile b/usr/src/usr.lib/liby/Makefile index be1de5e891..0ba3795608 100644 --- a/usr/src/usr.lib/liby/Makefile +++ b/usr/src/usr.lib/liby/Makefile @@ -1,22 +1,42 @@ # -# Copyright (c) 1985 Regents of the University of California. +# 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 5.1 (Berkeley) 8/9/85 +# @(#)Makefile 5.2 (Berkeley) 6/30/87 # -# Make a Yacc library -# -DESTDIR= -CFLAGS=-O +CFLAGS= -O +LIBC= /lib/libc.a +SRCS= libmai.c libzer.c +OBJS= libmai.o libzer.o + +all: liby.a + +liby.a: ${OBJS} + ar cr $@ ${OBJS} -liby.a: libmai.o libzer.o - ar rv liby.a libmai.o libzer.o - ranlib liby.a +clean: FRC + rm -f ${OBJS} core liby.a -install: liby.a - install liby.a ${DESTDIR}/usr/lib/liby.a +depend: FRC + mkdep ${CFLAGS} ${SRCS} + +install: FRC + install -o bin -g bin -m 644 liby.a ${DESTDIR}/usr/lib/liby.a ranlib ${DESTDIR}/usr/lib/liby.a -clean: - rm -f *.o *.a errs +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. + +libmai.o: libmai.c +libzer.o: libzer.c /usr/include/stdio.h + +# IF YOU PUT ANYTHING HERE IT WILL GO AWAY