From ad44c013ec383964e20248f73eeece9f3730c3ff Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sun, 27 Jan 2008 12:57:14 +0000 Subject: Define CFLAGS and LDFLAGS for libxenctrl. Signed-off-by: Bastian Blank --- tools/debugger/xenitp/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/debugger') diff --git a/tools/debugger/xenitp/Makefile b/tools/debugger/xenitp/Makefile index 3b1e61b435..eca35a37e7 100644 --- a/tools/debugger/xenitp/Makefile +++ b/tools/debugger/xenitp/Makefile @@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk #CFLAGS += -Werror -g -O0 -CFLAGS += -I $(XEN_LIBXC) +CFLAGS += $(CFLAGS_libxenctrl) HDRS = $(wildcard *.h) OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) @@ -40,8 +40,8 @@ clean: $(RM) *.a *.so *.o *.rpm $(BIN) $(LIBBIN) %: %.c $(HDRS) Makefile - $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS_libxenctrl) XENITP_OBJS=xenitp.o ia64-dis.o ia64-opc.o cpu-ia64-opc.o xenitp: $(XENITP_OBJS) - $(CC) $(CFLAGS) -o $@ $(XENITP_OBJS) -L$(XEN_LIBXC) -lxenctrl + $(CC) $(CFLAGS) -o $@ $(XENITP_OBJS) $(LDFLAGS_libxenctrl) -- cgit v1.2.3