direct-io.hg

view xen/Rules.mk @ 9259:58d1ef215706

Add Summagraphics Tablet emulation for VNC users. The current PS/2 emulation
is unusable under VNC since a PS/2 mouse provides deltas while VNC only
provides absolute coordinates. Fortunately, the Summagraphics Tablet provides
absolute coordinates and works perfectly with VNC.

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Mar 16 18:57:54 2006 +0100 (2006-03-16)
parents 85b34394c9a2
children f513384a18ee
line source
2 #
3 # If you change any of these configuration options then you must
4 # 'make clean' before rebuilding.
5 #
6 verbose ?= n
7 perfc ?= n
8 perfc_arrays?= n
9 crash_debug ?= n
11 XEN_ROOT=$(BASEDIR)/..
12 include $(XEN_ROOT)/Config.mk
14 # Set ARCH/SUBARCH appropriately.
15 override COMPILE_SUBARCH := $(XEN_COMPILE_ARCH)
16 override TARGET_SUBARCH := $(XEN_TARGET_ARCH)
17 override COMPILE_ARCH := $(patsubst x86%,x86,$(XEN_COMPILE_ARCH))
18 override TARGET_ARCH := $(patsubst x86%,x86,$(XEN_TARGET_ARCH))
20 TARGET := $(BASEDIR)/xen
21 HDRS := $(wildcard $(BASEDIR)/include/xen/*.h)
22 HDRS += $(wildcard $(BASEDIR)/include/public/*.h)
23 HDRS += $(wildcard $(BASEDIR)/include/asm-$(TARGET_ARCH)/*.h)
24 HDRS += $(wildcard $(BASEDIR)/include/asm-$(TARGET_ARCH)/$(TARGET_SUBARCH)/*.h)
25 # Do not depend on auto-generated header files.
26 HDRS := $(subst $(BASEDIR)/include/asm-$(TARGET_ARCH)/asm-offsets.h,,$(HDRS))
27 HDRS := $(subst $(BASEDIR)/include/xen/banner.h,,$(HDRS))
28 HDRS := $(subst $(BASEDIR)/include/xen/compile.h,,$(HDRS))
30 C_SRCS := $(wildcard *.c)
31 S_SRCS := $(wildcard *.S)
32 OBJS := $(patsubst %.S,%.o,$(S_SRCS))
33 OBJS += $(patsubst %.c,%.o,$(C_SRCS))
35 # Note that link order matters!
36 ALL_OBJS := $(BASEDIR)/common/common.o
37 ALL_OBJS += $(BASEDIR)/drivers/char/driver.o
38 ALL_OBJS += $(BASEDIR)/drivers/acpi/driver.o
39 ifeq ($(ACM_SECURITY),y)
40 ALL_OBJS += $(BASEDIR)/acm/acm.o
41 CFLAGS += -DACM_SECURITY
42 endif
43 ALL_OBJS += $(BASEDIR)/arch/$(TARGET_ARCH)/arch.o
45 include $(BASEDIR)/arch/$(TARGET_ARCH)/Rules.mk
47 CFLAGS += -g -D__XEN__
49 ifneq ($(debug)$(verbose),nn)
50 CFLAGS += -DVERBOSE
51 endif
53 ifeq ($(crash_debug),y)
54 CFLAGS += -DCRASH_DEBUG
55 endif
57 ifeq ($(perfc),y)
58 CFLAGS += -DPERF_COUNTERS
59 ifeq ($(perfc_arrays),y)
60 CFLAGS += -DPERF_ARRAYS
61 endif
62 endif
64 CFLAGS := $(strip $(CFLAGS))
66 %.o: %.c $(HDRS) Makefile
67 $(CC) $(CFLAGS) -c $< -o $@
69 %.o: %.S $(HDRS) Makefile
70 $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $@