This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / lib / kernel32 / Jamfile
1 SubDir ROS_TOP lib kernel32 ;
2
3 # This stuff should actually be moved to Jamrules
4 # in order to more easily support other compilers
5 CCFLAGS += -Wall -fno-builtin ;
6
7 # NOTE - I'm no Jam expert, yet. This stuff should be
8 # abstracted into the Jamrules file.
9 LINKFLAGS = -nostartfiles -nostdlib -shared ;
10 LINKFLAGS += -Wl,--image-base,0x77F00000 -lgcc ;
11
12
13 SYNCH_SRCS =
14         critical event intrlck mutex
15         sem timer wait
16         ;
17
18 MISC_SRCS =
19         error atom handle env
20         dllmain comm errormsg
21         console time toolhelp
22         stubs ldr res
23         sysinfo profile
24         mbchars muldiv getname
25         perfcnt
26         ;
27
28 FILE_SRCS =
29         file curdir lfile dir
30         iocompl volume deviceio dosdev
31         create find copy pipe
32         move lock rw delete
33         npipe tape mailslot backup
34         cnotify
35         ;
36
37 MEM_SRCS =
38         global heap isbad local
39         procmem section virtual
40         ;
41
42 THREAD_SRCS = fiber thread tls ;
43
44 PROCESS_SRCS = proc cmdline create session ;
45
46 STRING_SRCS = lstring ;
47
48 EXCEPT_SRCS = except ;
49
50 KERNEL32_SRCS =
51         misc/$(MISC_SRCS).c
52         file/$(FILE_SRCS).c
53         thread/$(THREAD_SRCS).c
54         process/$(PROCESS_SRCS).c
55         string/$(STRING_SRCS).c
56         mem/$(MEM_SRCS).c
57         synch/$(SYNCH_SRCS).c
58         except/$(EXCEPT_SRCS).c
59         ;
60
61
62 SharedLibrary kernel32 : $(KERNEL32_SRCS) ;
63 LINKLIBS =
64         $(ROS_TOP)/dk/w32/lib/ntdll.a
65         $(ROS_TOP)/dk/w32/lib/rosrtl.a
66         ;