summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobrado <sobrado@openbsd.org>2008-12-17 10:27:33 +0000
committersobrado <sobrado@openbsd.org>2008-12-17 10:27:33 +0000
commit285fbcbc72b401eba9bde03607e38b43abe3cb0c (patch)
tree9525ace8d9673e7535da112f8d23bf24341b6cc2
parentstop using stderr in the library, wrap all diagnostic fprintfs (diff)
downloadwireguard-openbsd-285fbcbc72b401eba9bde03607e38b43abe3cb0c.tar.xz
wireguard-openbsd-285fbcbc72b401eba9bde03607e38b43abe3cb0c.zip
sort CFLAGS, SRCS and the list of compile-time options; while here,
add some missing full stops. ok kjell@
-rw-r--r--usr.bin/mg/Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/usr.bin/mg/Makefile b/usr.bin/mg/Makefile
index a52df469093..e97986db8b0 100644
--- a/usr.bin/mg/Makefile
+++ b/usr.bin/mg/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2008/06/13 18:51:02 kjell Exp $
+# $OpenBSD: Makefile,v 1.22 2008/12/17 10:27:33 sobrado Exp $
PROG= mg
@@ -7,24 +7,23 @@ 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
+# REGEX -- create regular expression functions.
+# STARTUP -- look for and handle initialization file.
+# XKEYS -- use termcap function key definitions.
+# note: XKEYS and bsmap mode do _not_ get along.
#
-CFLAGS+=-Wall -DXKEYS -DFKEYS -DREGEX
+CFLAGS+=-Wall -DFKEYS -DREGEX -DXKEYS
-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
+SRCS= autoexec.c basic.c buffer.c cinfo.c dir.c dired.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+= grep.c theo.c cmode.c
+SRCS+= cmode.c grep.c theo.c
.include <bsd.prog.mk>