File:  [CSRG BSD Unix] / 43BSDTahoe / new / xns / examples / ch / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

# $Header: /var/lib/cvsd/repos/CSRG/43BSDTahoe/new/xns/examples/ch/Makefile,v 1.1.1.1 2018/04/24 16:12:58 root Exp $
#
# $Log: Makefile,v $
# Revision 1.1.1.1  2018/04/24 16:12:58  root
# BSD 4.3tahoe
#
# Revision 1.4  87/01/27  07:11:27  jqj
# Webster version -- make versus make install
# 
# Revision 1.2  87/01/06  17:19:29  ed
# Updated to new directory structure
# 
# 
# 

DESTDIR =
DESTBIN = ${DESTDIR}/usr/new
DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier

BINDIR = ../../bin
LIBDIR = ../../lib
MANDIR = ../../man
INCDIR = ../../include
COURIERDIR = ../../xnscourier

#CFLAGS=	-g -DDEBUG -I${INCDIR}
CFLAGS= -O -I${INCDIR}
RCSREV=
RCSNAME=current
TESTS=enumerate listaddr listaliasof listproperties registerhost

all: ${TESTS}

clean:
	-rm -f ${TESTS} *.o *.BAK *.CKP Cl*.[ch]

rcs:
	rcs -l RCS/*
	cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*

install: all
	install -s -c registerhost ${BINDIR}

# test programs

registerhost.c enumerate.c listaddr.c listaliasof.c listproperties.c: Clearinghouse2_defs.h

Clearinghouse2_defs.h: ../../courierlib/Clearinghouse2_defs.h
	cp ../../courierlib/Clearinghouse2_defs.h .
	cp ../../courierlib/Clearinghouse2.h .

enumerate: enumerate.o
	${CC} -g -o enumerate enumerate.o ${LIBDIR}/libcourier.a

listaddr: listaddr.o
	${CC} -g -o listaddr listaddr.o ${LIBDIR}/libcourier.a

listaliasof: listaliasof.o
	${CC} -g -o listaliasof listaliasof.o  ${LIBDIR}/libcourier.a

listproperties: listproperties.o
	${CC} -g -o listproperties listproperties.o  ${LIBDIR}/libcourier.a

registerhost: registerhost.o
	${CC} -g -o registerhost registerhost.o ${LIBDIR}/libcourier.a


unix.superglobalmegacorp.com

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