File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / usr.lib / sendmail / lib / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

#
#  Makefile for Sendmail library
#
#	@(#)Makefile.m4	4.1		7/25/83
#
# define(m4SCCS)dnl


MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}

ALL=	sendmail.hf libsys.a
SRCS=	sendmail.hf syslog.c
LIBOBJS=syslog.o

GET=	sccs get
CCONFIG=-DVMUNIX
CFLAGS=	$O -I../include $(CCONFIG)
O=	-O

.c.o:
	${CC} -c ${CFLAGS} $*.c

all: $(ALL)

libsys.a: $(LIBOBJS)
	ar rv libsys.a $(LIBOBJS)
	ranlib libsys.a

ndir: ${DESTDIR}/tmp
	cd libndir; make ${MAKEPARAM}
	ar rv libsys.a libndir/*.o
	ranlib libsys.a
	rm -f ../include/dir.h
	cp libndir/dir.h ../include

sources: $(SRCS)

$(SRCS):
	$(GET) $(REL) SCCS/s.$@

clean:
	rm -f libsys.a core a.out
	rm -f *.o libndir/*.o

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.