Annotation of 43BSDTahoe/new/xns/morexnslib/ch/Makefile, revision 1.1

1.1     ! root        1: # $Header: Makefile,v 2.6 87/05/11 16:38:05 ed Exp $
        !             2: #
        !             3: # $Log:        Makefile,v $
        !             4: # Revision 2.6  87/05/11  16:38:05  ed
        !             5: # Added CHretrieve.c
        !             6: # 
        !             7: # Revision 2.5  87/01/27  08:04:34  jqj
        !             8: # if xnsbfs fails to find a CHS, then bomb
        !             9: # 
        !            10: # Revision 2.4  87/01/27  07:15:12  jqj
        !            11: # Webster changes for new directory structure -- make versus make install
        !            12: # 
        !            13: DESTDIR =
        !            14: DESTBIN = ${DESTDIR}/usr/new
        !            15: DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier
        !            16: 
        !            17: CHDEFAULT = 
        !            18: 
        !            19: BINDIR = ../../bin
        !            20: LIBDIR = ../../lib
        !            21: MANDIR = ../../man
        !            22: INCDIR = ../../include
        !            23: COURIERDIR = ../../xnscourier
        !            24: 
        !            25: #CFLAGS=       -g -DDEBUG -I${INCDIR}
        !            26: CFLAGS= -O -I${INCDIR}
        !            27: OUT=${LIBDIR}/libcourier.a
        !            28: OUT_P=${LIBDIR}/libcourier_p.a
        !            29: SRCS= CHlookup.c CHenumerate.c CHenumalias.c CHstrtoname.c CHdefault.c \
        !            30:        CHusername.c CHretrieve.c
        !            31: OBJS= CHlookup.o CHenumerate.o CHenumalias.o CHstrtoname.o CHdefault.o \
        !            32:        CHusername.o CHretrieve.o
        !            33: RCSREV=
        !            34: RCSNAME=current
        !            35: 
        !            36: .c.o:
        !            37:        ${CC} -c ${CFLAGS} -p $*.c -I${INCDIR}/xnscourier
        !            38:        mv $*.o profiled/$*.o
        !            39:        ${CC} -c ${CFLAGS} $*.c -I${INCDIR}/xnscourier
        !            40: 
        !            41: install: ${OBJS} CH.default clearinghouse.addresses
        !            42:        ar rv ${OUT} ${OBJS}
        !            43:        cd profiled; ar rv ../${OUT_P} ${OBJS}
        !            44:        ranlib ${OUT} ${OUT_P}
        !            45:        rm -rf ${INCDIR}/xnscourier/CH.h \
        !            46:                ${COURIERDIR}/CH.addrs  ${COURIERDIR}/CH.default
        !            47:        cp CH.h ${INCDIR}/xnscourier    
        !            48:        cp clearinghouse.addresses ${COURIERDIR}/CH.addrs
        !            49:        cp CH.default ${COURIERDIR}
        !            50:        chmod 644 ${INCDIR}/xnscourier/CH.h \
        !            51:                ${COURIERDIR}/CH.addrs ${COURIERDIR}/CH.default
        !            52: 
        !            53: all:   ${OBJS} ${TESTS}
        !            54: 
        !            55: lint:  ${SRCS}
        !            56:        lint -hux ${SRCS}
        !            57: 
        !            58: tags:  ${SRCS}
        !            59:        ctags ${SRCS}
        !            60: 
        !            61: clean:
        !            62:        -rm -f CH.default clearinghouse.addresses \
        !            63:                Clearinghouse2.h Clearinghouse2_defs.h \
        !            64:                *.BAK *.CKP *.o profiled/*.o
        !            65: 
        !            66: CHlookup.o CHdefault.o CHenumerate.o CHenumalias.o: Clearinghouse2_defs.h
        !            67: 
        !            68: CHlookup.o: CHlookup.c
        !            69:        ${CC} -c -p ${CFLAGS} -D'BFS="${DESTBIN}/xnsbfs"' \
        !            70:                CHlookup.c
        !            71:        mv CHlookup.o profiled/CHlookup.o
        !            72:        ${CC} -c ${CFLAGS} -D'BFS="${DESTBIN}/xnsbfs"' \
        !            73:                CHlookup.c
        !            74: 
        !            75: CHdefault.o: CHdefault.c
        !            76:        ${CC} -c -p ${CFLAGS} \
        !            77:                -D'CHADDRS="${DESTCOURIER}/CH.addrs"' \
        !            78:                -D'CHDEFPATH="${DESTCOURIER}/CH.default"' \
        !            79:                CHdefault.c
        !            80:        mv CHdefault.o profiled/CHdefault.o
        !            81:        ${CC} -c ${CFLAGS} \
        !            82:                -D'CHADDRS="${DESTCOURIER}/CH.addrs"' \
        !            83:                -D'CHDEFPATH="${DESTCOURIER}/CH.default"' \
        !            84:                CHdefault.c
        !            85: 
        !            86: Clearinghouse2_defs.h: ../../courierlib/Clearinghouse2_defs.h
        !            87:        cp ../../courierlib/Clearinghouse2_defs.h .
        !            88: 
        !            89: CH.default:
        !            90:        @echo if \"${CHDEFAULT}\" is not the local domain:organization
        !            91:        @echo edit Makefile to change CHDEFAULT and rerun make
        !            92:        echo "${CHDEFAULT}" | cat CH.stencil - > CH.default
        !            93: 
        !            94: clearinghouse.addresses:
        !            95:        ${BINDIR}/xnsbfs > clearinghouse.addresses
        !            96:        (test -s clearinghouse.addresses || \
        !            97:                echo ERROR: no local CH found. Edit clearinghouse.addresses and rerun make)
        !            98:        test -s clearinghouse.addresses
        !            99: 
        !           100: rcs:
        !           101:        rcs -l RCS/*
        !           102:        cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*

unix.superglobalmegacorp.com

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