[apparmor] [PATCH v2 01/42] parser: Honor USE_SYSTEM make variable in libapparmor_re
Steve Beattie
steve at nxnw.org
Tue Mar 10 20:14:45 UTC 2015
On Fri, Mar 06, 2015 at 03:48:17PM -0600, Tyler Hicks wrote:
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
> Acked-by: Seth Arnold <seth.arnold at canonical.com>
Acked-by: Steve Beattie <steve at nxnw.org>
> ---
> parser/libapparmor_re/Makefile | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/parser/libapparmor_re/Makefile b/parser/libapparmor_re/Makefile
> index df205b1..bb22b5a 100644
> --- a/parser/libapparmor_re/Makefile
> +++ b/parser/libapparmor_re/Makefile
> @@ -1,10 +1,17 @@
> # Profiling:
> #EXTRA_CFLAGS = -pg
>
> +ifdef USE_SYSTEM
> + # Using the system libapparmor
> + INCLUDE_APPARMOR =
> +else
> + INCLUDE_APPARMOR = -I../../libraries/libapparmor/include
> +endif
> +
> TARGET=libapparmor_re.a
>
> CFLAGS ?= -g -Wall -O2 ${EXTRA_CFLAGS} -std=gnu++0x
> -CXXFLAGS := ${CFLAGS}
> +CXXFLAGS := ${CFLAGS} ${INCLUDE_APPARMOR}
>
> ARFLAGS=-rcs
>
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150310/40e60307/attachment.pgp>
More information about the AppArmor
mailing list