Files
xen/tools/vtpm/Rules.mk
T

35 lines
689 B
Makefile

# Base definitions and rules (XEN_ROOT must be defined in including Makefile)
include $(XEN_ROOT)/tools/Rules.mk
#
# Tool definitions
#
# Xen tools installation directory
TOOLS_INSTALL_DIR = $(DESTDIR)/usr/bin
# General compiler flags
CFLAGS = -Werror -g3 -I.
# For generating dependencies
CFLAGS += -Wp,-MD,.$(@F).d
DEP_FILES = .*.d
# Generic project files
HDRS = $(wildcard *.h)
SRCS = $(wildcard *.c)
OBJS = $(patsubst %.c,%.o,$(SRCS))
# Generic (non-header) dependencies
$(SRCS): Makefile $(XEN_ROOT)/tools/Rules.mk $(XEN_ROOT)/tools/vtpm/Rules.mk
$(OBJS): $(SRCS)
-include $(DEP_FILES)
BUILD_EMULATOR = y
# Make sure these are just rules
.PHONY : all build install clean