|
|
1.1 root 1: # Makefile 1.12 83/07/03
2: #
3: # DEBUG use local directory to find ddate and dumpdates
4: # TDEBUG trace out the process forking
5: #
6: DESTDIR=
7: AS=/bin/as
8: CC=/bin/cc
9: LD=/bin/ld
10: INCLDIR=${DESTDIR}/usr/include
11: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} DESTDIR=${DESTDIR}
12:
13: SRCS = rtar.c tarrmt.c
14:
15: OBJS = rtar.o tarrmt.o
16:
17: DFLAGS =
18: CFLAGS = -O $(DFLAGS)
19:
20: all: rtar
21:
22: rtar: $(OBJS)
23: $(CC) $(CFLAGS) $(OBJS) -o rtar
24:
25: clean:
26: rm -f rtar.o tarrmt.o
27:
28: cleansrc:
29: rm -f *.[ch] Makefile
30:
31: lint:
32: lint $(DFLAGS) $(SRCS)
33:
34: print:
35: pr $(PSRCS) | lpr
36:
37: $(OBJS): ${INCLDIR}/stdio.h \
38: ${INCLDIR}/sys/param.h \
39: ${INCLDIR}/sys/stat.h \
40: ${INCLDIR}/sys/dir.h \
41: ${INCLDIR}/sys/ioctl.h \
42: ${INCLDIR}/sys/mtio.h \
43: ${INCLDIR}/sys/time.h \
44: ${INCLDIR}/signal.h \
45: ${INCLDIR}/errno.h
46:
47: $(OBJS): ${INCLDIR}/sys/param.h \
48: ${INCLDIR}/sys/mtio.h \
49: ${INCLDIR}/sys/ioctl.h \
50: ${INCLDIR}/netinet/in.h \
51: ${INCLDIR}/stdio.h \
52: ${INCLDIR}/netdb.h
53:
54: $(OBJS): ${INCLDIR}/sys/types.h \
55: ${INCLDIR}/netdb.h \
56: ${INCLDIR}/sys/socket.h \
57: ${INCLDIR}/errno.h \
58: ${INCLDIR}/stdio.h \
59: ${INCLDIR}/netinet/in.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.