PERFORCE change 108413 for review
Todd Miller
millert at FreeBSD.org
Wed Oct 25 12:24:16 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=108413
Change 108413 by millert at millert_macbook on 2006/10/25 19:17:23
When building policy in /etc/sedarwin/refpolicy, use the
pre-generated .flask files.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/Makefile#4 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/refpolicy/Makefile#4 (text+ko) ====
@@ -78,7 +78,7 @@
SEMOD_EXP ?= $(BINDIR)/semodule_expand
LOADPOLICY ?= $(SBINDIR)/load_policy
SETFILES ?= $(BINDIR)/setfiles
-MIG ?= $(BINDIR)/mig
+MIG_DEFS ?= bootstrap.flask notify_ipc.flask mtest.flask
endif
XMLLINT ?= $(BINDIR)/xmllint
@@ -628,7 +628,11 @@
$(mig_msgids): $(MIG_DEFS)
echo > $@
+ifeq ($(SEDARWIN_BUILD),1)
for i in $(MIG_DEFS); do $(MIG) -user /dev/null -server /dev/null -header /dev/null -sheader /dev/null -flasksc `basename $$i .defs`.flask $$i; cat `basename $$i .defs`.flask >> $@; done
+else
+ cat $(MIG_DEFS) >> $@
+endif
$(mig_avs): $(mig_msgids)
cat $< | awk '{sub("^_*", "", $$1); print $$1, $$2}' > $@
More information about the trustedbsd-cvs
mailing list