Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 10:29:37 -0800 (PST)
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46204 for review
Message-ID:  <200401301829.i0UITbkj029603@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46204

Change 46204 by areisse@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 $@ $<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401301829.i0UITbkj029603>