source: trunk/src/kernel32/Makefile.kmk@ 22013

Last change on this file since 22013 was 21916, checked in by dmik, 14 years ago

Merge branch gcc-kmk to trunk.

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1## @file
2# KERNEL32 library
3#
4
5SUB_DEPTH = ../..
6include $(KBUILD_PATH)/subheader.kmk
7
8LIBRARIES += seh
9seh_TEMPLATE = OdinCxx
10seh_SOURCES = seh/sehutil.s
11
12$(call odin_implib_2,kernel32,vmutex)
13
14DLLS += kernel32
15kernel32_TEMPLATE = OdinDLL
16
17kernel32_SOURCES = \
18 kernel32.cpp \
19 ccollection.cpp \
20 perfview.cpp \
21 kobjects.cpp \
22 console.cpp \
23 conin.cpp \
24 conbuffer.cpp \
25 conbuffervio.cpp \
26 conout.cpp \
27 network.cpp \
28 hmdevio.cpp \
29 profile.cpp \
30 thread.cpp \
31 virtual.cpp \
32 oslibmem.cpp \
33 thunk.cpp \
34 obsolete.cpp \
35 comm.cpp \
36 message.cpp \
37 resource.cpp \
38 exceptions.cpp \
39 heapshared.cpp \
40 cpuhlp.asm \
41 heapcode.cpp \
42 lfile.cpp \
43 npipe.cpp \
44 oslibdos.cpp \
45 char.cpp \
46 oslibmisc.cpp \
47 ole2nls.c \
48 dbglog.cpp \
49 exceptutil.asm \
50 asmutil.asm \
51 lang.cpp \
52 win32util.cpp \
53 heap.cpp \
54 heapstring.cpp \
55 os2heap.cpp \
56 vmutex.cpp \
57 initterm.cpp \
58 handlemanager.cpp \
59 handlenames.cpp \
60 environ.cpp \
61 initsystem.cpp \
62 hmdevice.cpp \
63 hmopen32.cpp \
64 hmobjects.cpp \
65 overlappedio.cpp \
66 hmevent.cpp \
67 hmfile.cpp \
68 hmmutex.cpp \
69 hmcomm.cpp \
70 hmparport.cpp \
71 hmnul.cpp \
72 hmsemaphore.cpp \
73 hmstd.cpp \
74 wprocess.cpp \
75 conprop.cpp \
76 conprop2.cpp \
77 winimagelx.cpp \
78 winimagebase.cpp \
79 windllbase.cpp \
80 winexebase.cpp \
81 time.cpp \
82 mmap.cpp \
83 mmapview.cpp \
84 mmapdup.cpp \
85 winimagepe2lx.cpp \
86 winimagepeldr.cpp \
87 windllpe2lx.cpp \
88 windlllx.cpp \
89 windllpeldr.cpp \
90 winexepe2lx.cpp \
91 winexelx.cpp \
92 winexepeldr.cpp \
93 winexedummy.cpp \
94 critsection.cpp \
95 fastinfoblocksa.asm \
96 fastinfoblocks.cpp \
97 pefile.cpp \
98 winimgres.cpp \
99 wintls.cpp \
100 async.cpp \
101 fileio.cpp \
102 hmtoken.cpp \
103 atom.cpp \
104 disk.cpp \
105 osliblvm.cpp \
106 directory.cpp \
107 hmmmap.cpp \
108 oslibexcept.cpp \
109 cpu.cpp \
110 process.cpp \
111 stubs.cpp \
112 dosdevice.cpp \
113 ordinals.cpp \
114 interlock.asm \
115 toolhelp.cpp \
116 codepage.c \
117 debug.cpp \
118 oslibdebug.cpp \
119 dbglocal.cpp \
120 registry.cpp \
121 queue.cpp \
122 hmthread.cpp \
123 oslibthread.cpp \
124 hmnpipe.cpp \
125 hmdisk.cpp \
126 oslibcdio.cpp \
127 version.cpp \
128 mmapnotify.cpp \
129 exceptstackdump.cpp \
130 module.cpp \
131 hmmailslot.cpp \
132 mailslot.cpp \
133 oslibtime.cpp \
134 kbdhook.cpp \
135 conodin32.cpp \
136 oslibwps.cpp \
137 _ras.cpp \
138 globaldata.asm \
139 kernelrsrc.orc
140
141kernel32_SOURCES.release += \
142 kernel32.def
143kernel32_SOURCES.debug += \
144 dbgwrap.cpp \
145 kernel32dbg.def
146
147# This overcomes current emxomfld limitation wrt SEGMENTS in .DEF
148kernel32_LDFLAGS = -Zlinker '"SEGMENT _GLOBALDATA LOADONCALL READWRITE SHARED"'
149
150ifndef CUSTOMBUILD
151kernel32_SOURCES += \
152 kdbhookhlp.cpp
153endif
154
155kernel32_LIBS = \
156 $(PATH_STAGE_LIB)/libwrap.lib \
157 $(PATH_STAGE_LIB)/wgss50.lib \
158 $(PATH_STAGE_LIB)/win32k.lib \
159 $(PATH_STAGE_LIB)/unicode.lib \
160 $(PATH_STAGE_LIB)/seh.lib \
161 $(PATH_STAGE_LIB)/ntdll.lib
162
163include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.