Subversion Repositories HelenOS-historic

Rev

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