[apparmor] [patch] parser: fix af_xxxx.o make dependencies
John Johansen
john.johansen at canonical.com
Fri Sep 12 00:11:59 UTC 2014
On 09/11/2014 04:42 PM, Steve Beattie wrote:
> In trunk commit 2615, make targets for af_rule.o and af_unix.o were
> added. Unfortunately, the af_rule.o target's dependency on rule.h was
> missing the .h suffix. This patch fixes the issue and adds some other
> headers that the source file are dependent on.
>
> Signed-off-by: Steve Beattie <steve at nxnw.org>
Acked-by: John Johansen <john.johansen at canonical.com>
> ---
> parser/Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Index: b/parser/Makefile
> ===================================================================
> --- a/parser/Makefile
> +++ b/parser/Makefile
> @@ -255,10 +255,10 @@ ptrace.o: ptrace.cc ptrace.h parser.h im
> network.o: network.c network.h parser.h immunix.h parser_yacc.h rule.h af_names.h $(APPARMOR_H)
> $(CXX) $(EXTRA_CFLAGS) -c -o $@ $<
>
> -af_rule.o: af_rule.cc af_rule.h network.h parser.h immunix.h parser_yacc.h rule
> +af_rule.o: af_rule.cc af_rule.h network.h parser.h profile.h immunix.h parser_yacc.h rule.h $(APPARMOR_H)
> $(CXX) $(EXTRA_CFLAGS) -c -o $@ $<
>
> -af_unix.o: af_unix.cc af_unix.h network.h af_rule.h parser.h immunix.h parser_y
> +af_unix.o: af_unix.cc af_unix.h network.h af_rule.h parser.h profile.h immunix.h parser_y $(APPARMOR_H)
> $(CXX) $(EXTRA_CFLAGS) -c -o $@ $<
>
> profile.o: profile.cc profile.h parser.h network.h
>
>
>
More information about the AppArmor
mailing list