File: Makefile

package info (click to toggle)
google-compute-image-packages 20190124-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,344 kB
  • sloc: python: 6,338; sh: 1,748; cpp: 1,535; ansic: 404; makefile: 160
file content (17 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SELINUX POLICY
MOD_BASE = oslogin
SELINUX_MODULE_SRC = $(MOD_BASE).te
SELINUX_MOD_FILE = $(MOD_BASE).mod
SELINUX_FC_FILE = $(MOD_BASE).fc
SELINUX_MODULE = $(MOD_BASE).pp

all: $(SELINUX_MODULE)

$(SELINUX_MOD_FILE): $(SELINUX_MODULE_SRC)
	checkmodule -M -m -o $(SELINUX_MOD_FILE) $(SELINUX_MODULE_SRC)

$(SELINUX_MODULE): $(SELINUX_MOD_FILE)
	semodule_package -o $(SELINUX_MODULE) -m  $(SELINUX_MOD_FILE) -f $(SELINUX_FC_FILE)

clean:
	rm -f $(SELINUX_MODULE) $(SELINUX_MOD_FILE)