]> git.saurik.com Git - apple/security.git/blob - SecurityServer/Makefile
Security-30.1.tar.gz
[apple/security.git] / SecurityServer / Makefile
1 #
2 # Makefile to build MIG-generated sources and headers
3 #
4 SRC = $(SYMROOT)/derived_src
5 HDR = $(SYMROOT)/include
6
7 build: $(SRC)/.mig.ucsp $(SRC)/.mig.secagent
8
9 debug: build
10
11 profile: build
12
13 install: build
14
15 installhdrs: build
16
17 installsrc:
18
19 clean:
20 rm -f $(SRC)/.mig.ucsp $(SRC)/.mig.secagent \
21 $(SRC)/ucsp*.cpp $(SRC)/secagent*.cpp $(HDR)/ucsp.h $(HDR)/secagent.h
22
23 $(SRC)/.mig.ucsp: SecurityServer/ucsp.defs SecurityServer/ucsp_types.h
24 mkdir -p $(SRC)
25 mkdir -p $(HDR)
26 cd /tmp; mig -server $(SRC)/ucspServer.cpp -user $(SRC)/ucspUser.cpp \
27 -header $(HDR)/ucsp.h $(SRCROOT)/SecurityServer/ucsp.defs
28 touch $(SRC)/.mig.ucsp
29
30 $(SRC)/.mig.secagent: SecurityServer/secagent.defs SecurityServer/secagent_types.h
31 mkdir -p $(SRC)
32 mkdir -p $(HDR)
33 cd /tmp; mig -server $(SRC)/secagentServer.cpp -user $(SRC)/secagentUser.cpp \
34 -header $(HDR)/secagent.h $(SRCROOT)/SecurityServer/secagent.defs
35 touch $(SRC)/.mig.secagent