root/Makefile

Revision 13cd4c8960688af11ad23b4c946149015c80d549, 0.8 kB (checked in by Joshua Brindle <method@manicmethod.com>, 2 years ago)

initial import from svn trunk revision 2950

  • Property mode set to 100644
Line 
1 SUBDIRS=libsepol libselinux libsemanage sepolgen checkpolicy policycoreutils # policy
2 PYSUBDIRS=libselinux libsemanage
3
4 ifeq ($(DEBUG),1)
5         export CFLAGS = -g3 -O0 -gdwarf-2 -fno-strict-aliasing -Wall -Wshadow -Werror
6         export LDFLAGS = -g
7 endif
8
9 install relabel:
10         @for subdir in $(SUBDIRS); do \
11                 (cd $$subdir && $(MAKE) $@) || exit 1; \
12         done
13
14 install-pywrap swigify:
15         @for subdir in $(PYSUBDIRS); do \
16                 (cd $$subdir && $(MAKE) $@) || exit 1; \
17         done
18
19 clean:
20         @for subdir in $(SUBDIRS); do \
21                 (cd $$subdir && $(MAKE) $@) || exit 1; \
22         done
23
24 distclean:
25         @for subdir in libselinux libsemanage; do \
26                 (cd $$subdir && $(MAKE) $@) || exit 1; \
27         done
28
29 test:
30         @for subdir in $(SUBDIRS); do \
31                 (cd $$subdir && $(MAKE) $@) || exit 1; \
32         done
33
34 indent:
35         @for subdir in $(SUBDIRS); do \
36                 (cd $$subdir && $(MAKE) $@) || exit 1; \
37         done
Note: See TracBrowser for help on using the browser.