From d656afa1d50f45d8fdc19369f11b26cb84ab0fd3 Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Tue, 5 Apr 2011 20:51:02 -0700 Subject: [PATCH] This patch fixes the parser's dfa generation library makefile to use the default compilation rules when compiling C++ files, so that things like CFLAGS et al will be honored. Without this, doing 'make DEBUG=y' in the parser/ tree will not have its added -pg flag honored, breaking profiling of the parser. --- parser/libapparmor_re/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/parser/libapparmor_re/Makefile b/parser/libapparmor_re/Makefile index cfa08be63..afd32a3a9 100644 --- a/parser/libapparmor_re/Makefile +++ b/parser/libapparmor_re/Makefile @@ -16,19 +16,14 @@ libapparmor_re.a: parse.o expr-tree.o hfa.o compressed_hfa.o aare_rules.o ar ${ARFLAGS} $@ $^ expr-tree.o: expr-tree.cc expr-tree.h - $(CXX) $< -c -o $@ hfa.o: hfa.cc apparmor_re.h hfa.h ../immunix.h - $(CXX) $< -c -o $@ aare_rules.o: aare_rules.cc aare_rules.h apparmor_re.h expr-tree.h hfa.h compressed_hfa.h parse.h ../immunix.h - $(CXX) $< -c -o $@ compressed_hfa.o: compressed_hfa.cc compressed_hfa.h ../immunix.h - $(CXX) $< -c -o $@ parse.o : parse.cc apparmor_re.h expr-tree.h - $(CXX) $< -c -o $@ parse.cc : parse.y parse.h flex-tables.h ../immunix.h ${BISON} -o $@ $<