Import 2.3.99pre4-2
[davej-history.git] / arch / ia64 / kernel / Makefile
blob6631d33c31d1131c31a50dd555333fac3d3501a5
2 # Makefile for the linux kernel.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
10 .S.s:
11 $(CPP) $(AFLAGS) -o $*.s $<
12 .S.o:
13 $(CC) $(AFLAGS) -c -o $*.o $<
15 all: kernel.o head.o init_task.o
17 O_TARGET := kernel.o
18 O_OBJS := acpi.o entry.o gate.o efi.o efi_stub.o irq.o irq_ia64.o irq_internal.o ivt.o \
19 pal.o pci-dma.o process.o perfmon.o ptrace.o sal.o sal_stub.o semaphore.o setup.o signal.o \
20 sys_ia64.o traps.o time.o unaligned.o unwind.o
21 #O_OBJS := fpreg.o
22 #OX_OBJS := ia64_ksyms.o
24 ifeq ($(CONFIG_IA64_GENERIC),y)
25 O_OBJS += machvec.o
26 endif
28 ifdef CONFIG_PCI
29 O_OBJS += pci.o
30 endif
32 ifdef CONFIG_SMP
33 O_OBJS += smp.o irq_lock.o
34 endif
36 ifeq ($(CONFIG_MCA),y)
37 O_OBJS += mca.o mca_asm.o
38 endif
40 clean::
42 include $(TOPDIR)/Rules.make