~ubuntu-branches/ubuntu/vivid/aufs/vivid

« back to all changes in this revision

Viewing changes to util/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-08-21 14:58:54 UTC
  • mfrom: (1.2.1 upstream) (11 intrepid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20080821145854-6erljbzg007r476y
01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 
2.6.26, because they are not needed anymore. (Closes: #495921)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
# $Id: Makefile,v 1.8 2007/03/12 01:55:28 sfjro Exp $
 
2
# $Id: Makefile,v 1.10 2008/05/26 04:02:40 sfjro Exp $
3
3
 
4
4
all: aufs.5 aulchown
5
5
        test -x ./mount.aufs || chmod a+x ./mount.aufs
7
7
aufs.5: aufs.in.5 ./c2tmac
8
8
        ${RM} $@
9
9
        ./c2tmac > $@
10
 
        cat aufs.in.5 >> $@
 
10
        awk '{ \
 
11
                gsub(/\140[^\047]*\047/, "\\[oq]&\\[cq]"); \
 
12
                gsub(/\\\[oq\]\140/, "\\[oq]"); \
 
13
                gsub(/\047\\\[cq\]/, "\\[cq]"); \
 
14
                gsub(/\047/, "\\[aq]"); \
 
15
                print; \
 
16
        }' aufs.in.5 >> $@
11
17
        chmod a-w $@
12
18
 
13
 
CFLAGS += -O2 -Wall ${EXTRA_CFLAGS}
 
19
CFLAGS += -O2 -Wall ${EXTRA_CFLAGS} ${ccflags-y}
14
20
 
15
21
.INTERMEDIATE: c2tmac.o c2tmac
16
22
c2tmac.o: c2tmac.c ../include/linux/aufs_type.h