2 # Makefile to build MIG-generated sources and headers
4 SRC = $(SYMROOT)/derived_src
5 HDR = $(SYMROOT)/include
7 build: $(SRC)/.mig.ucsp $(SRC)/.mig.secagent
20 rm -f $(SRC)/.mig.ucsp $(SRC)/.mig.secagent \
21 $(SRC)/ucsp*.cpp $(SRC)/secagent*.cpp $(HDR)/ucsp.h $(HDR)/secagent.h
23 $(SRC)/.mig.ucsp: SecurityServer/ucsp.defs SecurityServer/ucsp_types.h
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
30 $(SRC)/.mig.secagent: SecurityServer/secagent.defs SecurityServer/secagent_types.h
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