Annotation of 41BSD/cmd/as/Makefile, revision 1.1.1.1

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

unix.superglobalmegacorp.com

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