debuggers.hg

view tools/fs-back/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 2725f82a7dca
children 809b20f066fb
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 INCLUDES += -I.. -I../lib
6 IBIN = fs-backend
8 CFLAGS += -Werror
9 CFLAGS += -Wno-unused
10 CFLAGS += -fno-strict-aliasing
11 CFLAGS += $(CFLAGS_libxenctrl)
12 CFLAGS += $(CFLAGS_libxenstore)
13 CFLAGS += $(INCLUDES) -I.
14 CFLAGS += -D_GNU_SOURCE
16 LIBS := -L. -L.. -L../lib
17 LIBS += $(LDFLAGS_libxenctrl)
18 LIBS += $(LDFLAGS_libxenstore)
19 LIBS += -lrt
21 OBJS := fs-xenbus.o fs-ops.o
23 all: $(IBIN)
25 fs-backend: $(OBJS) fs-backend.c
26 $(CC) $(CFLAGS) -o fs-backend $(OBJS) $(LIBS) fs-backend.c
28 install: all
29 $(INSTALL_PROG) $(IBIN) $(DESTDIR)$(SBINDIR)
31 clean:
32 rm -rf *.o *~ $(DEPS) xen $(IBIN) $(LIB)
34 .PHONY: clean install
36 -include $(DEPS)