~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to libraries/libapparmor/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDES = $(all_includes)
 
2
 
 
3
BUILT_SOURCES = grammar.h scanner.h af_protos.h
 
4
AM_LFLAGS = -v
 
5
AM_YFLAGS = -d -p aalogparse_
 
6
AM_CFLAGS = @CFLAGS@ -D_GNU_SOURCE -Wall
 
7
scanner.h: scanner.l
 
8
        $(LEX) -v $<
 
9
 
 
10
scanner.c: scanner.l
 
11
 
 
12
af_protos.h: /usr/include/netinet/in.h
 
13
         LC_ALL=C  sed  -n -e "/IPPROTO_MAX/d"  -e "s/^\#define[ \\t]\\+IPPROTO_\\([A-Z0-9_]\\+\\)\\(.*\\)$$/AA_GEN_PROTO_ENT(\\UIPPROTO_\\1, \"\\L\\1\")/p" $< > $@
 
14
 
 
15
changehatdir = $(includedir)/sys
 
16
changehat_HEADERS = apparmor.h
 
17
 
 
18
aalogparsedir = $(includedir)/aalogparse
 
19
aalogparse_HEADERS = aalogparse.h
 
20
 
 
21
lib_LTLIBRARIES = libapparmor.la libimmunix.la
 
22
noinst_HEADERS = grammar.h parser.h scanner.h af_protos.h
 
23
 
 
24
libapparmor_la_SOURCES = grammar.y libaalogparse.c kernel_interface.c scanner.c
 
25
libapparmor_la_LDFLAGS = -version-info 1:2:0 -XCClinker -dynamic \
 
26
        -Wl,--version-script=$(top_srcdir)/src/libapparmor.map -Wl,-soname=libapparmor.so.1
 
27
 
 
28
libimmunix_la_SOURCES = kernel_interface.c libimmunix_warning.c
 
29
libimmunix_la_LDFLAGS = -version-info 1:2:0 -Wl,--version-script=$(top_srcdir)/src/libapparmor.map -Wl,-soname=libimmunix.so.1
 
30
 
 
31
tst_aalogmisc_SOURCES = tst_aalogmisc.c
 
32
tst_aalogmisc_LDADD = .libs/libapparmor.a
 
33
check_PROGRAMS = tst_aalogmisc
 
34
TESTS = $(check_PROGRAMS)
 
35
 
 
36
EXTRA_DIST = grammar.y scanner.l libapparmor.map