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

1.1       root        1: ###############################################################################
                      2: #   Instructions to Make, for compilation of ISODE FTAM processes
                      3: ###############################################################################
                      4: 
                      5: ###############################################################################
                      6: #
                      7: # $Header: /f/osi/ftam/RCS/Makefile,v 7.4 90/07/27 08:44:37 mrose Exp $
                      8: #
                      9: #
                     10: # $Log:        Makefile,v $
                     11: # Revision 7.4  90/07/27  08:44:37  mrose
                     12: # update
                     13: # 
                     14: # Revision 7.3  90/07/09  14:36:30  mrose
                     15: # sync
                     16: # 
                     17: # Revision 7.2  90/07/01  21:02:59  mrose
                     18: # pepsy
                     19: # 
                     20: # Revision 7.1  90/03/06  13:56:31  mrose
                     21: # touch-up
                     22: # 
                     23: # Revision 7.0  89/11/23  21:53:13  mrose
                     24: # Release 6.0
                     25: # 
                     26: ###############################################################################
                     27: 
                     28: ###############################################################################
                     29: #
                     30: #                               NOTICE
                     31: #
                     32: #    Acquisition, use, and distribution of this module and related
                     33: #    materials are subject to the restrictions of a license agreement.
                     34: #    Consult the Preface in the User's Manual for the full terms of
                     35: #    this agreement.
                     36: #
                     37: ###############################################################################
                     38: 
                     39: 
                     40: PEPYPATH=      -DPEPYPATH
                     41: 
                     42: .SUFFIXES:     .py .c .o
                     43: 
                     44: 
                     45: LIBES  =       libftam.a $(TOPDIR)libisode.a
                     46: LLIBS  =       $(TOPDIR)llib-lisode
                     47: HFILES =       $(HDIR)ftam.h \
                     48:                $(HDIR)acsap.h $(HDIR)psap2.h $(HDIR)psap.h $(HDIR)ssap.h \
                     49:                $(HDIR)isoaddrs.h \
                     50:                $(HDIR)manifest.h $(HDIR)general.h $(HDIR)config.h
                     51: HXFILES        =       $(HFILES) $(HDIR)fpkt.h CONT-types.h FADU-types.h \
                     52:                FTAM-types.h 
                     53: 
                     54: 
                     55: ##################################################################
                     56: # Here it is...
                     57: ##################################################################
                     58: 
                     59: all:           libftam
                     60: inst-all:      inst-libftam documents manuals
                     61: install:       inst-all clean
                     62: lint:          l-libftam
                     63: 
                     64: 
                     65: ##################################################################
                     66: # libftam
                     67: ##################################################################
                     68: 
                     69: CFILES =       ftamprovider.c ftamerror.c ftaminitiate.c ftamrespond.c \
                     70:                ftamrelease1.c ftamrelease2.c ftamabort.c ftamgroup1.c \
                     71:                ftamgroup2.c ftamaccess1.c ftamaccess2.c ftambulk.c \
                     72:                ftambulk1.c ftambulk2.c ftamselect.c ftamtrace.c ftamacl.c \
                     73:                ftamattr.c ftambits.c ftamchrg.c ftamconctl.c ftamdiag.c \
                     74:                ftamfaduid.c ftampass.c ftamshare.c ftamlose.c ftamdocument.c \
                     75:                ftamfdf.c
                     76: PYFILES        =       cont.py fadu.py ftam.py
                     77: OFILES =       ftamprovider.o ftamerror.o ftaminitiate.o ftamrespond.o \
                     78:                ftamrelease1.o ftamrelease2.o ftamabort.o ftamgroup1.o \
                     79:                ftamgroup2.o ftamaccess1.o ftamaccess2.o ftambulk.o \
                     80:                ftambulk1.o ftambulk2.o ftamselect.o ftamtrace.o ftamacl.o \
                     81:                ftamattr.o ftambits.o ftamchrg.o ftamconctl.o ftamdiag.o \
                     82:                ftamfaduid.o ftampass.o ftamshare.o ftamlose.o ftamdocument.o \
                     83:                ftamfdf.o \
                     84:                $(OSTRINGS)
                     85: HEADERS        =       CONT.ph CONT-types.h FADU.ph FADU-types.h \
                     86:                FTAM.ph FTAM-types.h
                     87: 
                     88: inst-libftam:  $(LIBDIR)libftam.a inst-headers $(LINTDIR)llib-lftam
                     89: 
                     90: $(LIBDIR)libftam.a:    libftam.a
                     91:                -rm -f $@
                     92:                cp libftam.a $@
                     93:                @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
                     94:                -@ls -gls $@
                     95:                -@echo ""
                     96: 
                     97: $(LINTDIR)llib-lftam:  llib-lftam
                     98:                -cp $@ zllib-lftam
                     99:                -rm -f $@
                    100:                sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \
                    101:                        < llib-lftam | \
                    102:                        sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@
                    103:                @$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@
                    104:                -@ls -gls $@ [email protected]
                    105:                -@echo ""
                    106: 
                    107: inst-headers:; @cd $(TOPDIR)h; $(MAKE) inst-ftam
                    108:                @for h in $(HEADERS); do $(MAKE) TARGET=$$h inst-target; done
                    109: 
                    110: inst-target:   $(PEPSYDIR)$(TARGET)
                    111: 
                    112: $(PEPSYDIR)$(TARGET):  $(TARGET)
                    113:                -cp $@ z$(TARGET)
                    114:                cp $(TARGET) $@
                    115:                -@ls -gls $@
                    116:                -@echo ""
                    117: 
                    118: libftam:       libftam.a true
                    119:                -@rm -f $(TOPDIR)h/CONT*.h $(TOPDIR)h/FADU*.h \
                    120:                        $(TOPDIR)h/FTAM*.h
                    121:                -@$(LN) CONT-types.h $(TOPDIR)h/CONT-types.h
                    122:                -@$(LN) CONT_defs.h $(TOPDIR)h/CONT_defs.h
                    123:                -@$(LN) CONT_pre_defs.h $(TOPDIR)h/CONT_pre_defs.h
                    124:                -@$(LN) FADU-types.h $(TOPDIR)h/FADU-types.h 
                    125:                -@$(LN) FADU_defs.h $(TOPDIR)h/FADU_defs.h 
                    126:                -@$(LN) FADU_pre_defs.h $(TOPDIR)h/FADU_pre_defs.h 
                    127:                -@$(LN) FTAM-types.h $(TOPDIR)h/FTAM-types.h
                    128:                -@$(LN) FTAM_defs.h $(TOPDIR)h/FTAM_defs.h
                    129:                -@$(LN) FTAM_pre_defs.h $(TOPDIR)h/FTAM_pre_defs.h
                    130: 
                    131: libftam.a:     ftamvrsn.o
                    132:                -rm -f $@
                    133:                @$(UTILDIR)make-lib.sh $(SYSTEM) $(ARFLAGS) $@ $(OFILES) \
                    134:                        CONT_tables.o FADU_tables.o FTAM_tables.o ftamvrsn.o
                    135:                -@rm -f $(TOPDIR)libftam.a $(TOPDIR)llib-lftam
                    136:                -@$(LN) libftam.a $(TOPDIR)libftam.a
                    137:                -@$(LN) llib-lftam $(TOPDIR)llib-lftam
                    138:                -@ls -l $@
                    139:                -@echo "FTAM library built normally"
                    140: 
                    141: FTAM_tables.o: FTAM_tables.c FTAM-types.h CONT-types.h FADU-types.h
                    142: 
                    143: FTAM_tables.c FTAM-types.h: ftam.py $(TOPDIR)pepsy/xpepsy
                    144:                $(TOPDIR)pepsy/xpepsy -A -f -h -m ftam.py
                    145: 
                    146: FADU_tables.o: FADU_tables.c FADU-types.h 
                    147: 
                    148: FADU_tables.c FADU-types.h: fadu.py $(TOPDIR)pepsy/xpepsy
                    149:                $(TOPDIR)pepsy/xpepsy -A -f -h -m fadu.py
                    150: 
                    151: CONT_tables.o: CONT_tables.c CONT-types.h 
                    152: 
                    153: CONT_tables.c CONT-types.h: cont.py $(TOPDIR)pepsy/xpepsy
                    154:                $(TOPDIR)pepsy/xpepsy -A -f -h -m cont.py
                    155: 
                    156: 
                    157: ftamvrsn.c:    $(OFILES) CONT_tables.o FADU_tables.o FTAM_tables.o
                    158:                @$(UTILDIR)version.sh ftam > $@
                    159: 
                    160: l-libftam:     CONT_tables.c FADU_tables.c FTAM_tables.c true
                    161:                $(LINT) $(LFLAGS) $(CFILES) CONT_tables.c FADU_tables.c \
                    162:                        FTAM_tables.c ftamvrsn.c $(LLIBS)
                    163: 
                    164: ftamprovider.o:        $(HXFILES)
                    165: ftamerror.o:   $(HFILES)
                    166: ftaminitiate.o:        $(HXFILES)
                    167: ftamrespond.o: $(HXFILES)
                    168: ftamrelease1.o:        $(HXFILES)
                    169: ftamrelease2.o:        $(HXFILES)
                    170: ftamabort.o:   $(HXFILES)
                    171: ftamgroup1.o:  $(HXFILES)
                    172: ftamgroup2.o:  $(HXFILES)
                    173: ftamaccess1.o: $(HXFILES)
                    174: ftamaccess2.o: $(HXFILES)
                    175: ftambulk.o:    $(HXFILES)
                    176: ftambulk1.o:   $(HXFILES)
                    177: ftambulk2.o:   $(HXFILES)
                    178: ftamselect.o:  $(HXFILES)
                    179: ftamtrace.o:   $(HXFILES)
                    180: ftamacl.o:     $(HXFILES)
                    181: ftambits.o:    $(HXFILES)
                    182: ftamattr.o:    $(HXFILES)
                    183: ftamchrg.o:    $(HXFILES)
                    184: ftamconctl.o:  $(HXFILES)
                    185: ftamdiag.o:    $(HXFILES)
                    186: ftamfaduid.o:  $(HXFILES)
                    187: ftampass.o:    $(HXFILES)
                    188: ftamshare.o:   $(HXFILES)
                    189: ftamlose.o:    $(HXFILES)
                    190: ftamdocument.o:        $(HFILES) $(HDIR)tailor.h $(HDIR)logger.h
                    191: ftamfdf.o:     $(HXFILES)
                    192: 
                    193: 
                    194: ################################################################
                    195: # documents
                    196: ################################################################
                    197: 
                    198: documents:     $(ETCDIR)isodocuments
                    199: 
                    200: $(ETCDIR)isodocuments: isodocuments
                    201:                -cp $@ zisodocuments
                    202:                cp isodocuments $@
                    203:                -@ls -gls $@
                    204:                -@echo ""
                    205: 
                    206: 
                    207: ##################################################################
                    208: # manual pages
                    209: ##################################################################
                    210: 
                    211: MANUALS        =       libftam.3n isodocuments.5
                    212: 
                    213: manuals:;      @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
                    214:                -@echo ""
                    215: 
                    216: 
                    217: ##################################################################
                    218: # clean
                    219: ##################################################################
                    220: 
                    221: clean:;                rm -f *.o *.a *.ph CONT* FADU* FTAM* z* _* core  \
                    222:                        ftamvrsn.c \
                    223:                        $(TOPDIR)h/CONT*.h $(TOPDIR)h/FADU*.h \
                    224:                        $(TOPDIR)h/FTAM*.h
                    225: 
                    226: grind:;                iprint Makefile isodocuments
                    227:                tgrind -lc $(CFILES) ftamvrsn.c llib-lftam
                    228:                tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(PYFILES)
                    229:                @echo $(MANUALS) | \
                    230:                        tr " " "\012" | \
                    231:                        sed -e "s%.*%itroff -man &%" | \
                    232:                        sh -ve
                    233: 
                    234: true:;

unix.superglobalmegacorp.com

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