mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
DEPS_INCLUDE is currently the same as DEPS, so no functional change. This patch is the result of this perl rune: git-grep -l 'include.*DEPS' | xargs perl -i -pe 'next unless m/^-?include/; s/\bDEPS\b/DEPS_INCLUDE/' I have verified that I haven't missed anything, with this rune: git-grep '\bDEPS\b' Reported-by: Jan Beulich <JBeulich@suse.com> CC: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
XEN_ROOT=$(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
# xenpaging.c and file_ops.c incorrectly use libxc internals
|
|
CFLAGS += $(CFLAGS_libxentoollog) $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore) $(PTHREAD_CFLAGS) -I$(XEN_ROOT)/tools/libxc $(CFLAGS_libxencall)
|
|
LDLIBS += $(LDLIBS_libxentoollog) $(LDLIBS_libxenevtchn) $(LDLIBS_libxenctrl) $(LDLIBS_libxenstore) $(PTHREAD_LIBS)
|
|
LDFLAGS += $(PTHREAD_LDFLAGS)
|
|
|
|
POLICY = default
|
|
|
|
SRC :=
|
|
SRCS += file_ops.c xenpaging.c policy_$(POLICY).c
|
|
SRCS += pagein.c
|
|
|
|
CFLAGS += -Werror
|
|
CFLAGS += -Wno-unused
|
|
|
|
OBJS = $(SRCS:.c=.o)
|
|
IBINS = xenpaging
|
|
|
|
all: $(IBINS)
|
|
|
|
xenpaging: $(OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(APPEND_LDFLAGS)
|
|
|
|
install: all
|
|
$(INSTALL_DIR) -m 0700 $(DESTDIR)$(XEN_PAGING_DIR)
|
|
$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN)
|
|
$(INSTALL_PROG) $(IBINS) $(DESTDIR)$(LIBEXEC_BIN)
|
|
|
|
uninstall:
|
|
rm -f $(addprefix $(DESTDIR)$(LIBEXEC_BIN)/, $(IBINS))
|
|
|
|
clean:
|
|
rm -f *.o *~ $(DEPS_RM) xen TAGS $(IBINS) $(LIB)
|
|
|
|
distclean: clean
|
|
|
|
.PHONY: clean install distclean uninstall
|
|
|
|
.PHONY: TAGS
|
|
TAGS:
|
|
etags -t $(SRCS) *.h
|
|
|
|
-include $(DEPS_INCLUDE)
|