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

1.1       root        1: ###############################################################################
                      2: #   Instructions to Make, for compilation of ISODE password lookup demo
                      3: ###############################################################################
                      4: 
                      5: ###############################################################################
                      6: #
                      7: # $Header: /f/osi/others/lookup/RCS/Makefile,v 7.1 90/07/01 21:04:24 mrose Exp $
                      8: #
                      9: #
                     10: # $Log:        Makefile,v $
                     11: # Revision 7.1  90/07/01  21:04:24  mrose
                     12: # pepsy
                     13: # 
                     14: # Revision 7.0  89/11/23  22:56:32  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: ###############################################################################
                     32: # Options
                     33: ###############################################################################
                     34: 
                     35: BINDIR =       /usr/new/
                     36: 
                     37: 
                     38: ###############################################################################
                     39: # Generation Rules for program modules
                     40: ###############################################################################
                     41: 
                     42: PEPYPATH=      -DPEPYPATH
                     43: 
                     44: .c.o:;         $(CC) $(CFLAGS) -c $*.c
                     45: 
                     46: 
                     47: ###############################################################################
                     48: # Programs and Libraries
                     49: ###############################################################################
                     50: 
                     51: LIBES  =       $(TOPDIR)libisode.a
                     52: LLIBS   =      $(TOPDIR)llib-lisode
                     53: 
                     54: 
                     55: ###############################################################################
                     56: # Files
                     57: ###############################################################################
                     58: 
                     59: HFILES =       ryinitiator.h ryresponder.h
                     60: CFILES =       lookupd.c lookup.c ryinitiator.c ryresponder.c
                     61: RYFILES        =       lookup.ry
                     62: 
                     63: 
                     64: ##################################################################
                     65: # Here it is...
                     66: ##################################################################
                     67: 
                     68: all:           lookupd lookup
                     69: inst-all:      inst-lookupd inst-lookup manuals
                     70: install:       inst-all clean
                     71: lint:          l-lookupd l-lookup
                     72: 
                     73: 
                     74: ##################################################################
                     75: # lookupd
                     76: ##################################################################
                     77: 
                     78: inst-lookupd:  $(SBINDIR)ros.lookup
                     79: 
                     80: $(SBINDIR)ros.lookup:  lookupd
                     81:                -cp $@ zros.lookup
                     82:                -rm -f $@
                     83:                cp lookupd $@
                     84:                -@ls -gls $@
                     85:                -@echo ""
                     86: 
                     87: lookupd:       lookupd.o PasswordLookup-Rops.o ryresponder.o \
                     88:                PasswordLookup_tables.o
                     89:                $(LDCC) $(LDFLAGS) -o $@ lookupd.o \
                     90:                        PasswordLookup-Rops.o ryresponder.o \
                     91:                        PasswordLookup_tables.o $(LIBES) $(LSOCKET)
                     92: 
                     93: l-lookupd:     PasswordLookup-ops.c LOOKUP-C true
                     94:                $(LINT) $(LFLAGS) -DPERFORMER lookupd.c \
                     95:                        PasswordLookup-ops.c ryresponder.c \
                     96:                        $(LOOKUP-C) $(LLIBS)
                     97: 
                     98: lookupd.o:     ryresponder.h PasswordLookup-ops.h \
                     99:                        PasswordLookup-types.h
                    100: 
                    101: PasswordLookup-Rops.o: PasswordLookup-ops.c PasswordLookup-ops.h
                    102:                $(CC) $(CFLAGS) -DPERFORMER -c PasswordLookup-ops.c
                    103:                mv PasswordLookup-ops.o $@
                    104: 
                    105: ryresponder.o: ryresponder.h
                    106: 
                    107: 
                    108: ##################################################################
                    109: # lookup
                    110: ##################################################################
                    111: 
                    112: inst-lookup:   $(BINDIR)lookup
                    113: 
                    114: $(BINDIR)lookup:       lookup
                    115:                -cp $@ zlookup
                    116:                -rm -f $@
                    117:                cp lookup $@
                    118:                -@ls -gls $@
                    119:                -@echo ""
                    120: 
                    121: lookup:                lookup.o PasswordLookup-Iops.o ryinitiator.o \
                    122:                        PasswordLookup_tables.o
                    123:                $(LDCC) $(LDFLAGS) -o $@ lookup.o PasswordLookup-Iops.o \
                    124:                        ryinitiator.o PasswordLookup_tables.o $(LIBES) \
                    125:                        $(LSOCKET)
                    126: 
                    127: l-lookup:      PasswordLookup-ops.c LOOKUP-C true
                    128:                $(LINT) $(LFLAGS) -DINVOKER lookup.c PasswordLookup-ops.c \
                    129:                        ryinitiator.c $(LOOKUP-C) PasswordLookup-stubs.c \
                    130:                        $(LLIBS)
                    131: 
                    132: lookup.o:      ryinitiator.h PasswordLookup-ops.h PasswordLookup-types.h
                    133: 
                    134: PasswordLookup-Iops.o: PasswordLookup-ops.c PasswordLookup-ops.h
                    135:                $(CC) $(CFLAGS) -DINVOKER -c PasswordLookup-ops.c
                    136:                mv PasswordLookup-ops.o $@
                    137: 
                    138: ryinitiator.o: ryinitiator.h
                    139: 
                    140: 
                    141: ################################################################
                    142: # liblookup
                    143: ################################################################
                    144: 
                    145: PasswordLookup_tables.o: PasswordLookup_tables.c PasswordLookup-types.h
                    146: 
                    147: PasswordLookup_tables.c PasswordLookup-types.h:        PasswordLookup-asn.py \
                    148:                        $(TOPDIR)pepsy/xpepsy
                    149:                $(TOPDIR)pepsy/xpepsy -A -f -h -m PasswordLookup-asn.py
                    150: 
                    151: PasswordLookup-asn.py: lookup.ry $(TOPDIR)rosy/xrosy
                    152:                $(TOPDIR)rosy/xrosy -m -pepsy -o $@ lookup.ry
                    153: PasswordLookup-ops.c:  lookup.ry
                    154: PasswordLookup-ops.h:  lookup.ry
                    155: PasswordLookup-stubs.c:        lookup.ry
                    156: 
                    157: 
                    158: ################################################################
                    159: # manual pages
                    160: ################################################################
                    161: 
                    162: MANUALS        =       lookupd.8c lookup.1c
                    163: 
                    164: manuals:;      @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS)
                    165:                -@echo ""
                    166: 
                    167: 
                    168: ################################################################
                    169: # clean
                    170: ################################################################
                    171: 
                    172: clean:;                rm -f *.o *.a PasswordLookup* LOOKUP* lookupd lookup z* _* core
                    173: 
                    174: grind:;                iprint READ-ME Makefile
                    175:                tgrind -lc $(HFILES) $(CFILES)
                    176:                tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(RYFILES)
                    177:                @echo $(MANUALS) | \
                    178:                        tr " " "\012" | \
                    179:                        sed -e "s%.*%itroff -man &%" | \
                    180:                        sh -ve
                    181: 
                    182: true:;

unix.superglobalmegacorp.com

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