Annotation of coherent/b/bin/as/Makefile, revision 1.1.1.1

1.1       root        1: DESTDIR=/bin386/bin/
                      2: # Object files required directly by as.386
                      3: O = main.o y_tab.o symtab.o lex.o common.o data.o space.o mwcvar.o \
                      4:  cmd.o build.o sym.o hash.o c_out.o utype.o getargs.o strtod.o
                      5: 
                      6: # Files required to build as.386 which are not scanned for comments
                      7: B=Makefile fixy tabbld.c getline.c table.386 docfix.c fixdoc.c script hash.c \
                      8:     utype.c utype.h mwcvar.c installer asfix.c  data.c strtod.c
                      9: 
                     10: # Files containing comments headed for the docs
                     11: S = asm.y lex.c common.c cmd.c build.c sym.c c_out.c space.c main.c getargs.c
                     12: 
                     13: # Header files
                     14: H = asm.h asme.h asflags.h
                     15: 
                     16: # Constructed header files
                     17: J = y_tab.h symtab.h
                     18: 
                     19: # Files required to build as.386 on the Atari
                     20: K = main.c utype.h tabbld.c table.386 y_tab.c lex.c common.c data.c space.c \
                     21:  strtod.c cmd.c build.c sym.c hash.c c_out.c utype.c  mwcvar.c \
                     22:  getargs.c ieee_f.c ieee_d.c getline.c asfix.c y_tab.h $H
                     23: 
                     24: I =  -I. -I..
                     25: CFLAGS = -A $I
                     26: 
                     27: as : $O
                     28:        cc -so $(DESTDIR)as $O
                     29: 
                     30: install : as fixdoc asfix
                     31:        su root `srcpath installer` $<
                     32: 
                     33: # send a copy to mwc! where it will be saved on tape
                     34: save : $H $B $S
                     35:        tar cf - $< | compress -c > /tmp/a386.tar.Z
                     36:        uucp -r /tmp/a386.tar.Z mwc!/v/cef/
                     37: 
                     38: # send stuff to the atari which has a debugger
                     39: ker : $K
                     40:        kas $?
                     41:        touch ker
                     42: 
                     43: # scan for error messages, put them and the following comment in the docs
                     44: doc : $S
                     45:        cgrep -d @ "(yyerror|yywarn|fatal)" $< | \
                     46:         sed -f `srcpath script` | \
                     47:         sort | \
                     48:         fixdoc > doc
                     49: 
                     50: # list files on printer
                     51: list : $H $B $S
                     52:        ph  $?
                     53:        touch list
                     54: 
                     55: fixdoc : fixdoc.c
                     56:        cc -A $<
                     57: 
                     58: # convert old as format to new as format
                     59: asfix : asfix.c
                     60:        cc -A $<
                     61: 
                     62: y_tab.o : y_tab.c $H
                     63: 
                     64: # replace y.tab name with y_name for non UNIX systems
                     65: y_tab.c y_tab.h: asm.y
                     66:        yacc $<
                     67:        mv y.tab.c y_tab.c
                     68:        mv y.tab.h y_tab.h
                     69:        ed y_tab.c < `srcpath fixy`
                     70: 
                     71: lex.o: lex.c $J $H utype.h
                     72: tabbld: tabbld.c hash.o getline.o
                     73:        cc -A $< -lmisc
                     74: 
                     75: getline.o : getline.c
                     76: utype.o : utype.c utype.h
                     77: c_out.o : c_out.c utype.h
                     78: build.o : build.c $J $H
                     79: main.o : main.c $H
                     80: sym.o : sym.c $J $H
                     81: hash.o : hash.c
                     82: common.o: common.c $H
                     83: data.o : data.c $H
                     84: space.o : space.c $H
                     85: mwcvar.o : mwcvar.c $H
                     86: cmd.o : cmd.c $J $H
                     87: getargs.o : getargs.c
                     88: 
                     89: docfix : docfix.c
                     90:        cc $<
                     91: 
                     92: # build prehashed tables for assembler
                     93: symtab.c symtab.h: table.386 tabbld docfix
                     94:        tabbld < `srcpath table.386`
                     95:        sort document | docfix > opcodes.doc
                     96:        rm document
                     97:        egrep -v "(and|or|xor)(w|l).*0x64," test.s > t.s
                     98: 
                     99: symtab.o : symtab.c $J $H
                    100:        cc -c $I symtab.c

unix.superglobalmegacorp.com

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