Makefile.am;GNUmakefile.am
#
[A-Za-z0-9_@]+
^ *
\s*[\+\?:]?=
(?:no)?dist|no(?:base|trans)
PROGRAMS|
(?:LT)?LIBRARIES|
LISP|
PYTHON|
JAVA|
SCRIPTS|
DATA|
HEADERS|
MANS|
TEXINFOS
noinst|check|EXTRA
C|
CCAS|
CPP|
CXX|
F|
GCJ|
JAVAC|
L|
LD|
LIBTOOL|
(?:[A-Z]+_)?LOG|
MAKEINFO(?:HTML)?|
OBJC|
R|
UPC|
VALA|
Y
AR|
DEPENDENCIES|
LDADD|
LIBADD|
LINK|
SHORTNAME|
SOURCES|
\%{flags}FLAGS
ACLOCAL_AMFLAGS|
AM_DEFAULT_SOURCE_EXT|
AUTOMAKE_OPTIONS|
BUILT_SOURCES|
CC|
CLASSPATH_ENV|
(?:DIST|MAINTAINER|MOSTLY)?CLEANFILES|
COMPILE|
(?:CXX|FC|OBJC|UPC)(?:COMPILE|LINK)?|
DEFAULT_INCLUDES|
DEFS|
DISTCHECK_CONFIGURE_FLAGS|
DVIPS|
ETAGS_ARGS|
EXTRA_DIST|
F77(?:COMPILE)?|
FLINK|
INCLUDE|
JAVAC|
JAVAROOT|
LIBS|
LINK|
(?:[A-Z]+_)?LOG_COMPILER|
MAKEINFO(?:HTML)?|
(?:OMIT|TAGS)_DEPENDENCIES|
(?:DIST_)?SUBDIRS|
SUFFIXES|
TESTS(?:_ENVIRONMENT)?|
TEXI2(?:DVI|PDF)|
TEXINFO_TEX|
VALAC
s?bin|
(?:pkg)?lib(?:exec)?|
(?:pkg)?data|
(?:pkg|old)?include|
dataroot|
sysconf|
(?:shared|local)state|
doc|
info|
html|
dvi|
pdf|
ps|
lisp|
locale|
man[1-8]?(?:ext)?|
src|
(?:pkg)?python|
(?:pkg)?pyexec
@\%{variable}@
\%{space}((?:AM_)?\%{flags}FLAGS)\%{operator}
\%{space}(\%{keyword})\%{operator}
\%{space} # beginning of line
(?P<pprefix>(?:\%{prefix}_)*) # any number of prefixes_
(?: # either...
(?P<target>\%{target})| # ...a nondir target (e.g. noinst),
(?P<dirname>\%{dirname})| # ...a dir target (e.g. bin)
(?P<pvariable>\%{variable}) # ...or a user-defined dir
)
(?P<primary>_\%{primary}) # and a _PRIMARY
\%{operator} # an assignment operator
\%{space} # beginning of line
(?P<sprefix>
(?:(?:\%{prefix}|EXTRA)_)*) # any number of prefix_ or EXTRA_
(?P<svariable>\%{variable}) # the canonicalized_program_name
(?P<secondary>_\%{secondary}) # and a _SECONDARY
\%{operator} # an assignment operator
\%{space}(\%{variable})(dir)\%{operator}