Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/mg/Makefile
- This file was added.
PROG= mg | ||||||||||
SRCDIR= ${SRCTOP}/contrib/mg | ||||||||||
.PATH: ${SRCDIR} | ||||||||||
CFLAGS+= -DREGEX -w -D__dead=__dead2 -DLOGIN_NAME_MAX=MAXLOGNAME | ||||||||||
CFLAGS+= -I${.CURDIR} -I${SRCDIR} | ||||||||||
CWARNFLAGS+= -w | ||||||||||
manu: This needs to have a PACKAGE= mg
and also some new files/modification for it in release/packages | ||||||||||
Done Inline ActionsI added PACKAGE=mg, but I'm unclear what belongs in release/packages. Is there any documentation or place in the code you can point me to understand what PACKAGE= and release/packages are for? jrm: I added `PACKAGE=mg`, but I'm unclear what belongs in `release/packages`. Is there any… | ||||||||||
Done Inline ActionsNo docs afaik. manu: No docs afaik.
You need entries in release/packages/Makefile.packages
mg_COMMENT= blah
mg_DESC=… | ||||||||||
LIBADD= util ncursesw | ||||||||||
Done Inline Actions
Leave debugging, optimisation and warnings up to bsd.prog.mk and friends (and warning overrides belong in CWARNFLAGS if you need them) jrtc27: Leave debugging, optimisation and warnings up to bsd.prog.mk and friends (and warning overrides… | ||||||||||
SRCS= autoexec.c \ | ||||||||||
basic.c \ | ||||||||||
bell.c \ | ||||||||||
buffer.c \ | ||||||||||
cinfo.c \ | ||||||||||
Done Inline ActionsOne per line is nicer for diffs but I suspect this isn't going to be changed very often jrtc27: One per line is nicer for diffs but I suspect this isn't going to be changed very often | ||||||||||
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 \ | ||||||||||
re_search.c \ | ||||||||||
region.c \ | ||||||||||
search.c \ | ||||||||||
spawn.c \ | ||||||||||
tty.c \ | ||||||||||
ttyio.c \ | ||||||||||
ttykbd.c \ | ||||||||||
undo.c \ | ||||||||||
util.c \ | ||||||||||
version.c \ | ||||||||||
window.c \ | ||||||||||
word.c \ | ||||||||||
yank.c \ | ||||||||||
cmode.c \ | ||||||||||
cscope.c \ | ||||||||||
dired.c \ | ||||||||||
grep.c \ | ||||||||||
tags.c \ | ||||||||||
fparseln.c \ | ||||||||||
fstatat.c \ | ||||||||||
futimens.c \ | ||||||||||
getline.c \ | ||||||||||
reallocarray.c \ | ||||||||||
strlcat.c \ | ||||||||||
strlcpy.c \ | ||||||||||
strndup.c \ | ||||||||||
strtonum.c \ | ||||||||||
interpreter.c \ | ||||||||||
extensions.c | ||||||||||
.include <bsd.prog.mk> |
This needs to have a PACKAGE= mg
and also some new files/modification for it in release/packages