|
|
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: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
9:
10: ALL= sendmail.hf libsys.a
11: SRCS= sendmail.hf syslog.c
12: LIBOBJS=syslog.o
13:
14: GET= sccs get
15: CCONFIG=m4CONFIG
16: CFLAGS= $O -I../`include' $(CCONFIG)
17: O= -O
18:
19: .c.o:
20: ${CC} -c ${CFLAGS} $*.c
21:
22: all: $(ALL)
23:
24: libsys.a: $(LIBOBJS)
25: ar rv libsys.a $(LIBOBJS)
26: ranlib libsys.a
27:
28: ndir: ${DESTDIR}/tmp
29: cd libndir; make ${MAKEPARAM}
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.