debuggers.hg

view tools/xenbackendd/Makefile @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents 9ced12c28e05
children d3de6f484610
line source
1 # Copyright (c) 2009 Advanced Micro Devices, Inc.
2 #
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.
6 #
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.
12 XEN_ROOT=../..
13 include $(XEN_ROOT)/tools/Rules.mk
15 CFLAGS += -Werror
16 CFLAGS += $(CFLAGS_libxenstore)
17 CPPFLAGS += -DXEN_SCRIPT_DIR="\"$(XEN_SCRIPT_DIR)\""
18 LDFLAGS += $(LDFLAGS_libxenstore)
20 SBIN = xenbackendd
22 .PHONY: all
23 all: build
25 .PHONY: build
26 build: $(SBIN)
28 .PHONY: install
29 install: build
30 $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
31 $(INSTALL_PROG) xenbackendd $(DESTDIR)$(SBINDIR)
33 .PHONY: clean
34 clean:
35 rm -f $(SBIN) $(DEPS)
38 %: %.c Makefile
39 $(CC) $(CFLAGS) $(CPPFLAGS) $< $(LDFLAGS) -o $@
41 -include $(DEPS)