~apparmor-dev/apparmor/master

« back to all changes in this revision

Viewing changes to tests/stress/subdomain/Makefile

  • Committer: Steve Beattie
  • Date: 2019-02-19 09:38:13 UTC
  • Revision ID: sbeattie@ubuntu.com-20190219093813-ud526ee6hwn8nljz
The AppArmor project has been converted to git and is now hosted on
gitlab.

To get the converted repository, please do
  git clone https://gitlab.com/apparmor/apparmor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TARGETS=change_hat child open
2
 
PROFILES=change_hat.profile  child.profile  open.profile  sh.profile
3
 
LIB:=apparmor
4
 
LIBS=-l$(LIB)
5
 
 
6
 
all: targets profiles
7
 
 
8
 
targets: $(TARGETS)
9
 
 
10
 
profiles:
11
 
        for i in $(PROFILES) ;\
12
 
        do \
13
 
                sed "s~BASE~$$PWD~" $$i.pre | sed "s/AA/${LIB}/" > $$i ;\
14
 
        done    
15
 
 
16
 
change_hat: change_hat.c
17
 
        cc -Wall -o $@ $< $(LIBS)
18
 
child: child.c
19
 
        cc -Wall -o $@ $< $(LIBS)
20
 
open: open.c
21
 
        cc -Wall -o $@ $< $(LIBS)
22
 
 
23
 
clean:
24
 
        rm -f $(TARGETS) $(PROFILES)