Annotation of researchv10no/cmd/as/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #      as.h            Definitions for data structures
                      3: #      asscan.h        Definitions for the character scanner
                      4: #      astoks.h        The defines for tokens that yacc produced
                      5: #                              included implicitly in as.h
                      6: #      asexpr.h        The macros for parsing and expressions
                      7: #      assyms.h        Macros for dealing with the symbol table
                      8: #
                      9: #      asscan.c        lexical analyzer and the character scanner
                     10: #      asparse.c       parser
                     11: #      asexpr.c        parses expressions, constructs and evaluates
                     12: #                              expression trees
                     13: #
                     14: #      asmain.c        main body
                     15: #      assyms.c        symbol table processing routines
                     16: #      asjxxx.c        Fixes jxxx instructions
                     17: #      ascode.c        Emits code
                     18: #      asio.c          Does block I/O and faster versions of fwrite
                     19: #
                     20: #      aspseudo.c      Symbol table definitions for reserved words
                     21: #      instrs          included in pseudo.c; instructions and semantic info
                     22: #                              for each instructions
                     23: #
                     24: 
                     25: HDRS = astoks.h as.h asscan.h assyms.h asexpr.h 
                     26: 
                     27: SRCS = asscan.c asmain.c asparse.c \
                     28:        asexpr.c assyms.c \
                     29:        asjxxx.c ascode.c aspseudo.c \
                     30:        asio.c
                     31: 
                     32: OBJS = asscan.o asparse.o asexpr.o \
                     33:        asmain.o assyms.o \
                     34:        asjxxx.o ascode.o aspseudo.o \
                     35:        asio.o
                     36: 
                     37: DESTDIR = 
                     38: 
                     39: #
                     40: #      available flags:
                     41: #
                     42: #  (UNIX and VMS are mutually exclusive.)
                     43: #      UNIX            Must be set if the assembler is to produce a.out
                     44: #                      files for UNIX.
                     45: #
                     46: #      VMS             Must be set if the assembler is to produce executables
                     47: #                      for VMS (Thanks to David Kashtan, SRI for these fixes)
                     48: #
                     49: #      if VMS is set, then these two flags are also valid:
                     50: #                      (necessary to frob system calls and '$' conventions
                     51: #      VMSDEVEL        The assembler is being compiled under VMS
                     52: #      UNIXDEVEL       The assembler is being compiled under UNIX
                     53: #
                     54: #
                     55: #      DEBUG           print out various debugging information
                     56: #                      in the first pass
                     57: #
                     58: #      FLEXNAMES       All names are stored internally as true character
                     59: #                      strings, null terminated, and can be no more
                     60: #                      than BUFSIZ long.
                     61: #                      
                     62: 
                     63: LD = /bin/ld
                     64: 
                     65: CFLAGS= -O -DUNIX -DUNIXDEVEL -DFLEXNAMES
                     66: 
                     67: LDFLAGS =
                     68: 
                     69: LINTFLAGS = -DUNIX -DUNIXDEVEL -DFLEXNAMES
                     70: 
                     71: as:    $(OBJS)
                     72:        $(CC) $(LDFLAGS) $(OBJS) 
                     73:        mv a.out as
                     74: 
                     75: lint:
                     76:        lint $(LINTFLAGS) $(SRCS)
                     77: 
                     78: aspseudo.o :   as.h astoks.h aspseudo.c instrs
                     79:        $(CC) -S $(CFLAGS) aspseudo.c
                     80:        sh ./:rofix aspseudo.s
                     81:        $(AS) -o aspseudo.o aspseudo.s
                     82:        rm aspseudo.s
                     83: 
                     84: clean:
                     85:        rm -f $(OBJS) as
                     86: install:       as
                     87:        mv as ${DESTDIR}/bin
                     88:        strip as

unix.superglobalmegacorp.com

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