Annotation of 43BSD/ingres/source/monitor/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #  Makefile for tty monitor
                      3: #
                      4: #      @(#)Makefile    8.3     4/22/86
                      5: #
                      6: 
                      7: INGRES=        ../..
                      8: LIB=   $(INGRES)/lib
                      9: H=     ../h
                     10: 
                     11: CTLMOD=        $(LIB)/ctlmod
                     12: IUTIL= $(LIB)/iutil
                     13: GUTIL= $(LIB)/gutil
                     14: LIBS=  $(CTLMOD) $(IUTIL) $(GUTIL)
                     15: 
                     16: OBJS=  ttymon.o monitor.o clear.o edit.o go.o trapquery.o \
                     17:        print.o quit.o shell.o eval.o writeout.o xwait.o \
                     18:        clrline.o prompt.o getch.o branch.o newdirec.o \
                     19:        include.o getfilenm.o expr.o mcall.o mac.o buf.o \
                     20:        syscntrl.o
                     21: SRCS1= ttymon.c monitor.c clear.c edit.c go.c trapquery.c \
                     22:        print.c quit.c shell.c eval.c writeout.c xwait.c \
                     23:        clrline.c prompt.c getch.c branch.c newdirec.c \
                     24:        include.c getfilenm.c expr.c mcall.c mac.c buf.c \
                     25:        syscntrl.c 
                     26: HDRS=  buf.h monitor.h
                     27: SRCS=  $(SRCS1) $(HDRS)
                     28: 
                     29: CFLAGS=        -I$H -O -I../ctlmod
                     30: LINTFLAGS= -huc -I$H -I../ctlmod
                     31: LDFLAGS=
                     32: BIN=   $(INGRES)/bin
                     33: GET=   sccs get
                     34: REL=
                     35: LINT=  lint
                     36: AR=    -ar
                     37: ARFLAGS=rvu
                     38: RANLIB=        ranlib
                     39: PR=    print
                     40: VGRIND=        csh /usr/ucb/vgrind
                     41: HEADER=        Terminal Monitor
                     42: CP=    cp
                     43: CHMOD= chmod
                     44: LIBMODE=664
                     45: BINMODE=751
                     46: ROMODE=        444
                     47: 
                     48: monlib: $(OBJS)
                     49:        $(AR) $(ARFLAGS) monlib $?
                     50:        $(CHMOD) $(LIBMODE) monlib
                     51:        $(RANLIB) monlib
                     52: 
                     53: install: $(LIB)/monitor
                     54: 
                     55: $(LIB)/monitor: monlib
                     56:        $(CP) monlib $(LIB)/monitor
                     57:        $(RANLIB) $(LIB)/monitor
                     58: 
                     59: new:
                     60:        rm -f monlib
                     61: 
                     62: clean:
                     63:        rm -f a.out monlib core
                     64:        rm -f *.o
                     65: 
                     66: sources: $(SRCS)
                     67: 
                     68: $(SRCS):
                     69:        $(GET) $(REL) $@
                     70: 
                     71: lint:
                     72:        $(LINT) $(LINTFLAGS) $(SRCS1)
                     73: 
                     74: print: sources
                     75:        $(PR) Makefile TraceFlags *.[hm] *.[csy]
                     76: 
                     77: vgrind: sources
                     78:        cp /dev/null index
                     79:        $(VGRIND) -h "$(HEADER) (Release 8)" -n Makefile TraceFlags
                     80:        $(VGRIND) -h "$(HEADER) (Release 8)" *.[hm] *.[csy]
                     81:        sed /SCCSID/d < index > tmp
                     82:        mv tmp index
                     83:        $(VGRIND) -h "$(HEADER) (Release 8)" -x index
                     84: 
                     85: config.c: ../conf/SCCS/s.monitor.c
                     86:        rm -f config.c
                     87:        $(GET) $(REL) -p ../conf/SCCS/s.monitor.c > config.c
                     88:        $(CHMOD) $(ROMODE) config.c
                     89: 
                     90: tags: sources
                     91:        -fgrep ../ tags > othertags
                     92:        ctags  $(SRCS) $(HDRS)
                     93:        sort -o tags tags othertags
                     94:        -rm -f othertags
                     95: 
                     96: #
                     97: # DANGER       DANGER  DANGER  DANGER  DANGER  DANGER
                     98: # The following two entries should NOT be executed by the user.
                     99: # These entries are only for the Makefile in conf to construct
                    100: # the system tag files.
                    101: #
                    102: systags: 
                    103:        ctags $(SRCS) $(HDRS)
                    104:        sed "s/ /       monitor\//" tags > systags
                    105:        cat systags >> ../tags
                    106: 
                    107: #
                    108: # We assume that systags has already been done.
                    109: #
                    110: installtags:
                    111:        sed "/  monitor/d" ../tags | sed "s/    /       ..\//" > othertags
                    112:        sort -o tags tags othertags
                    113:        -rm -f othertags systags
                    114: 
                    115: depend:
                    116:        grep '^#[       ]*include' $(SRCS1) | sed -n -f ../h/depend.sed >makedep
                    117:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
                    118:        echo '$$r makedep' >>eddep
                    119:        echo 'w' >>eddep
                    120:        cp Makefile Makefile.bak
                    121:        ed - Makefile < eddep
                    122:        rm eddep makedep
                    123:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                    124:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                    125:        echo '# see make depend above' >> Makefile
                    126: 
                    127: # DO NOT DELETE THIS LINE -- make depend uses it
                    128: 
                    129: ttymon.o:monitor.h
                    130: ttymon.o:$H/ingres.h
                    131: ttymon.o:$H/version.h
                    132: ttymon.o:$H/opsys.h
                    133: ttymon.o:$H/pv.h
                    134: ttymon.o:$H/func.h
                    135: ttymon.o:$H/sccs.h
                    136: monitor.o:monitor.h
                    137: monitor.o:$H/ingres.h
                    138: monitor.o:$H/aux.h
                    139: monitor.o:$H/sccs.h
                    140: clear.o:monitor.h
                    141: clear.o:$H/ingres.h
                    142: clear.o:$H/aux.h
                    143: clear.o:$H/sccs.h
                    144: edit.o:monitor.h
                    145: edit.o:$H/ingres.h
                    146: edit.o:$H/aux.h
                    147: edit.o:$H/opsys.h
                    148: edit.o:$H/sccs.h
                    149: go.o:monitor.h
                    150: go.o:$H/ingres.h
                    151: go.o:$H/aux.h
                    152: go.o:$H/resp.h
                    153: go.o:$H/symbol.h
                    154: go.o:$H/pv.h
                    155: go.o:$H/sccs.h
                    156: trapquery.o:monitor.h
                    157: trapquery.o:$H/trace.h
                    158: trapquery.o:$H/resp.h
                    159: trapquery.o:$H/sccs.h
                    160: print.o:monitor.h
                    161: print.o:$H/ingres.h
                    162: print.o:$H/aux.h
                    163: print.o:$H/sccs.h
                    164: quit.o:monitor.h
                    165: quit.o:$H/ingres.h
                    166: quit.o:$H/aux.h
                    167: quit.o:$H/sccs.h
                    168: shell.o:monitor.h
                    169: shell.o:$H/ingres.h
                    170: shell.o:$H/aux.h
                    171: shell.o:$H/opsys.h
                    172: shell.o:$H/sccs.h
                    173: eval.o:monitor.h
                    174: eval.o:$H/ingres.h
                    175: eval.o:$H/aux.h
                    176: eval.o:$H/sccs.h
                    177: writeout.o:monitor.h
                    178: writeout.o:$H/ingres.h
                    179: writeout.o:$H/aux.h
                    180: writeout.o:$H/sccs.h
                    181: xwait.o:monitor.h
                    182: xwait.o:$H/ingres.h
                    183: xwait.o:$H/aux.h
                    184: xwait.o:$H/sccs.h
                    185: clrline.o:monitor.h
                    186: clrline.o:$H/ingres.h
                    187: clrline.o:$H/aux.h
                    188: clrline.o:$H/sccs.h
                    189: prompt.o:monitor.h
                    190: prompt.o:$H/ingres.h
                    191: prompt.o:$H/aux.h
                    192: prompt.o:$H/sccs.h
                    193: getch.o:monitor.h
                    194: getch.o:$H/ingres.h
                    195: getch.o:$H/aux.h
                    196: getch.o:$H/sccs.h
                    197: branch.o:monitor.h
                    198: branch.o:$H/ingres.h
                    199: branch.o:$H/aux.h
                    200: branch.o:$H/sccs.h
                    201: newdirec.o:monitor.h
                    202: newdirec.o:$H/ingres.h
                    203: newdirec.o:$H/aux.h
                    204: newdirec.o:$H/sccs.h
                    205: include.o:monitor.h
                    206: include.o:$H/ingres.h
                    207: include.o:$H/aux.h
                    208: include.o:$H/sccs.h
                    209: getfilenm.o:monitor.h
                    210: getfilenm.o:$H/ingres.h
                    211: getfilenm.o:$H/aux.h
                    212: getfilenm.o:$H/sccs.h
                    213: expr.o:$H/ingres.h
                    214: expr.o:$H/sccs.h
                    215: mcall.o:$H/ingres.h
                    216: mcall.o:$H/sccs.h
                    217: mac.o:$H/useful.h
                    218: mac.o:$H/sccs.h
                    219: mac.o:buf.h
                    220: buf.o:buf.h
                    221: buf.o:$H/sccs.h
                    222: syscntrl.o:monitor.h
                    223: syscntrl.o:$H/func.h
                    224: syscntrl.o:$H/sccs.h
                    225: # DEPENDENCIES MUST END AT END OF FILE
                    226: # IF YOU PUT STUFF HERE IT WILL GO AWAY
                    227: # see make depend above

unix.superglobalmegacorp.com

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