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

1.1       root        1: ###############################################################################
                      2: #   Instructions to Make, for compilation of the ISODE callback demo
                      3: ###############################################################################
                      4: 
                      5: ###############################################################################
                      6: #
                      7: # $Header: /f/osi/others/callback/RCS/Makefile,v 7.0 89/11/23 21:58:09 mrose Rel $
                      8: #
                      9: #
                     10: # $Log:        Makefile,v $
                     11: # Revision 7.0  89/11/23  21:58:09  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: 
                     28: ###############################################################################
                     29: # Options
                     30: ###############################################################################
                     31: 
                     32: BINDIR =       /usr/new/
                     33: 
                     34: 
                     35: ###############################################################################
                     36: # Generation Rules for program modules
                     37: ###############################################################################
                     38: 
                     39: .c.o:;         $(CC) $(CFLAGS) -c $*.c
                     40: 
                     41: 
                     42: ###############################################################################
                     43: # Programs and Libraries
                     44: ###############################################################################
                     45: 
                     46: LIBES  =       $(TOPDIR)libisode.a
                     47: LLIBS   =      $(TOPDIR)llib-lisode
                     48: 
                     49: 
                     50: ###############################################################################
                     51: # Files
                     52: ###############################################################################
                     53: 
                     54: HFILES =       callback.h
                     55: CFILES =       initiator.c responder.c report.c
                     56: 
                     57: 
                     58: ##################################################################
                     59: # Here it is...
                     60: ##################################################################
                     61: 
                     62: all:           initiator responder
                     63: inst-all:      inst-initiator inst-responder
                     64: install:       inst-all clean
                     65: lint:          l-initiator l-responder
                     66: 
                     67: 
                     68: ##################################################################
                     69: # initiator
                     70: ##################################################################
                     71: 
                     72: inst-initiator:        $(BINDIR)callback
                     73: 
                     74: $(BINDIR)callback:     xinitiator
                     75:                -cp $@ zcallback
                     76:                -rm -f $@
                     77:                cp xinitiator $@
                     78:                -@ls -gls $@
                     79:                -@echo ""
                     80: 
                     81: initiator:     xinitiator
                     82: 
                     83: xinitiator:    initiator.o report.o
                     84:                $(LDCC) $(LDFLAGS) -o $@ initiator.o report.o $(LIBES) \
                     85:                        $(LSOCKET)
                     86: 
                     87: l-initiator:;  $(LINT) $(LFLAGS) initiator.c report.c $(LLIBS)
                     88: 
                     89: initiator.o:   $(HFILES)
                     90: 
                     91: 
                     92: ##################################################################
                     93: # responder
                     94: ##################################################################
                     95: 
                     96: inst-responder:        $(SBINDIR)iso.callback
                     97: 
                     98: $(SBINDIR)iso.callback:        xresponder
                     99:                -cp $@ ziso.callback
                    100:                -rm -f $@
                    101:                cp xresponder $@
                    102:                -@ls -gls $@
                    103:                -@echo ""
                    104: 
                    105: responder:     xresponder
                    106: 
                    107: xresponder:    responder.o report.o
                    108:                $(LDCC) $(LDFLAGS)  -o $@ responder.o report.o $(LIBES) \
                    109:                        $(LSOCKET)
                    110: 
                    111: l-responder:;  $(LINT) $(LFLAGS) responder.c report.c $(LLIBS)
                    112: 
                    113: 
                    114: responder.o:   $(HFILES)
                    115: 
                    116: 
                    117: ##################################################################
                    118: # clean
                    119: ##################################################################
                    120: 
                    121: clean:;                rm -f *.o x* z* _* core 
                    122: 
                    123: grind:;                iprint Makefile
                    124:                tgrind -lc $(HFILES) $(CFILES)
                    125: 
                    126: true:;

unix.superglobalmegacorp.com

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