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

1.1       root        1: # /usr/src/cmd/as/Makefile 2/20/91
                      2: # A previous needlessly complicated Makefile made any of several
                      3: # machine-dependent versions.
                      4: # This is much simpler but probably needs adjusting for non-i8086 versions.
                      5: # Does not include header file dependencies.
                      6: 
                      7: # SRC defines the root directory of as source, MCH the target machine.
                      8: SRC=/newbits/bin/as
                      9: DESTDIR= /interim/bin/
                     10: MCH=i8086
                     11: 
                     12: # Add source and mch directories to include path.
                     13: CFLAGS=-I$(SRC) -I$(SRC)/$(MCH)
                     14: 
                     15: OBJ=\
                     16:        asm.o\
                     17:        asmexpr.o\
                     18:        asmlex.o\
                     19:        data.o\
                     20:        grindy.o\
                     21:        list.o\
                     22:        subr.o\
                     23:        sym.o
                     24: 
                     25: MCHOBJ=\
                     26:        addr.o\
                     27:        asmout.o\
                     28:        machine.o\
                     29:        pst.o
                     30: 
                     31: # Primary target.
                     32: as:    $(OBJ) $(MCHOBJ)
                     33:        $(CC) $(LDFLAGS) -o $(DESTDIR)$@ $<
                     34:        su root chown bin $(DESTDIR)as
                     35:        su root chgrp bin $(DESTDIR)as
                     36:        su root chmod 511 $(DESTDIR)as
                     37: 
                     38: # Secondary targets.
                     39: # Machine independent.
                     40: asm.o:         $(SRC)/asm.c
                     41: asmexpr.o:     $(SRC)/asmexpr.c
                     42: asmlex.o:      $(SRC)/asmlex.c
                     43: data.o:                $(SRC)/data.c
                     44: grindy.o:      $(SRC)/grindy.c
                     45: list.o:                $(SRC)/list.c
                     46: subr.o:                $(SRC)/subr.c
                     47: sym.o:         $(SRC)/sym.c
                     48: # Machine dependent.
                     49: addr.o:                $(SRC)/$(MCH)/addr.c
                     50: asmout.o:      $(SRC)/$(MCH)/asmout.c
                     51: machine.o:     $(SRC)/$(MCH)/machine.c
                     52: pst.o:         $(SRC)/$(MCH)/pst.c
                     53: 
                     54: # Other.
                     55: clean:
                     56:        rm $(OBJ) $(MCHOBJ)
                     57: 
                     58: # end of /usr/src/cmd/as/Makefile

unix.superglobalmegacorp.com

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