aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenmon
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:57:14 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-27 12:57:14 +0000
commitad44c013ec383964e20248f73eeece9f3730c3ff (patch)
treeba2c1d701bfa7e7eb81e4bd098351a784c09357c /tools/xenmon
parent9f602ddea9e12233d43f2fe2021d33d40c87455a (diff)
downloadxen-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/xenmon')
-rw-r--r--tools/xenmon/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/xenmon/Makefile b/tools/xenmon/Makefile
index 886d5b2d02..1a53d65d22 100644
--- a/tools/xenmon/Makefile
+++ b/tools/xenmon/Makefile
@@ -15,9 +15,8 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += -I $(XEN_XC)
-CFLAGS += -I $(XEN_LIBXC)
-CFLAGS += -I $(XEN_INCLUDE)
-LDFLAGS += -L $(XEN_LIBXC)
+CFLAGS += $(CFLAGS_libxenctrl)
+LDFLAGS += $(LDFLAGS_libxenctrl)
BIN = xentrace_setmask xenbaked
SCRIPTS = xenmon.py
@@ -41,6 +40,6 @@ clean:
%: %.c Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
xentrace_%: %.c Makefile
- $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<