1XEN_ROOT = $(CURDIR)/../../../../.. 2include $(XEN_ROOT)/tools/firmware/Rules.mk 3 4TARGET = tcgbiosext.o 5 6CFLAGS += $(CFLAGS_xeninclude) -I.. -I../.. -I../../../../libacpi 7$(call cc-option-add,CFLAGS,CC,-fno-pic) 8$(call cc-option-add,CFLAGS,CC,-fno-PIE) 9 10.PHONY: all 11all: $(TARGET) 12 13.PHONY: clean 14clean: 15 rm -rf *.o $(TARGET) $(DEPS_RM) 16 17.PHONY: distclean 18distclean: clean 19 20$(TARGET): tcgbios.o tpm_drivers.o 21 $(LD) $(LDFLAGS_DIRECT) -r $^ -o $@ 22 23-include $(DEPS_INCLUDE) 24