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

1.1       root        1: ###############################################################################
                      2: #   Instructions to Make, for compilation of ISODE DSAP processes
                      3: ###############################################################################
                      4: 
                      5: ###############################################################################
                      6: #
                      7: # $Header: /f/osi/dsap/RCS/Makefile,v 7.0 89/11/23 21:31:23 mrose Rel $
                      8: #
                      9: #
                     10: # $Log:        Makefile,v $
                     11: # Revision 7.0  89/11/23  21:31:23  mrose
                     12: # Release 6.0
                     13: # 
                     14: ###############################################################################
                     15: 
                     16: ###############################################################################
                     17: #
                     18: #                                NOTICE
                     19: #
                     20: #    Acquisition, use, and distribution of this module and related
                     21: #    materials are subject to the restrictions of a license agreement.
                     22: #    Consult the Preface in the User's Manual for the full terms of
                     23: #    this agreement.
                     24: #
                     25: ###############################################################################
                     26: 
                     27: DIRS   =       x500as common net
                     28: LIBES   =       libcommon.a libnet.a libx500as.a
                     29: LLIBS   =       llib-lcommon llib-lx500as llib-lnet 
                     30: 
                     31: ##################################################################
                     32: # Here it is...
                     33: ##################################################################
                     34: 
                     35: all:           sub-all libdsap
                     36: inst-all:       inst-libdsap inst-dsaptailor inst-oidtable
                     37: 
                     38: parallel:      sub-para libdsap
                     39: 
                     40: sub-para:;     @for i in $(DIRS); do (cd $$i; $(MAKE) PARALLEL=par- all) & done; wait
                     41: 
                     42: install:        inst-all clean
                     43: 
                     44: clean:         sub-clean
                     45:                rm -f lib*.a llib-l* _* *.tmp *.orig *.o z* dsapvrsn.c
                     46: 
                     47: sub-all:
                     48:                @for i in $(DIRS); \
                     49:                    do (echo "cd $$i; $(MAKE) all"; \
                     50:                              cd $$i; $(MAKE) all); \
                     51:                    done
                     52: 
                     53: sub-inst-all:
                     54:                @for i in $(DIRS); \
                     55:                    do (echo "cd $$i; $(MAKE) inst-all"; \
                     56:                              cd $$i; $(MAKE) inst-all); \
                     57:                    done
                     58: 
                     59: sub-clean:
                     60:                @for i in $(DIRS); \
                     61:                    do (echo "cd $$i; $(MAKE) clean"; \
                     62:                              cd $$i; $(MAKE) clean); \
                     63:                    done
                     64: 
                     65: lint grind:
                     66:                @for i in $(DIRS); \
                     67:                    do (echo "cd $$i; $(MAKE) $@"; \
                     68:                              cd $$i; $(MAKE) $@); \
                     69:                    done
                     70: 
                     71: ###################################################################
                     72: # libdsap
                     73: ###################################################################
                     74: 
                     75: inst-libdsap:   $(LIBDIR)libdsap.a $(LINTDIR)llib-ldsap
                     76: 
                     77: $(LIBDIR)libdsap.a:     libdsap.a
                     78:                -rm -f $@
                     79:                cp libdsap.a $@
                     80:                @$(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
                     81:                -@ls -gls $@
                     82:                -@echo ""
                     83: 
                     84: $(LINTDIR)llib-ldsap:   llib-ldsap
                     85:                -cp $@ zllib-ldsap
                     86:                -rm -f $@
                     87:                sed -e 's%#include "\(.*\)"%#include "$(INCDIR)\1"%' \
                     88:                        < llib-ldsap | \
                     89:                        sed -e 's%#include "/usr/include/\(.*\)"%#include <\1>%' > $@
                     90:                @$(UTILDIR)inst-lint.sh $(SYSTEM) $(OPTIONS) $@
                     91:                -@ls -gls $@ [email protected]
                     92:                -@echo ""
                     93: 
                     94: libdsap:        libdsap.a llib-ldsap
                     95: 
                     96: libdsap.a:      dsapvrsn.o
                     97:                -rm -f $@ $(TOPDIR)libdsap.a
                     98:                -rm -rf tmp
                     99:                -mkdir tmp
                    100:                $(LN) dsapvrsn.o tmp
                    101:                for i in $(LIBES); do (cd tmp; ar x ../$$i; \
                    102:                    ../$(UTILDIR)make-lib.sh -quick $(SYSTEM) $(ARFLAGS) ../$@ *.o; \
                    103:                    rm -f *); done
                    104:                $(UTILDIR)make-lib.sh $(SYSTEM) $@ -ranlib
                    105:                -rm -rf tmp
                    106:                -@rm -f $(TOPDIR)libdsap.a
                    107:                -@$(LN) $@ $(TOPDIR)libdsap.a
                    108:                -@ls -l $@
                    109:                -@echo "DSAP library built normally"
                    110: 
                    111: llib-ldsap:     $(LLIBS)
                    112:                -@echo '/* llib-ldsap - lint library for -ldsap */' > $@
                    113:                -@echo '' >> $@
                    114:                cat $(LLIBS) >> $@
                    115:                -@rm -f $(TOPDIR)llib-ldsap
                    116:                -@$(LN) llib-ldsap $(TOPDIR)llib-ldsap
                    117: 
                    118: dsapvrsn.c:     $(LIBES)
                    119:                @$(UTILDIR)version.sh dsap > $@
                    120: 
                    121: 
                    122: ###################################################################
                    123: # dsaptailor/oidtable
                    124: ###################################################################
                    125: 
                    126: inst-dsaptailor:    $(ETCDIR)dsaptailor
                    127: 
                    128: $(ETCDIR)dsaptailor:    dsaptailor
                    129:                -cp $@ zdsaptailor
                    130:                cp dsaptailor $@
                    131:                -@ls -gls $@
                    132:                -@echo ""
                    133: 
                    134: inst-oidtable:  $(ETCDIR)oidtable.at $(ETCDIR)oidtable.gen $(ETCDIR)oidtable.oc
                    135: 
                    136: $(ETCDIR)oidtable.at: oidtable.at oidtable.at.local 
                    137:                -cp $@ zoidtable.at
                    138:                cat oidtable.at oidtable.at.local > $@
                    139:                -@ls -gls $@
                    140:                -@echo ""
                    141: 
                    142: $(ETCDIR)oidtable.gen: oidtable.gen oidtable.gen.local
                    143:                -cp $@ zoidtable.gen
                    144:                cat oidtable.gen oidtable.gen.local > $@
                    145:                -@ls -gls $@
                    146:                -@echo ""
                    147: 
                    148: $(ETCDIR)oidtable.oc: oidtable.oc oidtable.oc.local
                    149:                -cp $@ zoidtable.oc
                    150:                cat oidtable.oc oidtable.oc.local > $@
                    151:                -@ls -gls $@
                    152:                -@echo ""
                    153: 
                    154: 

unix.superglobalmegacorp.com

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