d6a1bc3f07
Merge all the changes from the recent FreeBSD HEAD snapshot into our local copy. FreeBSD actively maintains this program in their sources and their repository contains over 100 commits with changes. Keep the delta between the FreeBSD and NetBSD versions to absolute minimum, mostly RCS Id and compatiblity fixes. Major chages in this import: - Added an option -ldi<N> to control indentation of local variable names. - Added option -P for loading user-provided files as profiles - Added -tsn for setting tabsize - Rename -nsac/-sac ("space after cast") to -ncs/-cs - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines. - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1) - Group global option variables into an options structure - Use bsearch() for looking up type keywords. - Don't produce unneeded space character in function declarators - Don't unnecessarily add a blank before a comment ends. - Don't ignore newlines after comments that follow braces. Merge the FreeBSD intend(1) tests with our ATF framework. All tests pass. Upgrade prepared by Manikishan Ghantasala. Final polishing by myself.
10 lines
238 B
Makefile
10 lines
238 B
Makefile
# $NetBSD: Makefile,v 1.7 2019/04/04 15:22:13 kamil Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
PROG= indent
|
|
SRCS= indent.c io.c lexi.c parse.c pr_comment.c args.c
|
|
|
|
COPTS.io.c += -Wno-error=format-nonliteral
|
|
|
|
.include <bsd.prog.mk>
|