|
|
1.1 root 1: #
2: # Copyright (c) 1987 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 1.11 (Berkeley) 6/22/90
18: #
19:
20: DESTDIR=
21: COPTS= -DSTANDALONE -I../../sys -I../..
22: CFLAGS= -O ${COPTS}
23: RELOC= 800
24: LDTOPT= -T ${RELOC} -e _entry -x
25: SRCS= cmd.c cons.c config.c correct.c delete.c disklabel.c exercise.c help.c \
26: format.c info.c io.c list.c maps.c proc_cmd.c profile.c relocate.c \
27: reset.c smd.c smd_e.c start.c status.c util.c vdfmt.c verify.c
28: OBJS= cmd.o cons.o config.o correct.o delete.o disklabel.o exercise.o help.o \
29: format.o info.o io.o list.o maps.o proc_cmd.o profile.o relocate.o \
30: reset.o smd.o smd_e.o start.o status.o util.o vdfmt.o verify.o
31: ALL= vdformat
32: MAN= vdformat.0
33:
34: all: ${ALL}
35:
36: vdformat: ${OBJS} ../srt0.o ../libsa.a
37: ld -o vdformat ${LDTOPT} ../srt0.o ${OBJS} ../libsa.a -lc
38:
39: clean:
40: rm -f ${OBJS} ${ALL} a.out core t.c errs
41:
42: cleandir: clean
43: rm -f ${MAN} tags .depend
44:
45: ../srt0.o:
46: @(cd ..; make srt0.o)
47:
48: ../libsa.a:
49: @(cd ..; make libsa.a)
50:
51: install: ${MAN}
52: install -o bin -g bin -m 644 vdformat ${DESTDIR}/stand/vdformat
53: install -o bin -g bin -m 444 ${MAN} ${DESTDIR}/usr/man/cat8/tahoe
54:
55: depend: ${SRCS}
56: mkdep ${COPTS} ${SRCS}
57:
58: tags: ${SRCS}
59: ctags ${SRCS}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.