|
|
1.1 root 1: #
2: # Copyright (c) 1987 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 7.3 (modified) (Berkeley) 6/2/87
7: #
8: # Build a version of newfs that constructs old format file systems.
9: # Not installed by default.
10: #
11: CFLAGS= -O -I.
12: LIBC= /lib/libc.a
13: SRCS= newfs.c mkfs.c
14: OBJS= newfs.o mkfs.o
15:
16: all: onewfs
17:
18: onewfs: ${OBJS} ${LIBC}
19: ${CC} ${CFLAGS} -o $@ ${OBJS}
20:
21: clean: FRC
22: rm -f ${OBJS} core onewfs
23:
24: depend: FRC
25: mkdep ${CFLAGS} ${SRCS}
26:
27: install: FRC
28: install -s -o bin -g bin -m 755 onewfs ${DESTDIR}/etc/onewfs
29:
30: lint: FRC
31: lint ${CFLAGS} ${SRCS}
32:
33: tags: FRC
34: ctags ${SRCS}
35:
36: FRC:
37:
38: # DO NOT DELETE THIS LINE -- mkdep uses it.
39: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
40:
41: newfs.o: newfs.c /usr/include/sys/param.h /usr/include/sys/types.h
42: newfs.o: /usr/include/signal.h /usr/include/machine/trap.h
43: newfs.o: /usr/include/machine/machparam.h /usr/include/machine/endian.h
44: newfs.o: /usr/include/sys/stat.h sys/fs.h /usr/include/sys/dir.h
45: newfs.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
46: newfs.o: /usr/include/sys/ttydefaults.h /usr/include/sys/ttydev.h
47: newfs.o: /usr/include/sys/disklabel.h /usr/include/sys/file.h
48: newfs.o: /usr/include/stdio.h /usr/include/ctype.h
49: mkfs.o: mkfs.c /usr/include/stdio.h /usr/include/a.out.h
50: mkfs.o: /usr/include/sys/exec.h /usr/include/sys/param.h
51: mkfs.o: /usr/include/sys/types.h /usr/include/signal.h
52: mkfs.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
53: mkfs.o: /usr/include/machine/endian.h /usr/include/sys/inode.h sys/fs.h
54: mkfs.o: /usr/include/sys/dir.h /usr/include/sys/disklabel.h
55:
56: # 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.