1
# Copyright (c) 2009 Advanced Micro Devices, Inc.
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; under version 2 of the License.
7
# This program is distributed in the hope that it will be useful,
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
# GNU General Public License for more details.
13
include $(XEN_ROOT)/tools/Rules.mk
16
CFLAGS += $(CFLAGS_libxenstore)
17
CPPFLAGS += -DXEN_SCRIPT_DIR="\"$(XEN_SCRIPT_DIR)\""
18
LDFLAGS += $(LDFLAGS_libxenstore)
30
$(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
31
$(INSTALL_PROG) xenbackendd $(DESTDIR)$(SBINDIR)
39
$(CC) $(CFLAGS) $(CPPFLAGS) $< $(LDFLAGS) -o $@