| Index: tpmd_dev/darwin/Makefile
|
| diff --git a/tpmd_dev/darwin/Makefile b/tpmd_dev/darwin/Makefile
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b3e1d0df6102cc4bbe62af0728822c914321846
|
| --- /dev/null
|
| +++ b/tpmd_dev/darwin/Makefile
|
| @@ -0,0 +1,24 @@
|
| +# Software-based Trusted Platform Module (TPM) Emulator
|
| +# Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
|
| +#
|
| +# $Id: Makefile 423 2010-02-22 16:32:22Z mast $
|
| +
|
| +KEXT_NAME = tpm_bridge.kext
|
| +KEXT_BIN = build/Release/$(KEXT_NAME)
|
| +KEXT_DIR = $(DESTDIR)/System/Library/Extensions
|
| +
|
| +all:
|
| + @xcodebuild > /dev/null
|
| +
|
| +clean:
|
| + @xcodebuild clean > /dev/null
|
| +
|
| +TPM_OWNER ?= root
|
| +TPM_GROUP ?= wheel
|
| +
|
| +install: $(KEXT_BIN)
|
| + @mkdir -p $(KEXT_DIR)
|
| + @cp -Rp $(KEXT_BIN) $(KEXT_DIR)
|
| + @chown -R $(TPM_OWNER):$(TPM_GROUP) $(KEXT_DIR)/$(KEXT_NAME)
|
| +
|
| +.PHONY: all clean install
|
|
|