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