Subversion Repositories HelenOS-historic

Rev

Rev 22 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22 Rev 29
1
CC=gcc
1
CC=gcc
2
AS=as
2
AS=as
3
LD=ld
3
LD=ld
4
 
4
 
5
DEFS:=-DARCH=$(ARCH)
5
DEFS:=-DARCH=$(ARCH)
6
 
6
 
7
ifdef SMP
7
ifdef SMP
8
DEFS+=-D$(SMP)
8
DEFS+=-D$(SMP)
9
endif
9
endif
10
 
10
 
11
ifdef HT
11
ifdef HT
12
DEFS+=-D$(HT)
12
DEFS+=-D$(HT)
13
endif
13
endif
14
 
14
 
15
CPPFLAGS=$(DEFS) -nostdinc -I../include
15
CPPFLAGS=$(DEFS) -nostdinc -I../include
16
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Wmissing-prototypes -Werror -O3
16
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Wmissing-prototypes -Werror -O3
17
LFLAGS=-M -no-check-sections -T ../arch/ia32/_link.ld
17
LFLAGS=-M -no-check-sections -T ../arch/ia32/_link.ld
18
 
18
 
19
arch_sources= \
19
arch_sources= \
20
	arch/context.s \
20
	arch/context.s \
21
	arch/debug/panic.s \
21
	arch/debug/panic.s \
22
	arch/cpuid.s \
22
	arch/cpuid.s \
23
	arch/delay.s \
23
	arch/delay.s \
24
	arch/asm.s \
24
	arch/asm.s \
25
	arch/proc/scheduler.c \
25
	arch/proc/scheduler.c \
-
 
26
	arch/acpi/acpi.c \
26
	arch/smp/ap.S \
27
	arch/smp/ap.S \
27
	arch/smp/apic.c \
28
	arch/smp/apic.c \
28
	arch/smp/mp.c \
29
	arch/smp/mp.c \
29
	arch/smp/atomic.S \
30
	arch/smp/atomic.S \
30
	arch/smp/ipi.c \
31
	arch/smp/ipi.c \
31
	arch/ia32.c \
32
	arch/ia32.c \
32
	arch/interrupt.c \
33
	arch/interrupt.c \
33
	arch/pm.c \
34
	arch/pm.c \
34
	arch/userspace.c \
35
	arch/userspace.c \
35
	arch/cpu/cpu.c \
36
	arch/cpu/cpu.c \
36
	arch/mm/frame.c \
37
	arch/mm/frame.c \
37
	arch/mm/page.c \
38
	arch/mm/page.c \
38
	arch/mm/tlb.c \
39
	arch/mm/tlb.c \
39
	arch/drivers/i8042.c \
40
	arch/drivers/i8042.c \
40
	arch/drivers/i8254.c \
41
	arch/drivers/i8254.c \
41
	arch/drivers/i8259.c \
42
	arch/drivers/i8259.c \
42
	arch/drivers/ega.c \
43
	arch/drivers/ega.c \
43
	arch/boot/boot.S
44
	arch/boot/boot.S
44
 
45
 
45
 
46
 
46
 
47