|
|
1.1 root 1: #
2: # Makefile for Sendmail library
3: #
4: # @(#)Makefile.m4 4.1 7/25/83
5: #
6: include(../md/config.m4)dnl
7:
8: ALL= sendmail.hf libsys.a
9: SRCS= sendmail.hf syslog.c
10: LIBOBJS=syslog.o
11:
12: GET= sccs get
13: CCONFIG=m4CONFIG
14: CFLAGS= $O -I../`include' $(CCONFIG) -DEBUG
15: O= -O
16: ASMSED= ../`include'/asm.sed
17:
18: .c.o:
19: cc -S ${CFLAGS} $*.c
20: sed -f $(ASMSED) $*.s | as -o $*.o
21: rm -f $*.s
22:
23: all: $(ALL)
24:
25: libsys.a: $(LIBOBJS)
26: ar rv libsys.a $(LIBOBJS)
27: ranlib libsys.a
28:
29: ndir: /tmp
30: cd libndir; make
31: ar rv libsys.a libndir/*.o
32: ranlib libsys.a
33: rm -f ../`include'/dir.h
34: cp libndir/dir.h ../`include'
35:
36: sources: $(SRCS)
37:
38: $(SRCS):
39: $(GET) $(REL) SCCS/s.$@
40:
41: clean:
42: rm -f libsys.a core a.out
43: rm -f *.o libndir/*.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.