Annotation of 43BSD/contrib/sunrpc/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: #      Makefile        1.3     85/02/08
        !             3: #
        !             4: DESTDIR=
        !             5: 
        !             6: SRC=   auth_none.c auth_unix.c authunix_prot.c \
        !             7:        clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c clnt_udp.c \
        !             8:        pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c pmap_rmt.c \
        !             9:        rpc_prot.c \
        !            10:        svc.c svc_auth.c svc_auth_unix.c svc_raw.c svc_simple.c \
        !            11:        svc_tcp.c svc_udp.c xdr.c xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c \
        !            12:        xdr_reference.c xdr_stdio.c
        !            13: 
        !            14: OBJ=   auth_none.o auth_unix.o authunix_prot.o clnt_perror.o clnt_raw.o\
        !            15:        clnt_simple.o clnt_tcp.o clnt_udp.o \
        !            16:        pmap_clnt.o pmap_getmaps.o pmap_getport.o pmap_prot.o pmap_rmt.o \
        !            17:        rpc_prot.o \
        !            18:        svc.o svc_auth.o svc_auth_unix.o svc_raw.o svc_simple.o \
        !            19:        svc_tcp.o svc_udp.o xdr.o xdr_array.o xdr_float.o xdr_mem.o xdr_rec.o \
        !            20:        xdr_reference.o xdr_stdio.o
        !            21: INC=   auth.h auth_unix.h clnt.h pmap_clnt.h\
        !            22:        pmap_prot.h rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h
        !            23: 
        !            24: CFLAGS= -O -I.
        !            25: 
        !            26: .c.o:
        !            27:        ${CC} -p -c ${CFLAGS} $*.c
        !            28:        -ld -X -r $*.o
        !            29:        mv a.out profiled/$*.o
        !            30:        ${CC} ${CFLAGS} -c $*.c
        !            31:        -ld -x -r $*.o
        !            32:        mv a.out $*.o
        !            33: 
        !            34: all: rpclib portmap rpcinfo
        !            35: 
        !            36: portmap: portmap.o
        !            37:        cc $(CFLAGS) portmap.o rpclib -o portmap
        !            38: 
        !            39: rpcinfo: rpcinfo.o
        !            40:        cc $(CFLAGS) rpcinfo.o rpclib -o rpcinfo
        !            41: 
        !            42: rpclib rpclib_p: ${OBJ}
        !            43:        @echo "building profiled rpclib"
        !            44:        @cd profiled; ar cru ../rpclib_p ${OBJ}
        !            45:        @echo "building normal rpclib"
        !            46:        @ar cru rpclib ${OBJ}
        !            47:        ranlib rpclib
        !            48: 
        !            49: install: all
        !            50:        -mkdir ${DESTDIR}/usr/include/rpc && \
        !            51:                chmod 755 ${DESTDIR}/usr/include/rpc
        !            52:        -for i in *.h; do \
        !            53:                (install -c -m 644 $$i ${DESTDIR}/usr/include/rpc) done
        !            54:        install rpclib ${DESTDIR}/usr/new/lib/librpc.a
        !            55:        ranlib ${DESTDIR}/usr/new/lib/librpc.a
        !            56:        install -s portmap ${DESTDIR}/usr/new/portmap
        !            57:        install -s rpcinfo ${DESTDIR}/usr/new/rpcinfo
        !            58:        install -c -m 444 doc/rpcinfo.8 ${DESTDIR}/usr/man/mann/rpcinfo.n
        !            59:        install -c -m 444 doc/portmap.8c ${DESTDIR}/usr/man/mann/portmap.n
        !            60: 
        !            61: tags: $(SRC) $(KSRC) $(INC)
        !            62:        ctags -tw $(SRC) $(KSRC) $(INC)
        !            63: 
        !            64: ref: tags
        !            65:        sed 's, /.*,,' tags | \
        !            66:        awk ' { printf("%-26s%-16s%s\n", $$1, $$2, $$3) }' > ref
        !            67: 
        !            68: lint:
        !            69:        lint -bnuvx $(SRC)
        !            70: 
        !            71: print:
        !            72:        pr $(INC) $(SRC) $(KSRC) | lpr -Pvp
        !            73: 
        !            74: clean:
        !            75:        rm -f $(OBJ) librpc.a linted made profiled/*.o portmap.o rpcinfo.o
        !            76: 
        !            77: depend:
        !            78:        @-grep '^#include' $(SRC) | grep -v '<' | grep -v '../' | \
        !            79:        sed 's/:[^"]*"\([^"]*\)".*/: \1/' | sed 's/\.[cs]:/.o:/' | \
        !            80:        awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
        !            81:                else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
        !            82:                       else rec = rec " " $$2 } } \
        !            83:              END { print rec } ' >> makedep
        !            84:        @echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
        !            85:        @echo '$$r makedep' >>eddep
        !            86:        @echo 'w' >>eddep
        !            87:        @cp Makefile makefile.bak
        !            88:        @ed - Makefile < eddep
        !            89:        @rm eddep makedep makefile.bak
        !            90: 
        !            91: 
        !            92: 
        !            93: # DO NOT DELETE THIS LINE
        !            94: 
        !            95: auth_none.o: types.h xdr.h auth.h
        !            96: auth_unix.o: types.h xdr.h auth.h auth_unix.h
        !            97: authunix_prot.o: types.h xdr.h auth.h auth_unix.h
        !            98: clnt_perror.o: types.h xdr.h auth.h clnt.h rpc_msg.h
        !            99: clnt_raw.o: types.h xdr.h auth.h clnt.h rpc_msg.h
        !           100: clnt_tcp.o: types.h xdr.h auth.h clnt.h rpc_msg.h pmap_clnt.h
        !           101: clnt_udp.o: types.h xdr.h auth.h clnt.h rpc_msg.h pmap_clnt.h
        !           102: pmap_clnt.o: types.h xdr.h auth.h clnt.h rpc_msg.h pmap_prot.h pmap_clnt.h
        !           103: pmap_getmaps.o: types.h xdr.h auth.h clnt.h rpc_msg.h pmap_prot.h pmap_clnt.h
        !           104: pmap_getport.o: types.h xdr.h auth.h clnt.h rpc_msg.h pmap_prot.h pmap_clnt.h
        !           105: pmap_prot.o: types.h xdr.h pmap_prot.h
        !           106: pmap_rmt.o: types.h xdr.h auth.h clnt.h rpc_msg.h pmap_prot.h pmap_clnt.h
        !           107: rpc_prot.o: types.h xdr.h auth.h clnt.h rpc_msg.h
        !           108: svc.o: types.h xdr.h auth.h clnt.h rpc_msg.h svc.h svc_auth.h
        !           109: svc_auth.o: types.h xdr.h auth.h clnt.h rpc_msg.h svc.h svc_auth.h
        !           110: svc_auth_unix.o: types.h xdr.h auth.h clnt.h rpc_msg.h svc.h auth_unix.h
        !           111: svc_auth_unix.o: svc_auth.h
        !           112: svc_raw.o: types.h xdr.h auth.h clnt.h rpc_msg.h svc.h
        !           113: svc_tcp.o: types.h xdr.h auth.h clnt.h rpc_msg.h svc.h
        !           114: svc_udp.o: types.h xdr.h auth.h clnt.h rpc_msg.h svc.h
        !           115: xdr.o: types.h xdr.h
        !           116: xdr_array.o: types.h xdr.h
        !           117: xdr_float.o: types.h xdr.h
        !           118: xdr_mem.o: types.h xdr.h
        !           119: xdr_rec.o: types.h xdr.h
        !           120: xdr_reference.o: types.h xdr.h
        !           121: xdr_stdio.o: types.h xdr.h

unix.superglobalmegacorp.com

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