Files
xen/tools/vtpm_manager/migration/Makefile
T
kfraser@localhost.localdomain 6b900ffb50 [VTPM_Tools] Support for (non-local) Migration added. Local migration
works provided that the hotplug scripts deliver the "suspend" before
the "resume," but this is not always true.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com>
2006-07-10 15:38:49 +01:00

40 lines
832 B
Makefile

XEN_ROOT = ../../..
include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
BIND = vtpm_migratord
BINC = vtpm_migrator
SRCSD = vtpm_manager_if.c vtpm_migratord.c vtpm_migratord_handler.c vtpm_ipc.c
SRCSC = vtpm_manager_if.c vtpm_migrator_if.c vtpm_migratorc.c vtpm_ipc.c
OBJSD = $(patsubst %.c,%.o,$(SRCSD))
OBJSC = $(patsubst %.c,%.o,$(SRCSC))
.PHONY: all
all: build
.PHONY: build
build: $(BIND) $(BINC)
.PHONY: install
install: build
$(INSTALL_PROG) $(BIND) $(TOOLS_INSTALL_DIR)
$(INSTALL_PROG) $(BINC) $(TOOLS_INSTALL_DIR)
.PHONY: clean
clean:
rm -f *.a *.so *.o *.rpm $(DEP_FILES)
.PHONY: mrproper
mrproper: clean
rm -f $(BINC) $(BIND) *~
$(BIND): $(OBJSD)
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
$(BINC): $(OBJSC)
$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
# libraries
LIBS += ../util/libTCGUtils.a