Annotation of src/usr.bin/mg/Makefile, Revision 1.15
1.15 ! henning 1: # $OpenBSD: Makefile,v 1.14 2005/03/09 19:12:57 henning Exp $
1.4 millert 2:
3: PROG= mg
1.1 deraadt 4:
1.2 deraadt 5: LDADD+= -lcurses
6: DPADD+= ${LIBCURSES}
7:
1.1 deraadt 8: # (Common) compile-time options:
9: #
10: # DO_METAKEY -- if bit 7 is set for a key, treat like a META key
11: # STARTUP -- look for and handle initialization file
1.3 millert 12: # FKEYS -- add support for function key sequences.
1.1 deraadt 13: # XKEYS -- use termcap function key definitions. Warning -
14: # XKEYS and bsmap mode do _not_ get along.
1.15 ! henning 15: # NO_BACKUP -- disable "make-backup-files"
1.1 deraadt 16: # PREFIXREGION -- enable function "prefix-region"
17: # REGEX -- create regular expression functions
18: #
1.14 henning 19: CFLAGS+=-Wall -DDO_METAKEY -DPREFIXREGION -DXKEYS -DFKEYS -DREGEX
1.2 deraadt 20:
21: SRCS= cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \
22: basic.c dir.c dired.c file.c line.c match.c paragraph.c \
23: random.c region.c search.c version.c window.c word.c \
24: buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \
1.12 vincent 25: macro.c main.c modes.c re_search.c funmap.c undo.c autoexec.c
1.8 art 26:
27: #
28: # More or less standalone extensions.
29: #
1.13 vincent 30: SRCS+= grep.c theo.c mail.c
1.1 deraadt 31:
1.2 deraadt 32: .include <bsd.prog.mk>