mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
The previous changeset, e4f5949c44 ("tools: Add -Werror by default to all
tools/"), added "-Werror" to CFLAGS in tools/Rules.mk. Remove it from
everywhere else now it is duplicated.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Acked-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
45 lines
826 B
Makefile
45 lines
826 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
TARGET := test-tsx
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) -- *.o $(TARGET) $(DEPS_RM)
|
|
|
|
.PHONY: distclean
|
|
distclean: clean
|
|
$(RM) -- *~
|
|
|
|
.PHONY: install
|
|
install: all
|
|
$(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN)
|
|
$(INSTALL_PROG) $(TARGET) $(DESTDIR)$(LIBEXEC_BIN)
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
$(RM) -- $(DESTDIR)$(LIBEXEC_BIN)/$(TARGET)
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
|
|
CFLAGS += -I$(XEN_ROOT)/tools/libs/ctrl -I$(XEN_ROOT)/tools/libs/guest
|
|
CFLAGS += $(CFLAGS_xeninclude)
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
CFLAGS += $(CFLAGS_libxenguest)
|
|
CFLAGS += $(APPEND_CFLAGS)
|
|
|
|
LDFLAGS += $(LDLIBS_libxenctrl)
|
|
LDFLAGS += $(LDLIBS_libxenguest)
|
|
LDFLAGS += $(APPEND_LDFLAGS)
|
|
|
|
%.o: Makefile
|
|
|
|
$(TARGET): test-tsx.o
|
|
$(CC) -o $@ $< $(LDFLAGS)
|
|
|
|
-include $(DEPS_INCLUDE)
|