Subversion Repositories HelenOS

Rev

Rev 293 | Rev 309 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jermar 1
CC=gcc
2
AS=as
3
LD=ld
293 palkovsky 4
OBJDUMP=objdump
268 palkovsky 5
OBJCOPY=objcopy
6
BFD_NAME=elf32-i386
7
BFD_ARCH=i386
1 jermar 8
 
268 palkovsky 9
 
1 jermar 10
DEFS:=-DARCH=$(ARCH)
11
 
12
ifdef SMP
13
DEFS+=-D$(SMP)
14
endif
15
 
16
ifdef HT
17
DEFS+=-D$(HT)
18
endif
19
 
20
CPPFLAGS=$(DEFS) -nostdinc -I../include
195 vana 21
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3
289 palkovsky 22
LFLAGS=-M -no-check-sections
1 jermar 23
 
301 palkovsky 24
../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
25
	$(CC) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@
26
 
1 jermar 27
arch_sources= \
28
	arch/context.s \
29
	arch/debug/panic.s \
30
	arch/cpuid.s \
31
	arch/delay.s \
132 vana 32
	arch/asm.S \
22 jermar 33
	arch/proc/scheduler.c \
29 jermar 34
	arch/acpi/acpi.c \
33 jermar 35
	arch/acpi/madt.c \
30 jermar 36
	arch/bios/bios.c \
1 jermar 37
	arch/smp/ap.S \
38
	arch/smp/apic.c \
34 jermar 39
	arch/smp/mps.c \
40
	arch/smp/smp.c \
111 palkovsky 41
	arch/atomic.S \
7 jermar 42
	arch/smp/ipi.c \
1 jermar 43
	arch/ia32.c \
44
	arch/interrupt.c \
45
	arch/pm.c \
46
	arch/userspace.c \
47
	arch/cpu/cpu.c \
48
	arch/mm/frame.c \
146 cejka 49
	arch/mm/memory_init.c \
1 jermar 50
	arch/mm/page.c \
51
	arch/mm/tlb.c \
52
	arch/drivers/i8042.c \
53
	arch/drivers/i8254.c \
54
	arch/drivers/i8259.c \
55
	arch/drivers/ega.c \
52 vana 56
	arch/boot/boot.S \
95 cejka 57
	arch/boot/memmap.S\
228 cejka 58
	arch/fpu_context.c\
59
	arch/fmath.c