mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
The VTPM manager and VTPMs fully support both 32 and 64 bit OSes. The tpm_emulator (provided for debugging on TPM-less machines) does not support 64-bit kernels by default though. See the README for details on how to use it on 64-bit kernels. (Vinnie Scarlata, Intel Corporation) Signed-off-by: Joe Cihula <joe.cihula@intel.com>
28 lines
552 B
Makefile
28 lines
552 B
Makefile
XEN_ROOT = ../../..
|
|
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
|
|
|
|
BIN = vtpm_managerd
|
|
|
|
all: build
|
|
|
|
build: $(BIN)
|
|
|
|
install: build
|
|
if [ ! -d "$(DESTDIR)/var/vtpm/fifos" ]; \
|
|
then mkdir -p $(DESTDIR)/var/vtpm/fifos; \
|
|
fi
|
|
$(INSTALL_PROG) $(BIN) $(TOOLS_INSTALL_DIR)
|
|
|
|
clean:
|
|
rm -f *.a *.so *.o *.rpm $(DEP_FILES)
|
|
|
|
mrproper: clean
|
|
rm -f $(BIN) *~
|
|
|
|
$(BIN): $(OBJS)
|
|
$(CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
|
|
|
# libraries
|
|
LIBS += ../tcs/libTCS.a ../util/libTCGUtils.a ../crypto/libtcpaCrypto.a
|
|
LIBS += -lcrypto -lpthread -lrt -lm
|