Return to Makefile CVS log | Up to [local] / src / usr.bin / mg |
File: [local] / src / usr.bin / mg / Makefile (download)
Revision 1.30, Tue Mar 17 18:08:52 2015 UTC (9 years, 2 months ago) by bcallah
It is impossible to build mg without both -DFKEYS and -DXKEYS. So let's enforce that and remove the options. Mostly mechanical diff from unifdef with bonus removal of comments that no longer have any relevance. ok florian@ |
# $OpenBSD: Makefile,v 1.30 2015/03/17 18:08:52 bcallah Exp $ PROG= mg LDADD+= -lcurses -lutil DPADD+= ${LIBCURSES} ${LIBUTIL} # (Common) compile-time options: # # REGEX -- create regular expression functions. # STARTUPFILE -- look for and handle initialization file. # CFLAGS+=-Wall -DREGEX SRCS= autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \ echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \ line.c macro.c main.c match.c modes.c paragraph.c random.c \ re_search.c region.c search.c spawn.c tty.c ttyio.c ttykbd.c \ undo.c version.c window.c word.c yank.c # # More or less standalone extensions. # SRCS+= cmode.c cscope.c dired.c grep.c tags.c theo.c afterinstall: ${INSTALL} -d ${DESTDIR}${DOCDIR}/mg ${INSTALL} -m ${DOCMODE} -c ${.CURDIR}/tutorial \ ${DESTDIR}${DOCDIR}/mg .include <bsd.prog.mk>