debuggers.hg

view extras/mini-os/arch/ia64/Makefile @ 16963:01e178f7ec6d

minios: Fix ia64 build.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jan 28 12:58:57 2008 +0000 (2008-01-28)
parents dda691c7f25f
children a905c582a406
line source
1 #
2 # Special makefile for ia64.
3 #
5 XEN_ROOT = ../../../..
6 include $(XEN_ROOT)/Config.mk
8 include arch.mk
9 include ../../minios.mk
11 ARCH_SRCS := sal.c
12 ARCH_SRCS += efi.c
13 ARCH_SRCS += time.c
14 ARCH_SRCS += ivt.S
15 ARCH_SRCS += fw.S
16 ARCH_SRCS += common.c
17 ARCH_SRCS += time.c
18 ARCH_SRCS += mm.c
19 ARCH_SRCS += debug.c
20 ARCH_SRCS += sched.c
21 ARCH_SRCS += xencomm.c
22 ARCH_SRCS += __umoddi3.S
23 ARCH_SRCS += __udivdi3.S
24 ARCH_SRCS += __divdi3.S
26 ARCH_OBJS := sal.o
27 ARCH_OBJS += efi.o
28 ARCH_OBJS += time.o
29 ARCH_OBJS += ivt.o
30 ARCH_OBJS += fw.o
31 ARCH_OBJS += common.o
32 ARCH_OBJS += time.o
33 ARCH_OBJS += mm.o
34 ARCH_OBJS += debug.o
35 ARCH_OBJS += sched.o
36 ARCH_OBJS += xencomm.o
37 ARCH_OBJS += __umoddi3.o
38 ARCH_OBJS += __udivdi3.o
39 ARCH_OBJS += __udivsi3.o
40 ARCH_OBJS += __divdi3.o
42 GEN_OFF_SRC := gen_off.c
43 GEN_OFF_ASM := gen_off.s
44 GEN_OFF_H := $(ARCH_INC)/offsets.h
46 all: $(ARCH_LIB)
48 $(GEN_OFF_ASM): $(GEN_OFF_SRC)
49 $(CC) -S -o $@ $(CPPFLAGS) $<
51 $(GEN_OFF_H): $(GEN_OFF_ASM)
52 sed -ne "/^->/ {s/->/#define /; p}" < $< > $@
54 $(ARCH_LIB): $(GEN_OFF_H) $(ARCH_OBJS) $(HEAD_ARCH_OBJ)
55 $(AR) rv $(ARCH_LIB) $(ARCH_OBJS)
57 clean:
58 rm -f $(ARCH_LIB) $(ARCH_OBJS) $(HEAD_ARCH_OBJ)
59 rm -f $(GEN_OFF_ASM)
60 rm -f $(GEN_OFF_H)