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 <[email protected]>
---
 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

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to