debuggers.hg

view extras/mini-os/arch/ia64/Makefile @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children 5c0bf00e371d
line source
1 #
2 # Special makefile for ia64.
3 #
5 XEN_ROOT = ../../../..
6 include $(XEN_ROOT)/Config.mk
8 include ../../Config.mk
10 include arch.mk
11 include ../../minios.mk
13 ARCH_SRCS := sal.c
14 ARCH_SRCS += efi.c
15 ARCH_SRCS += time.c
16 ARCH_SRCS += ivt.S
17 ARCH_SRCS += fw.S
18 ARCH_SRCS += common.c
19 ARCH_SRCS += time.c
20 ARCH_SRCS += mm.c
21 ARCH_SRCS += debug.c
22 ARCH_SRCS += sched.c
23 ARCH_SRCS += xencomm.c
24 ARCH_SRCS += __umoddi3.S
25 ARCH_SRCS += __udivdi3.S
26 ARCH_SRCS += __divdi3.S
28 ARCH_OBJS := sal.o
29 ARCH_OBJS += efi.o
30 ARCH_OBJS += time.o
31 ARCH_OBJS += ivt.o
32 ARCH_OBJS += fw.o
33 ARCH_OBJS += common.o
34 ARCH_OBJS += time.o
35 ARCH_OBJS += mm.o
36 ARCH_OBJS += debug.o
37 ARCH_OBJS += sched.o
38 ARCH_OBJS += xencomm.o
39 ARCH_OBJS += __umoddi3.o
40 ARCH_OBJS += __udivdi3.o
41 ARCH_OBJS += __udivsi3.o
42 ARCH_OBJS += __divdi3.o
44 GEN_OFF_SRC := gen_off.c
45 GEN_OFF_ASM := gen_off.s
46 GEN_OFF_H := $(MINI-OS_ROOT)/include/$(ARCH_INC)/offsets.h
48 all: $(ARCH_LIB)
50 $(GEN_OFF_ASM): $(GEN_OFF_SRC)
51 $(CC) -S -o $@ $(CPPFLAGS) $<
53 $(GEN_OFF_H): $(GEN_OFF_ASM)
54 sed -ne "/^->/ {s/->/#define /; p}" < $< > $@
56 $(ARCH_LIB): $(GEN_OFF_H) $(ARCH_OBJS) $(HEAD_ARCH_OBJ)
57 $(AR) rv $(ARCH_LIB) $(ARCH_OBJS)
59 clean:
60 rm -f $(ARCH_LIB) $(ARCH_OBJS) $(HEAD_ARCH_OBJ)
61 rm -f $(GEN_OFF_ASM)
62 rm -f $(GEN_OFF_H)