Annotation of 43BSDReno/contrib/isode-beta/tsap/Makefile, revision 1.1.1.1

1.1       root        1: ###############################################################################
                      2: #   Instructions to Make, for compilation of ISODE TSAP processes
                      3: ###############################################################################
                      4: 
                      5: ###############################################################################
                      6: #
                      7: # $Header: /f/osi/tsap/RCS/Makefile,v 7.1 90/07/09 14:51:03 mrose Exp $
                      8: #
                      9: #
                     10: # $Log:        Makefile,v $
                     11: # Revision 7.1  90/07/09  14:51:03  mrose
                     12: # sync
                     13: # 
                     14: # Revision 7.0  89/11/23  22:30:25  mrose
                     15: # Release 6.0
                     16: # 
                     17: ###############################################################################
                     18: 
                     19: ###############################################################################
                     20: #
                     21: #                               NOTICE
                     22: #
                     23: #    Acquisition, use, and distribution of this module and related
                     24: #    materials are subject to the restrictions of a license agreement.
                     25: #    Consult the Preface in the User's Manual for the full terms of
                     26: #    this agreement.
                     27: #
                     28: ###############################################################################
                     29: 
                     30: 
                     31: LIBES  =       libtsap.a $(TOPDIR)libcompat.a
                     32: LLIBS  =       $(TOPDIR)llib-lcompat
                     33: HFILES =       $(HDIR)tsap.h $(HDIR)isoaddrs.h \
                     34:                $(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h
                     35: 
                     36: 
                     37: ##################################################################
                     38: # Here it is...
                     39: ##################################################################
                     40: 
                     41: all:           libtsap
                     42: inst-all:      # inst-libtsap manuals
                     43: install:       inst-all clean
                     44: lint:          l-libtsap
                     45: 
                     46: 
                     47: ################################################################
                     48: # libtsap
                     49: ################################################################
                     50: 
                     51: CFILES =       tsaprovider.c tsaperror.c tsapstate.c \
                     52:                fd2tpkt.c str2tpkt.c text2tpkt.c \
                     53:                tsaprespond.c tsapinitiate.c tsaplose.c \
                     54:                tsaplisten.c tsapmgmt.c tsapmisc.c \
                     55:                tp0ts.c ts2tcp.c ts2x25.c ts2bridge.c \
                     56:                ts2bsd.c ts2sunlink.c $(CTSAP)
                     57: OFILES =       tsaprovider.o tsaperror.o tsapstate.o \
                     58:                fd2tpkt.o str2tpkt.o text2tpkt.o \
                     59:                tsaprespond.o tsapinitiate.o tsaplose.o \
                     60:                tsaplisten.o tsapmgmt.o tsapmisc.o \
                     61:                tp0ts.o ts2tcp.o ts2x25.o ts2bridge.o \
                     62:                ts2bsd.o ts2sunlink.o $(OTSAP) \
                     63:                $(OSTRINGS)
                     64: 
                     65: 
                     66: inst-libtsap:  $(LIBDIR)libtsap.a $(LINTDIR)llib-ltsap
                     67: 
                     68: $(LIBDIR)libtsap.a:    libtsap.a
                     69:                -rm -f $@
                     70:                cp libtsap.a $@
                     71:                @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
                     72:                -@ls -gls $@
                     73:                -@echo ""
                     74: 
                     75: $(LINTDIR)llib-ltsap:  llib-ltsap
                     76:                -cp $@ zllib-ltsap
                     77:                -rm -f $@
                     78:                sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \
                     79:                        < llib-ltsap | \
                     80:                        sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@
                     81:                @$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@
                     82:                -@ls -gls $@ [email protected]
                     83:                -@echo ""
                     84: 
                     85: libtsap:       libtsap.a
                     86: 
                     87: libtsap.a:     tsapvrsn.o
                     88:                -rm -f $@
                     89:                @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \
                     90:                        tsapvrsn.o
                     91:                -@rm -f $(TOPDIR)libtsap.a $(TOPDIR)llib-ltsap
                     92:                -@$(LN) libtsap.a $(TOPDIR)libtsap.a
                     93:                -@$(LN) llib-ltsap $(TOPDIR)llib-ltsap
                     94:                -@ls -l $@
                     95:                -@echo "TSAP library built normally"
                     96: 
                     97: tsapvrsn.c:    $(OFILES)
                     98:                @$(UTILDIR)version.sh tsap > $@
                     99: 
                    100: l-libtsap:;    $(LINT) $(LFLAGS) $(CFILES) tsapvrsn.c $(LLIBS)
                    101: 
                    102: tsaprovider.o: $(HDIR)tpkt.h $(HFILES) $(HDIR)x25.h $(HDIR)isoservent.h \
                    103:                $(HDIR)tailor.h $(HDIR)logger.h $(HDIR)mpkt.h
                    104: tsaperror.o:   $(HFILES)
                    105: tsapstate.o:   $(HDIR)tpkt.h $(HFILES)
                    106: fd2tpkt.o:     $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h
                    107: str2tpkt.o:    $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h
                    108: text2tpkt.o:   $(HDIR)tpkt.h $(HFILES) $(HDIR)logger.h
                    109: tsaprespond.o: $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h
                    110: tsapinitiate.o:        $(HDIR)tpkt.h $(HFILES) $(HDIR)isoservent.h $(HDIR)tailor.h \
                    111:                $(HDIR)logger.h $(HDIR)mpkt.h
                    112: tsaplose.o:    $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h \
                    113:                $(HDIR)mpkt.h
                    114: tsaplisten.o:  $(HDIR)tpkt.h $(HFILES)  $(HDIR)mpkt.h $(HDIR)internet.h \
                    115:                $(HDIR)x25.h $(HDIR)tp4.h
                    116: tsapmgmt.o:    $(HDIR)tpkt.h $(HFILES) $(HDIR)mpkt.h
                    117: tsapmisc.o:    $(HDIR)tpkt.h $(HFILES)
                    118: tp0ts.o:       $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h \
                    119:                $(HDIR)mpkt.h
                    120: ts2tcp.o:      $(HDIR)tpkt.h $(HFILES) $(HDIR)internet.h $(HDIR)tailor.h \
                    121:                $(HDIR)logger.h
                    122: ts2x25.o:      $(HDIR)tpkt.h $(HFILES) $(HDIR)x25.h $(HDIR)tailor.h \
                    123:                $(HDIR)logger.h
                    124: ts2x25.o:      $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h
                    125: ts2bridge.o:   $(HDIR)tpkt.h $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h
                    126: ts2bsd.o:      $(HDIR)tpkt.h $(HFILES) $(HDIR)tp4.h $(HDIR)mpkt.h
                    127: ts2sunlink.o:  $(HDIR)tpkt.h $(HFILES) $(HDIR)tp4.h $(HDIR)mpkt.h
                    128: 
                    129: 
                    130: ################################################################
                    131: # manual pages
                    132: ################################################################
                    133: 
                    134: MANUALS        =       libtsap.3n
                    135: 
                    136: manuals:;      @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
                    137:                -@echo ""
                    138: 
                    139: 
                    140: ################################################################
                    141: # clean
                    142: ################################################################
                    143: 
                    144: clean:;                rm -f *.o *.a z* _* core tsapvrsn.c
                    145: 
                    146: grind:;                iprint Makefile
                    147:                tgrind -lc $(CFILES) tsapvrsn.c llib-ltsap
                    148:                @echo $(MANUALS) | \
                    149:                        tr " " "\012" | \
                    150:                        sed -e "s%.*%itroff -man &%" | \
                    151:                        sh -ve

unix.superglobalmegacorp.com

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