[apparmor] [patch] make top-level parser files depend on regex lib header
John Johansen
john.johansen at canonical.com
Fri Nov 12 21:08:50 GMT 2010
On 11/12/2010 11:47 AM, Steve Beattie wrote:
> This minor patch updates the compilation dependencies for bits of the
> parser that interact with the regex DFA generation library, and thus
> need to be recompiled when the header file changes.
>
> (This patch isn't particularly of interest to distros, as they typically
> won't be doing incremental compilation.)
>
ACK
> ---
> parser/Makefile | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> Index: b/parser/Makefile
> ===================================================================
> --- a/parser/Makefile
> +++ b/parser/Makefile
> @@ -163,10 +163,10 @@ parser_misc.o: parser_misc.c parser.h pa
> parser_yacc.o: parser_yacc.c parser_yacc.h
> $(CC) $(EXTRA_CFLAGS) -c -o $@ $<
>
> -parser_main.o: parser_main.c parser.h parser_version.h
> +parser_main.o: parser_main.c parser.h parser_version.h libapparmor_re/apparmor_re.h
> $(CC) $(EXTRA_CFLAGS) -c -o $@ $<
>
> -parser_interface.o: parser_interface.c parser.h
> +parser_interface.o: parser_interface.c parser.h libapparmor_re/apparmor_re.h
> $(CC) $(EXTRA_CFLAGS) -c -o $@ $<
>
> parser_include.o: parser_include.c parser.h parser_include.h
> @@ -175,7 +175,7 @@ parser_include.o: parser_include.c parse
> parser_merge.o: parser_merge.c parser.h
> $(CC) $(EXTRA_CFLAGS) -c -o $@ $<
>
> -parser_regex.o: parser_regex.c parser.h
> +parser_regex.o: parser_regex.c parser.h libapparmor_re/apparmor_re.h
> $(CC) $(EXTRA_CFLAGS) -c -o $@ $<
>
> parser_symtab.o: parser_symtab.c parser.h
>
>
More information about the AppArmor
mailing list