|
|
1.1 root 1: #
2: # Makefile for Sendmail library
3: #
4: # @(#)Makefile.m4 4.1 7/25/83
5: #
6: # define(m4SCCS)dnl
7:
8:
9: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
10:
11: ALL= sendmail.hf libsys.a
12: SRCS= sendmail.hf syslog.c
13: LIBOBJS=syslog.o
14:
15: GET= sccs get
16: CCONFIG=-DVMUNIX
17: CFLAGS= $O -I../include $(CCONFIG)
18: O= -O
19:
20: .c.o:
21: ${CC} -c ${CFLAGS} $*.c
22:
23: all: $(ALL)
24:
25: libsys.a: $(LIBOBJS)
26: ar rv libsys.a $(LIBOBJS)
27: ranlib libsys.a
28:
29: ndir: ${DESTDIR}/tmp
30: cd libndir; make ${MAKEPARAM}
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.