Annotation of src/usr.bin/mg/Makefile, Revision 1.17
1.17 ! kjell 1: # $OpenBSD: Makefile,v 1.16 2005/11/19 22:05:45 kjell 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.
14: # PREFIXREGION -- enable function "prefix-region"
15: # REGEX -- create regular expression functions
16: #
1.16 kjell 17: CFLAGS+=-Wall -DPREFIXREGION -DXKEYS -DFKEYS -DREGEX
1.2 deraadt 18:
19: SRCS= cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \
20: basic.c dir.c dired.c file.c line.c match.c paragraph.c \
21: random.c region.c search.c version.c window.c word.c \
22: buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \
1.12 vincent 23: macro.c main.c modes.c re_search.c funmap.c undo.c autoexec.c
1.8 art 24:
25: #
26: # More or less standalone extensions.
27: #
1.13 vincent 28: SRCS+= grep.c theo.c mail.c
1.1 deraadt 29:
1.2 deraadt 30: .include <bsd.prog.mk>