~ubuntu-branches/debian/sid/policycoreutils/sid

« back to all changes in this revision

Viewing changes to .pc/initscript/sandbox/Makefile

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-03-20 19:50:46 UTC
  • Revision ID: package-import@ubuntu.com-20120320195046-e0u3p8oxbk1a1qcg
Tags: 2.1.10-5
* Team upload.
* Switch to dh sequence and debhelper 9
* Merge my missing patches
* d/p/fix-ftbfs-hardening-flags.patch: Fix FTBFS with hardening flags
* d/policycoreutils.lintian-overrides: Drop non-standard-toplevel-dir selinux/
* debian/patches/0006-default-config.patch: Properly disable sandbox by
  default
* Rewrite maintainer scripts to use debhelper generated stanza.
  (Should closes: #660345)
* debian/control: Update Vcs-* fields
* Add debian/gbp.conf file
* debian/control:
  - Add Pre-Depends: ${misc:Pre-Depends} field
  - Make policycoreutils arch:linux-any
  - Put under the Debian SELinux team maintenance
  - Bump python-setools dependency to >= 3.3.7-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Installation directories.
2
 
PREFIX ?= $(DESTDIR)/usr
3
 
INITDIR ?= $(DESTDIR)/etc/rc.d/init.d/
4
 
SYSCONFDIR ?= $(DESTDIR)/etc/sysconfig
5
 
LIBDIR ?= $(PREFIX)/lib
6
 
BINDIR ?= $(PREFIX)/bin
7
 
SBINDIR ?= $(PREFIX)/sbin
8
 
MANDIR ?= $(PREFIX)/share/man
9
 
LOCALEDIR ?= /usr/share/locale
10
 
SHAREDIR ?= $(PREFIX)/share/sandbox
11
 
override CFLAGS += $(LDFLAGS) -I$(PREFIX)/include -DPACKAGE="\"policycoreutils\"" -Wall -Werror -Wextra -W
12
 
LDLIBS += -lcgroup -lselinux -lcap-ng -L$(LIBDIR)
13
 
SEUNSHARE_OBJS = seunshare.o
14
 
 
15
 
all: sandbox seunshare sandboxX.sh start
16
 
 
17
 
seunshare: $(SEUNSHARE_OBJS)
18
 
 
19
 
install: all
20
 
        -mkdir -p $(BINDIR)
21
 
        install -m 755 sandbox $(BINDIR)
22
 
        -mkdir -p $(MANDIR)/man8
23
 
        install -m 644 sandbox.8 $(MANDIR)/man8/
24
 
        install -m 644 seunshare.8 $(MANDIR)/man8/
25
 
        -mkdir -p $(MANDIR)/man5
26
 
        install -m 644 sandbox.5 $(MANDIR)/man5/
27
 
        -mkdir -p $(SBINDIR)
28
 
        install -m 4755 seunshare $(SBINDIR)/
29
 
        -mkdir -p $(SHAREDIR)
30
 
        install -m 755 sandboxX.sh $(SHAREDIR)
31
 
        install -m 755 start $(SHAREDIR)
32
 
        -mkdir -p $(INITDIR)
33
 
        install -m 755 sandbox.init $(INITDIR)/sandbox
34
 
        -mkdir -p $(SYSCONFDIR)
35
 
        install -m 644 sandbox.conf $(SYSCONFDIR)/sandbox
36
 
 
37
 
test:
38
 
        @python test_sandbox.py -v
39
 
 
40
 
clean:
41
 
        -rm -f seunshare *.o *~
42
 
 
43
 
indent:
44
 
        ../../scripts/Lindent $(wildcard *.[ch])
45
 
 
46
 
relabel: