|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1988 Regents of the University of California. ! 3: # All rights reserved. ! 4: # ! 5: # Redistribution and use in source and binary forms are permitted ! 6: # provided that the above copyright notice and this paragraph are ! 7: # duplicated in all such forms and that any documentation, ! 8: # advertising materials, and other materials related to such ! 9: # distribution and use acknowledge that the software was developed ! 10: # by the University of California, Berkeley. The name of the ! 11: # University may not be used to endorse or promote products derived ! 12: # from this software without specific prior written permission. ! 13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 16: # ! 17: # @(#)Makefile 5.3 (Berkeley) 7/9/88 ! 18: # ! 19: CFLAGS= -O ! 20: LIBC= /lib/libc.a ! 21: SRCS= cpio.c ! 22: OBJS= ! 23: MAN= cpio.0 cpio_format.0 ! 24: ! 25: .SUFFIXES: .5 .1 .0 ! 26: ! 27: .1.0: ! 28: ${DESTDIR}/usr/man/manroff $*.1 > $*.0 ! 29: .5.0: ! 30: ${DESTDIR}/usr/man/manroff $*.5 > $*.0 ! 31: ! 32: all: cpio ! 33: ! 34: cpio: ${LIBC} ! 35: ${CC} -o $@ ${CFLAGS} cpio.c ! 36: ! 37: clean: FRC ! 38: rm -f ${OBJS} ${MAN} core cpio ! 39: ! 40: depend: FRC ! 41: mkdep -p ${CFLAGS} ${SRCS} ! 42: ! 43: install: ${MAN} FRC ! 44: install -s -o bin -g bin -m 755 cpio ${DESTDIR}/bin/cpio ! 45: install -c -o bin -g bin -m 444 cpio.0 ${DESTDIR}/usr/man/cat1/cpio.0 ! 46: install -c -o bin -g bin -m 444 cpio_format.0 ${DESTDIR}/usr/man/cat5/cpio.0 ! 47: ! 48: lint: FRC ! 49: lint ${CFLAGS} ${SRCS} ! 50: ! 51: tags: FRC ! 52: ctags ${SRCS} ! 53: ! 54: FRC: ! 55: ! 56: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 57: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 58: ! 59: cpio: cpio.c /usr/include/errno.h /usr/include/fcntl.h /usr/include/memory.h ! 60: cpio: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h ! 61: cpio: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/varargs.h ! 62: cpio: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h ! 63: cpio: /usr/include/machine/machparam.h /usr/include/machine/endian.h ! 64: cpio: /usr/include/sys/types.h /usr/include/sys/stat.h /usr/include/pwd.h ! 65: ! 66: # 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.