Import 2.3.1pre2
[davej-history.git] / kernel / Makefile
blobabd520d4499d51a6eb283e4e686bb73bf488a5b5
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) -traditional $< -o $*.s
13 O_TARGET := kernel.o
14 O_OBJS = sched.o dma.o fork.o exec_domain.o panic.o printk.o sys.o \
15 module.o exit.o itimer.o info.o time.o softirq.o resource.o \
16 sysctl.o acct.o capability.o
18 OX_OBJS += signal.o
20 ifeq ($(CONFIG_KMOD),y)
21 O_OBJS += kmod.o
22 endif
24 ifeq ($(CONFIG_MODULES),y)
25 OX_OBJS += ksyms.o
26 endif
28 CFLAGS_sched.o := $(PROFILING) -fno-omit-frame-pointer
30 include $(TOPDIR)/Rules.make