OLD | NEW |
(Empty) | |
| 1 # Software-based Trusted Platform Module (TPM) Emulator |
| 2 # Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net> |
| 3 # |
| 4 # $Id: Makefile 423 2010-02-22 16:32:22Z mast $ |
| 5 |
| 6 KEXT_NAME = tpm_bridge.kext |
| 7 KEXT_BIN = build/Release/$(KEXT_NAME) |
| 8 KEXT_DIR = $(DESTDIR)/System/Library/Extensions |
| 9 |
| 10 all: |
| 11 @xcodebuild > /dev/null |
| 12 |
| 13 clean: |
| 14 @xcodebuild clean > /dev/null |
| 15 |
| 16 TPM_OWNER ?= root |
| 17 TPM_GROUP ?= wheel |
| 18 |
| 19 install: $(KEXT_BIN) |
| 20 @mkdir -p $(KEXT_DIR) |
| 21 @cp -Rp $(KEXT_BIN) $(KEXT_DIR) |
| 22 @chown -R $(TPM_OWNER):$(TPM_GROUP) $(KEXT_DIR)/$(KEXT_NAME) |
| 23 |
| 24 .PHONY: all clean install |
OLD | NEW |