ia64/xen-unstable

view extras/mini-os/arch/ia64/Makefile @ 14068:707a696e840d

[IA64][MINIOS] Build fix

Fix specifier changed in common minios makerules.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
author awilliam@xenbuild2.aw
date Fri Feb 23 14:06:08 2007 -0700 (2007-02-23)
parents ac18d251df63
children dda691c7f25f
line source
1 #
2 # Special makefile for ia64.
3 #
5 include arch.mk
6 include ../../minios.mk
8 ARCH_SRCS := sal.c
9 ARCH_SRCS += efi.c
10 ARCH_SRCS += time.c
11 ARCH_SRCS += ivt.S
12 ARCH_SRCS += fw.S
13 ARCH_SRCS += common.c
14 ARCH_SRCS += time.c
15 ARCH_SRCS += mm.c
16 ARCH_SRCS += debug.c
17 ARCH_SRCS += sched.c
18 ARCH_SRCS += xencomm.c
19 ARCH_SRCS += __umoddi3.S
20 ARCH_SRCS += __udivdi3.S
21 ARCH_SRCS += __divdi3.S
23 ARCH_OBJS := sal.o
24 ARCH_OBJS += efi.o
25 ARCH_OBJS += time.o
26 ARCH_OBJS += ivt.o
27 ARCH_OBJS += fw.o
28 ARCH_OBJS += common.o
29 ARCH_OBJS += time.o
30 ARCH_OBJS += mm.o
31 ARCH_OBJS += debug.o
32 ARCH_OBJS += sched.o
33 ARCH_OBJS += xencomm.o
34 ARCH_OBJS += __umoddi3.o
35 ARCH_OBJS += __udivdi3.o
36 ARCH_OBJS += __divdi3.o
38 GEN_OFF_SRC := gen_off.c
39 GEN_OFF_BIN := gen_off
40 GEN_OFF_H := $(ARCH_INC)/offsets.h
42 all: $(ARCH_LIB)
44 $(GEN_OFF_BIN): $(GEN_OFF_SRC)
45 $(CC) -o $@ $(CPPFLAGS) $<
47 $(GEN_OFF_H): $(GEN_OFF_BIN)
48 ./$(GEN_OFF_BIN) > $(GEN_OFF_H)
50 $(ARCH_LIB): $(GEN_OFF_H) $(ARCH_OBJS) $(HEAD_ARCH_OBJ)
51 $(AR) rv $(ARCH_LIB) $(ARCH_OBJS)
53 clean:
54 rm -f $(ARCH_LIB) $(ARCH_OBJS) $(HEAD_ARCH_OBJ)
55 rm -f $(GEN_OFF_BIN)
56 rm -f $(GEN_OFF_H)