Annotation of 41BSD/cmd/ucbmail/makefile.ing, revision 1.1.1.1

1.1       root        1: #
                      2: # Unix version 6 (Ingres).
                      3: CFLAGS=-O -DINGRES -Dsignal=Signal -I/usr/include/retrofit
                      4: XSTR=/usr/ucb/xstr
                      5: DESTDIR=/usr/src
                      6: CTAGS=/usr/new/ctags
                      7: ED=-ed
                      8: AS=-nas
                      9: RM=-rm
                     10: CC=ncc
                     11: OBJS=aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o \
                     12:        head.o ing.local.o lex.o list.o lock.o main.o names.o optim.o \
                     13:        quit.o send.o strings.o temp.o tty.o vars.o version.o \
                     14:        errlst.o Signal.o str.o
                     15: 
                     16: SRCS=aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c getname.c \
                     17:        head.c ing.local.c lex.c list.c lock.c main.c names.c optim.c \
                     18:        quit.c send.c strings.c temp.c tty.c vars.c version.c \
                     19:        errlst.c Signal.c
                     20: 
                     21: #
                     22: # Special massaging of C files for sharing of strings
                     23: #
                     24: .c.o:
                     25:        ${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
                     26:        ${CC} -c ${CFLAGS} x.c 
                     27:        -rm -f $*.o
                     28:        mv x.o $*.o
                     29: 
                     30: all:   Mail fmt
                     31: 
                     32: install:       all
                     33:        cp Mail $(DESTDIR)
                     34:        cp fmt $(DESTDIR)
                     35: 
                     36: xmail: $(OBJS) tags
                     37:        $(CC) -o xmail $(OBJS) -lretro -lS
                     38:        @size xmail
                     39: 
                     40: Mail:  $(OBJS) tags
                     41:        $(CC) -n -o Mail $(OBJS) -lretro -lS
                     42:        @size Mail
                     43: 
                     44: tags:
                     45:        ${CTAGS} *.c;
                     46: 
                     47: clean:
                     48:        $(RM) -f *.o
                     49:        rm -f Mail a.out fmt x.c xs.c tags core
                     50:        cp /dev/null strings
                     51:        cp /dev/null version.c
                     52: 
                     53: lint:
                     54:        lint $(CFLAGS) $(SRCS)
                     55: 
                     56: fmt:   fmt.c head.c
                     57:        $(CC) fmt.c head.c -o fmt -lretro -lS
                     58:        $(RM) fmt.o head.o
                     59:        size fmt
                     60: 
                     61: str.o: strings
                     62:        $(XSTR)
                     63:        $(CC) -S xs.c
                     64:        $(ED) - <:rofix xs.s
                     65:        $(AS) -o str.o xs.s
                     66:        $(RM) xs.s
                     67: 
                     68: cmdtab.o: cmdtab.c
                     69:        $(CC) -S $(CFLAGS) cmdtab.c
                     70:        $(ED) - <:rofix cmdtab.s
                     71:        $(AS) - -o cmdtab.o cmdtab.s
                     72:        $(RM) cmdtab.s
                     73: 
                     74: errlst.o: errlst.c
                     75:        ${CC} -E ${CFLAGS} errlst.c | ${XSTR} -c -
                     76:        ${CC} ${CFLAGS} -S x.c
                     77:        ${ED} - <:rofix x.s
                     78:        ${AS} -o errlst.o x.s
                     79:        ${RM} x.s
                     80: 
                     81: #
                     82: # Make the version file.  /tmp is always changing.
                     83: #
                     84: version.c:
                     85:        /bin/sh version > version.c
                     86: 
                     87: Signal.o:      Signal.c
                     88:        $(CC) -c -O Signal.c
                     89: 
                     90: print:
                     91:        @pr rcv.h def.h glob.h local.h ing.local.h $(SRCS)
                     92:        @pr fmt.c

unix.superglobalmegacorp.com

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