File:  [CSRG BSD Unix] / 43BSD / contrib / courier / lib / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#	Makefile	4.3	83/07/08
#
SRCS=	client.c bind.c server.c misc.c
OBJS=	client.o bind.o server.o misc.o
CFLAGS=	-O -DDEBUG
DESTDIR=

.c.o:
	${CC} -c ${CFLAGS} -p $*.c
	ld -x -r -o profiled/$*.o $*.o
	${CC} -c ${CFLAGS} $*.c
	ld -x -r $*.o
	mv a.out $*.o

libcr libcr_p: ${OBJS}
	@echo building profiled libcr
	@cd profiled; ar cr ../libcr_p ${OBJS}
	@echo building normal libcr
	@ar cr libcr ${OBJS}

lint:	${SRCS}
	lint -hux ${SRCS}

# beware, the compiler expects courier.h to be in /usr/include
install: libcr libcr_p
	install -c -m 644 courier.h ${DESTDIR}/usr/include/courier.h
	install -m 644 libcr ${DESTDIR}/usr/new/lib/libcr.a
	ranlib ${DESTDIR}/usr/new/lib/libcr.a
	install -m 644 libcr_p ${DESTDIR}/usr/new/lib/libcr_p.a
	ranlib ${DESTDIR}/usr/new/lib/libcr_p.a

clean:
	-rm -f ${OBJS} profiled/*.o libcr libcr_p

unix.superglobalmegacorp.com

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