|
|
1.1 root 1: # Makefile 4.3 83/07/08
2: #
3: SRCS= client.c bind.c server.c misc.c
4: OBJS= client.o bind.o server.o misc.o
5: CFLAGS= -O -DDEBUG
6: DESTDIR=
7:
8: .c.o:
9: ${CC} -c ${CFLAGS} -p $*.c
10: ld -x -r -o profiled/$*.o $*.o
11: ${CC} -c ${CFLAGS} $*.c
12: ld -x -r $*.o
13: mv a.out $*.o
14:
15: libcr libcr_p: ${OBJS}
16: @echo building profiled libcr
17: @cd profiled; ar cr ../libcr_p ${OBJS}
18: @echo building normal libcr
19: @ar cr libcr ${OBJS}
20:
21: lint: ${SRCS}
22: lint -hux ${SRCS}
23:
24: # beware, the compiler expects courier.h to be in /usr/include
25: install: libcr libcr_p
26: install -c -m 644 courier.h ${DESTDIR}/usr/include/courier.h
27: install -m 644 libcr ${DESTDIR}/usr/new/lib/libcr.a
28: ranlib ${DESTDIR}/usr/new/lib/libcr.a
29: install -m 644 libcr_p ${DESTDIR}/usr/new/lib/libcr_p.a
30: ranlib ${DESTDIR}/usr/new/lib/libcr_p.a
31:
32: clean:
33: -rm -f ${OBJS} profiled/*.o libcr libcr_p
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.