diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-27 12:57:14 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-27 12:57:14 +0000 |
commit | ad44c013ec383964e20248f73eeece9f3730c3ff (patch) | |
tree | ba2c1d701bfa7e7eb81e4bd098351a784c09357c /tools/xentrace/Makefile | |
parent | 9f602ddea9e12233d43f2fe2021d33d40c87455a (diff) | |
download | xen-ad44c013ec383964e20248f73eeece9f3730c3ff.tar.gz xen-ad44c013ec383964e20248f73eeece9f3730c3ff.tar.bz2 xen-ad44c013ec383964e20248f73eeece9f3730c3ff.zip |
Define CFLAGS and LDFLAGS for libxenctrl.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/xentrace/Makefile')
-rw-r--r-- | tools/xentrace/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile index 1b345657ea..336ee007e7 100644 --- a/tools/xentrace/Makefile +++ b/tools/xentrace/Makefile @@ -3,9 +3,8 @@ include $(XEN_ROOT)/tools/Rules.mk CFLAGS += -Werror -CFLAGS += -I $(XEN_XC) -CFLAGS += -I $(XEN_LIBXC) -CFLAGS += -I $(XEN_INCLUDE) +CFLAGS += $(CFLAGS_libxenctrl) +LDFLAGS += $(LDFLAGS_libxenctrl) HDRS = $(wildcard *.h) OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) @@ -50,6 +49,6 @@ clean: $(RM) *.a *.so *.o *.rpm $(BIN) $(LIBBIN) %: %.c $(HDRS) Makefile - $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) $(LDFLAGS) -lxenctrl + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) xentrace_%: %.c $(HDRS) Makefile - $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) $(LDFLAGS) -lxenctrl + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) |