debuggers.hg

view tools/vtpm_manager/migration/Makefile @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children
line source
1 XEN_ROOT = ../../..
2 include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
4 VPATH = ../manager
6 BIND = vtpm_migratord
7 BINC = vtpm_migrator
9 SRCSD = vtpm_manager_if.c vtpm_migratord.c vtpm_migratord_handler.c vtpm_ipc.c
10 SRCSC = vtpm_manager_if.c vtpm_migrator_if.c vtpm_migratorc.c vtpm_ipc.c
12 OBJSD = $(patsubst %.c,%.o,$(SRCSD))
13 OBJSC = $(patsubst %.c,%.o,$(SRCSC))
15 .PHONY: all
16 all: build
18 .PHONY: build
19 build: $(BIND) $(BINC)
21 .PHONY: install
22 install: build
23 $(INSTALL_PROG) $(BIND) $(TOOLS_INSTALL_DIR)
24 $(INSTALL_PROG) $(BINC) $(TOOLS_INSTALL_DIR)
26 .PHONY: clean
27 clean:
28 rm -f $(BINC) $(BIND)
29 rm -f *.a *.so *.o *.rpm $(DEP_FILES)
31 .PHONY: mrproper
32 mrproper: clean
33 rm -f *~
35 $(BIND): $(OBJSD)
36 $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
38 $(BINC): $(OBJSC)
39 $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
41 # libraries
42 LIBS += ../util/libTCGUtils.a