Annotation of 42BSD/ingres/source/equel/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #  Makefile for INGRES EQUEL precompiler
                      3: #
                      4: #      @(#)Makefile    7.2     10/27/81
                      5: #
                      6: 
                      7: INGRES=        ../..
                      8: H=     ../h
                      9: LIB=   $(INGRES)/lib
                     10: BIN=   $(INGRES)/bin
                     11: SYSBIN=        /usr/local
                     12: 
                     13: OBJS=  main.o yylex.o grammar.o cvar.o include.o name.o getkey.o \
                     14:        number.o operator.o prtout.o string.o comment.o retrieve.o display.o \
                     15:        getch.o cmap.o yyerror.o nalloc.o 
                     16: SRCS=  main.c yylex.c grammar.y cvar.c include.c name.c getkey.c \
                     17:        number.c operator.c prtout.c string.c comment.c retrieve.c display.c \
                     18:        getch.c cmap.c yyerror.c nalloc.c constants.h globals.h tokens.y
                     19: 
                     20: GUTIL= $(LIB)/gutil
                     21: # include -lm on the VAX
                     22: LIBS=  $(GUTIL) -lm
                     23: 
                     24: CFLAGS=        -I$H -O 
                     25: LDFLAGS=-z
                     26: YFLAGS=        -d
                     27: GET=   sccs get
                     28: REL=
                     29: PR=    pr
                     30: VGRIND=        csh /usr/ucb/vgrind
                     31: HEADER=        Equel Precompiler
                     32: CP=    cp
                     33: CHMOD= chmod
                     34: CHOWN= -chown
                     35: BINMODE=755
                     36: 
                     37: equel: $(OBJS)
                     38:        $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o equel
                     39:        $(CHMOD) $(BINMODE) equel
                     40:        ls -l equel; size equel
                     41: 
                     42: new:
                     43:        rm -f equel
                     44: 
                     45: clean:
                     46:        rm -f *.o
                     47:        rm -f a.out y.tab.c y.tab.h core equel grammar.c
                     48: 
                     49: install: $(BIN)/equel
                     50: 
                     51: $(BIN)/equel: equel
                     52:        $(CP) equel $(BIN)/equel
                     53: 
                     54: sysinstall: $(SYSBIN)/equel
                     55:        $(CP) equel $(SYSBIN)/equel
                     56:        $(CHOWN) ingres $(SYSBIN)/equel
                     57: 
                     58: print: sources
                     59:        $(PR) Makefile TraceFlags *.[hm] *.[csy]
                     60: 
                     61: vgrind: sources
                     62:        cp /dev/null index
                     63:        $(VGRIND) -h "$(HEADER) (Release 7)" -n Makefile TraceFlags
                     64:        $(VGRIND) -h "$(HEADER) (Release 7)" *.[hm] *.[csy]
                     65:        $(VGRIND) -h "$(HEADER) (Release 7)" -x index
                     66: 
                     67: sources: $(SRCS)
                     68: 
                     69: $(SRCS):
                     70:        $(GET) $(REL) SCCS/s.$@
                     71: 
                     72: y.tab.h: grammar.c
                     73: 
                     74: depend:
                     75:        grep '^#[       ]*include' $(SRCS) | sed -n -f ../h/depend.sed > makedep
                     76:        echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
                     77:        echo '$$r makedep' >>eddep
                     78:        echo 'w' >>eddep
                     79:        cp Makefile Makefile.bak
                     80:        ed - Makefile < eddep
                     81:        rm eddep makedep
                     82:        echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
                     83:        echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
                     84:        echo '# see make depend above' >> Makefile
                     85: 
                     86: # DO NOT DELETE THIS LINE -- make depend uses it
                     87: 
                     88: main.o:constants.h
                     89: main.o:globals.h
                     90: yylex.o:constants.h
                     91: yylex.o:globals.h
                     92: yylex.o:y.tab.h
                     93: grammar.y:constants.h
                     94: grammar.y:globals.h
                     95: grammar.y:tokens.y
                     96: cvar.o:constants.h
                     97: cvar.o:globals.h
                     98: include.o:constants.h
                     99: include.o:globals.h
                    100: name.o:constants.h
                    101: name.o:globals.h
                    102: name.o:y.tab.h
                    103: getkey.o:constants.h
                    104: getkey.o:globals.h
                    105: number.o:constants.h
                    106: number.o:globals.h
                    107: number.o:y.tab.h
                    108: operator.o:constants.h
                    109: operator.o:globals.h
                    110: operator.o:y.tab.h
                    111: prtout.o:constants.h
                    112: prtout.o:globals.h
                    113: string.o:constants.h
                    114: string.o:globals.h
                    115: string.o:y.tab.h
                    116: comment.o:constants.h
                    117: comment.o:globals.h
                    118: retrieve.o:constants.h
                    119: retrieve.o:globals.h
                    120: display.o:constants.h
                    121: display.o:globals.h
                    122: getch.o:constants.h
                    123: getch.o:globals.h
                    124: cmap.o:constants.h
                    125: yyerror.o:constants.h
                    126: yyerror.o:globals.h
                    127: yyerror.o:y.tab.h
                    128: # DEPENDENCIES MUST END AT END OF FILE
                    129: # IF YOU PUT STUFF HERE IT WILL GO AWAY
                    130: # 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.