summaryrefslogtreecommitdiff
path: root/gl/modules/selinux-h
blob: 603e057f0741b56c0efdc357d477bfc13e7b2c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description:
SELinux-related headers for systems that lack them.

Files:
lib/se-context.in.h
lib/se-selinux.in.h
m4/selinux-context-h.m4
m4/selinux-selinux-h.m4

Depends-on:

configure.ac:
gl_HEADERS_SELINUX_SELINUX_H
gl_HEADERS_SELINUX_CONTEXT_H

Makefile.am:
lib_SOURCES += se-context.in.h se-selinux.in.h

BUILT_SOURCES += $(SELINUX_SELINUX_H)
selinux/selinux.h: se-selinux.in.h
	rm -f $@-t $@
	$(MKDIR_P) selinux
	cp $(srcdir)/se-selinux.in.h $@-t
	chmod a-x $@-t
	mv $@-t $@
MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t

BUILT_SOURCES += $(SELINUX_CONTEXT_H)
selinux/context.h: se-context.in.h
	rm -f $@-t $@
	$(MKDIR_P) selinux
	cp $(srcdir)/se-context.in.h $@-t
	chmod a-x $@-t
	mv $@-t $@
MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
MOSTLYCLEANDIRS += selinux

Include:
#include <selinux/selinux.h>
#include <selinux/context.h>

License:
LGPLv2+

Maintainer:
Jim Meyering