debuggers.hg

view tools/debugger/gdbsx/Makefile @ 21949:668f71224241

gdbsx: Install into correct directory $(SBINDIR)

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Aug 02 16:58:50 2010 +0100 (2010-08-02)
parents de04fe4e472c
children
line source
1 XEN_ROOT = ../../..
2 include ./Rules.mk
4 .PHONY: all
5 all:
6 $(MAKE) -C gx
7 $(MAKE) -C xg
8 $(MAKE) gdbsx
10 .PHONY: clean
11 clean:
12 rm -f xg_all.a gx_all.a gdbsx
13 set -e; for d in xg gx; do $(MAKE) -C $$d clean; done
15 .PHONY: install
16 install: all
17 [ -d $(DESTDIR)$(SBINDIR) ] || $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
18 $(INSTALL_PROG) gdbsx $(DESTDIR)$(SBINDIR)/gdbsx
20 gdbsx: gx/gx_all.a xg/xg_all.a
21 $(CC) -o $@ $^
23 xg/xg_all.a:
24 $(MAKE) -C xg
25 gx/gx_all.a:
26 $(MAKE) -C gx