1# $OpenBSD: Makefile,v 1.19 2006/12/16 17:00:03 kjell Exp $ 2 3PROG= mg 4 5LDADD+= -lcurses 6DPADD+= ${LIBCURSES} 7 8# (Common) compile-time options: 9# 10# STARTUP -- look for and handle initialization file 11# FKEYS -- add support for function key sequences. 12# XKEYS -- use termcap function key definitions. Warning - 13# XKEYS and bsmap mode do _not_ get along. 14# REGEX -- create regular expression functions 15# 16CFLAGS+=-Wall -DXKEYS -DFKEYS -DREGEX 17 18SRCS= cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \ 19 basic.c dir.c dired.c file.c line.c match.c paragraph.c \ 20 random.c region.c search.c version.c window.c word.c \ 21 buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \ 22 macro.c main.c modes.c re_search.c funmap.c undo.c autoexec.c \ 23 yank.c 24 25# 26# More or less standalone extensions. 27# 28SRCS+= grep.c theo.c mail.c 29 30.include <bsd.prog.mk> 31