[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

File: [local] / src / usr.bin / mg / Makefile (download)

Revision 1.19, Sat Dec 16 17:00:03 2006 UTC (17 years, 5 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.18: +2 -3 lines

Get rid of PREFIXREGION ifdef, since we always enable it anyway.
no binary change.

# $OpenBSD: Makefile,v 1.19 2006/12/16 17:00:03 kjell Exp $

PROG=	mg

LDADD+=	-lcurses
DPADD+=	${LIBCURSES}

# (Common) compile-time options:
#
#	STARTUP		-- look for and handle initialization file
#	FKEYS		-- add support for function key sequences.
#	XKEYS		-- use termcap function key definitions. Warning -
#				XKEYS and bsmap mode do _not_ get along.
#	REGEX		-- create regular expression functions
#
CFLAGS+=-Wall -DXKEYS -DFKEYS -DREGEX

SRCS=	cinfo.c fileio.c spawn.c ttyio.c tty.c ttykbd.c \
	basic.c dir.c dired.c file.c line.c match.c paragraph.c \
	random.c region.c search.c version.c window.c word.c \
	buffer.c display.c echo.c extend.c help.c kbd.c keymap.c \
	macro.c main.c modes.c re_search.c funmap.c undo.c autoexec.c \
	yank.c

#
# More or less standalone extensions.
#
SRCS+=	grep.c theo.c mail.c

.include <bsd.prog.mk>