1
# Copyright (C) HP Labs, Palo Alto and Fort Collins, 2005
2
# Author: Diwaker Gupta <diwaker.gupta@hp.com>
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; under version 2 of the License.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
14
include $(XEN_ROOT)/tools/Rules.mk
17
CFLAGS += -I $(XEN_XC)
18
CFLAGS += $(CFLAGS_libxenctrl)
19
LDFLAGS += $(LDFLAGS_libxenctrl)
21
BIN = xentrace_setmask xenbaked
32
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
33
$(INSTALL_PROG) xenbaked $(DESTDIR)$(SBINDIR)/xenbaked
34
$(INSTALL_PROG) xentrace_setmask $(DESTDIR)$(SBINDIR)/xentrace_setmask
35
$(INSTALL_PROG) xenmon.py $(DESTDIR)$(SBINDIR)/xenmon.py
36
$(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
37
$(INSTALL_DATA) README $(DESTDIR)$(DOCDIR)/README.xenmon
45
$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
46
xentrace_%: %.c Makefile
47
$(CC) $(CFLAGS) $< $(LDFLAGS) -o $@