Annotation of 43BSDReno/usr.bin/ex/Makefile, revision 1.1.1.1

1.1       root        1: #      @(#)Makefile    7.32 (Berkeley) 6/28/90
                      2: 
                      3: # Things that can be turned off to save space:
                      4: #      LISPCODE (-l flag, showmatch and lisp options)
                      5: #      UCVISUAL (visual \ nonsense on upper case only terminals)
                      6: #      CHDIR (the undocumented chdir command)
                      7: #      CRYPT includes code to edit encrypted files (the -x option, like ed.)
                      8: #      VMUNIX makes ex considerably larger, raising many limits and
                      9: #              improving speed and simplicity of maintenance.
                     10: #
                     11: # If your system expands tabs to 4 spaces you should -DTABS=4 below.
                     12: #
                     13: PROG=  ex
                     14: SUBDIR=        ex3.7recover ex3.7preserve
                     15: CFLAGS+=-I. -DTABS=8 -DCRYPT -DLISPCODE -DCHDIR -DUCVISUAL -DVFORK -DVMUNIX \
                     16:        -DFASTTAG -DUNIX_SBRK
                     17: SRCS=  ex.c ex_addr.c ex_cmds.c ex_cmds2.c ex_cmdsub.c ex_data.c ex_extern.c \
                     18:        ex_get.c ex_io.c ex_put.c ex_re.c ex_set.c ex_subr.c ex_tagio.c \
                     19:        ex_temp.c ex_tty.c ex_unix.c ex_v.c ex_vadj.c ex_vget.c ex_vmain.c \
                     20:        ex_voper.c ex_vops.c ex_vops2.c ex_vops3.c ex_vput.c ex_vwind.c \
                     21:        printf.c
                     22: BINMODE=1755
                     23: DPADD= strings.o ${LIBTERMCAP}
                     24: LDADD= strings.o -z -ltermcap
                     25: MAN1=  ex.0 vi.0
                     26: LINKS= ${BINDIR}/ex ${BINDIR}/vi ${BINDIR}/ex ${BINDIR}/view \
                     27:        ${BINDIR}/ex ${BINDIR}/edit
                     28: 
                     29: # There's a boostrap problem here -- ex is necessary to build ex_vars.h.
                     30: # The file ex_vars.h.init can be used to build a version of ex to start
                     31: # with.
                     32: CLEANFILES+=ex_vars.h strings xs.c xs.s x.c strings.o
                     33: 
                     34: SHAREDSTRINGS= sharedstrings
                     35: 
                     36: ex_vars.h: ex_data.c
                     37:        csh -f ${.CURDIR}/makeoptions ${.CURDIR}/ex_data.c ${CFLAGS:M-[ID]*}
                     38: 
                     39: # xstr: hands off!
                     40: strings.o: strings
                     41:        xstr
                     42:        ${CC} -c -S xs.c
                     43:        ed - < ${.CURDIR}/rofix xs.s
                     44:        ${AS} -o strings.o xs.s
                     45:        rm xs.s
                     46: 
                     47: .include <bsd.prog.mk>
                     48: 
                     49: ${OBJS} ${SUBDIR} .depend: ex_vars.h
                     50: ${OBJS}: strings
                     51: strings:
                     52:        touch strings

unix.superglobalmegacorp.com

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