3 # Several groups of Makefile settings are included below. Choose *ONE* group
4 # of settings for your particular system, and leave the others commented out.
5 # The meanings of these settings are:
6 # EXTRA version-specific object files used in elvis
7 # CC the C compiler command, possibly with "memory model" flags
8 # CFLAGS compiler flags used to select compile-time options
9 # PROGS the list of all programs
10 # SORT if the "tags" file must be sorted, then SORT=-DSORT
12 PROGS
= elvis ctags ref elvrec fmt elvprsv
13 CPPFLAGS
+= -w
-DCRUNCH \
14 -DNO_MKEXRC
-DNO_CURSORSHAPE
-DNO_CHARATTR
-DNO_SHOWMODE \
15 -DNO_MODELINE
-DNO_OPTCOLS
-DNO_DIGRAPH
-DNO_EXTENSIONS \
16 -DNO_ERRLIST
-DNO_FKEY
-DNO_VISIBLE
-DNO_COLOR
-DNO_POPUP
18 ###########################################################################
19 ### The rest of this Makefile contains no user-serviceable parts ###
20 ###########################################################################
22 SRCS.elvis
= blk.c cmd1.c cmd2.c ctype.c curses.c cut.c ex.c input.c \
23 main.c misc.c modify.c move1.c move2.c move3.c move4.c move5.c \
24 opts.c recycle.c redraw.c regexp.c regsub.c system.c tio.c tmp.c \
25 unix.c vars.c vcmd.c vi.c
28 .if
!exists
(${BINDIR}/vi
)
29 LINKS
+= ${BINDIR}/elvis
${BINDIR}/vi
32 .if
!exists
(${BINDIR}/ex
)
33 LINKS
+= ${BINDIR}/elvis
${BINDIR}/ex
43 .
include <bsd.prog.mk
>