Annotation of src/usr.bin/mg/Makefile, Revision 1.16
1.16 ! kjell 1: # $OpenBSD: Makefile,v 1.15 2005/03/10 18:27:47 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: # STARTUP -- look for and handle initialization file
1.3 millert 11: # FKEYS -- add support for function key sequences.
1.1 deraadt 12: # XKEYS -- use termcap function key definitions. Warning -
13: # XKEYS and bsmap mode do _not_ get along.
1.15 henning 14: # NO_BACKUP -- disable "make-backup-files"
1.1 deraadt 15: # PREFIXREGION -- enable function "prefix-region"
16: # REGEX -- create regular expression functions
17: #
1.16 ! kjell 18: CFLAGS+=-Wall -DPREFIXREGION -DXKEYS -DFKEYS -DREGEX
1.2 deraadt 19:
20: SRCS= cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \
21: basic.c dir.c dired.c file.c line.c match.c paragraph.c \
22: random.c region.c search.c version.c window.c word.c \
23: buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \
1.12 vincent 24: macro.c main.c modes.c re_search.c funmap.c undo.c autoexec.c
1.8 art 25:
26: #
27: # More or less standalone extensions.
28: #
1.13 vincent 29: SRCS+= grep.c theo.c mail.c
1.1 deraadt 30:
1.2 deraadt 31: .include <bsd.prog.mk>