Annotation of 43BSDReno/contrib/isode-beta/others/quipu/uips/fred/Makefile, revision 1.1

1.1     ! root        1: ###############################################################################
        !             2: #   Instructions to Make, for compilation of ISODE QUIPU White Pages interface
        !             3: ###############################################################################
        !             4: 
        !             5: ###############################################################################
        !             6: #
        !             7: # $Header: /f/osi/others/quipu/uips/fred/RCS/Makefile,v 7.5 90/07/27 08:45:21 mrose Exp $
        !             8: #
        !             9: #
        !            10: # $Log:        Makefile,v $
        !            11: # Revision 7.5  90/07/27  08:45:21  mrose
        !            12: # update
        !            13: # 
        !            14: # Revision 7.4  90/07/09  14:41:09  mrose
        !            15: # sync
        !            16: # 
        !            17: # Revision 7.3  90/03/22  08:36:27  mrose
        !            18: # touch-up
        !            19: # 
        !            20: # Revision 7.2  90/03/15  11:20:43  mrose
        !            21: # quipu-sync
        !            22: # 
        !            23: # Revision 7.1  90/01/11  18:36:18  mrose
        !            24: # real-sync
        !            25: # 
        !            26: # Revision 7.0  89/11/23  22:08:51  mrose
        !            27: # Release 6.0
        !            28: # 
        !            29: ###############################################################################
        !            30: 
        !            31: ###############################################################################
        !            32: #
        !            33: #                                NOTICE
        !            34: #
        !            35: #    Acquisition, use, and distribution of this module and related
        !            36: #    materials are subject to the restrictions of a license agreement.
        !            37: #    Consult the Preface in the User's Manual for the full terms of
        !            38: #    this agreement.
        !            39: #
        !            40: ###############################################################################
        !            41: 
        !            42: 
        !            43: ###############################################################################
        !            44: # Generation Rules for program modules
        !            45: ###############################################################################
        !            46: 
        !            47: .c.o:;         $(CC) $(CFLAGS) -c $*.c
        !            48: 
        !            49: 
        !            50: ###############################################################################
        !            51: # Programs and Libraries
        !            52: ###############################################################################
        !            53: 
        !            54: LIBES  =       $(TOPDIR)libisode.a
        !            55: LLIBS   =      $(TOPDIR)llib-lisode
        !            56: 
        !            57: 
        !            58: ###############################################################################
        !            59: # FILES
        !            60: ###############################################################################
        !            61: 
        !            62: HFILES  =       fred.h
        !            63: CFILES  =       fred.c dispatch.c miscellany.c pipe.c whois.c
        !            64: 
        !            65: 
        !            66: ##############################################################
        !            67: # Here it is...
        !            68: ##############################################################
        !            69: 
        !            70: all:            fred whitepages fredrc ufnrc fredsh
        !            71: inst-all:       inst-fred inst-fredrc inst-ufnrc inst-fredsh inst-fredman \
        !            72:                manuals 
        !            73: # inst-whitepages
        !            74: install:        inst-all clean
        !            75: lint:           l-fred
        !            76: 
        !            77: 
        !            78: ###################################################################
        !            79: # fred
        !            80: ###################################################################
        !            81: 
        !            82: inst-fred:     $(BINDIR)fred
        !            83: 
        !            84: $(BINDIR)fred: xfred
        !            85:                -cp $@ zxfred
        !            86:                -rm -f $@
        !            87:                cp xfred $@
        !            88:                -rm -f $(SBINDIR)in.whitepages
        !            89:                if ln $@ $(SBINDIR)in.whitepages; \
        !            90:                    then exit 0; \
        !            91:                    else cp xfred $(SBINDIR)in.whitepages; \
        !            92:                fi
        !            93:                -@ls -gls $@ $(SBINDIR)in.whitepages
        !            94:                -@echo ""
        !            95: 
        !            96: fred:          xfred
        !            97: 
        !            98: xfred:         fred.o dispatch.o miscellany.o pipe.o socket.o whois.o
        !            99:                $(LDCC) $(LDFLAGS) -o $@ fred.o dispatch.o miscellany.o \
        !           100:                        pipe.o socket.o whois.o \
        !           101:                        $(LIBES) $(LSOCKET)
        !           102: 
        !           103: l-fred:;       $(LINT) $(LFLAGS) fred.c dispatch.c miscellany.c pipe.c \
        !           104:                        ../dish/socket.c whois.c $(LLIBS)
        !           105: 
        !           106: fred.o:                fred.h
        !           107: dispatch.o:    fred.h
        !           108: miscellany.o:  fred.h
        !           109: pipe.o:                fred.h
        !           110: 
        !           111: socket.o:      ../dish/socket.c
        !           112:                $(CC) $(CFLAGS) -c ../dish/socket.c
        !           113: 
        !           114: whois.o:       fred.h
        !           115: 
        !           116: 
        !           117: ###################################################################
        !           118: # fredrc
        !           119: ###################################################################
        !           120: 
        !           121: inst-fredrc:   $(ETCDIR)fredrc
        !           122: 
        !           123: $(ETCDIR)fredrc: true
        !           124:                if [ -s $@ ]; \
        !           125:                    then exit 0; \
        !           126:                    else cp fredrc $@; ls -gls $@; \
        !           127:                fi
        !           128:                if ln $(ETCDIR)fredrc $(ETCDIR)fredrc.old; \
        !           129:                    then rm -f $@ ; cp fredrc $@; ls -gls $@; \
        !           130:                    else exit 0; \
        !           131:                fi
        !           132: 
        !           133: fredrc:
        !           134: 
        !           135: 
        !           136: ###################################################################
        !           137: # ufnrc
        !           138: ###################################################################
        !           139: 
        !           140: inst-ufnrc:    $(ETCDIR)ufnrc
        !           141: 
        !           142: $(ETCDIR)ufnrc: true
        !           143:                if [ -s $@ ]; \
        !           144:                    then exit 0; \
        !           145:                    else cp ufnrc $@; ls -gls $@; \
        !           146:                fi
        !           147:                if ln $(ETCDIR)ufnrc $(ETCDIR)ufnrc.old; \
        !           148:                    then rm -f $@ ; cp ufnrc $@; ls -gls $@; \
        !           149:                    else exit 0; \
        !           150:                fi
        !           151: 
        !           152: ufnrc:
        !           153: 
        !           154: 
        !           155: ###################################################################
        !           156: # fredsh
        !           157: ###################################################################
        !           158: 
        !           159: inst-fredsh:   $(SBINDIR)fredsh
        !           160: 
        !           161: $(SBINDIR)fredsh:      xfredsh Makefile
        !           162:                -cp $@ zxfredsh
        !           163:                -rm -f $@
        !           164:                sed -e 's%@(BINDIR)%$(BINDIR)%' < fredsh.sh > $@
        !           165:                chmod a+rx $@
        !           166:                -@ls -gls $@
        !           167:                -@echo ""
        !           168: 
        !           169: fredsh:                xfredsh
        !           170: 
        !           171: xfredsh:       fredsh.sh
        !           172:                cp fredsh.sh $@
        !           173:                chmod a+rx $@
        !           174: 
        !           175: 
        !           176: ###################################################################
        !           177: # fredman
        !           178: ###################################################################
        !           179: 
        !           180: inst-fredman:  $(ETCDIR)fred.0
        !           181: 
        !           182: $(ETCDIR)fred.0:       fred.1c Makefile
        !           183:                -cp $@ zfred.0
        !           184:                -rm -f $@
        !           185:                (echo '.ds ED $(ETCDIR)' ; cat fred.1c) | \
        !           186:                        nroff -man -Tlpr | \
        !           187:                        tr "\010" "_" | \
        !           188:                        sed -e "/^/s/__//g" > $@
        !           189:                -@ls -gls $@
        !           190:                -@echo ""
        !           191: 
        !           192: 
        !           193: ###################################################################
        !           194: # whitepages
        !           195: ###################################################################
        !           196: 
        !           197: inst-whitepages:       $(BINDIR)whitepages
        !           198: 
        !           199: $(BINDIR)whitepages:   xwhitepages
        !           200:                -cp $@ zxwhitepages
        !           201:                -rm -f $@
        !           202:                cp xwhitepages $@
        !           203:                -@ls -gls $@
        !           204:                -@echo ""
        !           205: 
        !           206: whitepages:    xwhitepages
        !           207: 
        !           208: xwhitepages:   whitepages.sh
        !           209:                cp whitepages.sh $@
        !           210:                chmod a+rx $@
        !           211: 
        !           212: 
        !           213: ################################################################
        !           214: # manual pages
        !           215: ################################################################
        !           216: 
        !           217: MANUALS        =       fred.1c
        !           218: 
        !           219: manuals:;      @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
        !           220:                -@echo ""
        !           221: 
        !           222: 
        !           223: ##############################################################
        !           224: # clean
        !           225: ##############################################################
        !           226: 
        !           227: clean:;         rm -f *.ph *.o *.a a.out _* x* z* *.orig core
        !           228: 
        !           229: grind:;         iprint Makefile whitepages.sh fredsh
        !           230:                tgrind -lc $(HFILES) $(CFILES)
        !           231:                @echo $(MANUALS) | \
        !           232:                        tr " " "\012" | \
        !           233:                        sed -e "s%.*%itroff -man &%" | \
        !           234:                        sh -ve
        !           235: 
        !           236: true:;

unix.superglobalmegacorp.com

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