PERFORCE change 46204 for review

Andrew Reisse areisse at FreeBSD.org
Fri Jan 30 18:29:37 GMT 2004


http://perforce.freebsd.org/chv.cgi?CH=46204

Change 46204 by areisse at areisse_ibook on 2004/01/30 10:29:28

	Build stubs for security.defs to be included in libmac.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/libmac/Makefile#3 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/libmac/Makefile#3 (text+ko) ====

@@ -1,7 +1,12 @@
 
 include ../Makeconfig
 
-OBJS = mac.o mac_get.o mac_set.o mac_exec.o
+OBJS = mac.o mac_get.o mac_set.o mac_exec.o security.o
+
+VPATH = $(EXPORT_HDRS)/osfmk/mach /usr/include/mach
+
+%.c: %.defs
+	mig $(CFLAGS) -user $@ -header /dev/null -server /dev/null -sheader /dev/null $<
 
 libmac.a: $(OBJS)
 	ar cr $@ $(OBJS)
@@ -12,3 +17,6 @@
 
 clean:
 	rm -f $(OBJS) libmac.a
+
+security.o: security.c
+	gcc -c -o $@ $<
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list