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...
11 $(CC
) $(AFLAGS
) -traditional
-c
$< -o
$*.o
16 all: sun3-head.o kernel.o
20 O_OBJS
:= entry.o process.o traps.o ints.o signal.o ptrace.o \
21 sys_m68k.o time.o semaphore.o
22 OX_OBJS
:= setup.o m68k_ksyms.o
28 head.o
: head.S m68k_defs.h
30 entry.o
: entry.S m68k_defs.h
32 sun3-head.o
: sun3-head.S m68k_defs.h
34 m68k_defs.h
: m68k_defs.c m68k_defs.head
36 SUNPRO_DEPENDENCIES
="m68k_defs.d m68k_defs.h" \
37 $(CC
) $(filter-out -MD
,$(CFLAGS
)) -S m68k_defs.c
38 cp m68k_defs.head m68k_defs.h
39 grep
'^#define' m68k_defs.s
>> m68k_defs.h
43 include $(TOPDIR
)/Rules.make