source: trunk/src/kernel32/kernel32.mak@ 5461

Last change on this file since 5461 was 5451, checked in by sandervl, 24 years ago

codepage updates

File size: 3.6 KB
Line 
1# $Id: kernel32.mak,v 1.1 2001-04-03 14:10:47 sandervl Exp $
2
3#
4# Odin32 API
5#
6# kernel32.dll makefile
7#
8
9#
10# Compiler, tools, and interference rules.
11#
12!include ../../makefile.inc
13
14#
15# Object files. Prefix with OBJDIR and one space before the '\'.
16#
17OBJS = \
18$(OBJDIR)\kernel32.obj \
19$(OBJDIR)\kobjects.obj \
20$(OBJDIR)\console.obj \
21$(OBJDIR)\conin.obj \
22$(OBJDIR)\conbuffer.obj \
23$(OBJDIR)\conbuffervio.obj \
24$(OBJDIR)\conout.obj \
25$(OBJDIR)\unicode.obj \
26$(OBJDIR)\network.obj \
27$(OBJDIR)\hmdevio.obj \
28$(OBJDIR)\profile.obj \
29$(OBJDIR)\thread.obj \
30$(OBJDIR)\virtual.obj \
31$(OBJDIR)\thunk.obj \
32$(OBJDIR)\obsolete.obj \
33$(OBJDIR)\comm.obj \
34$(OBJDIR)\message.obj \
35$(OBJDIR)\resource.obj \
36$(OBJDIR)\exceptions.obj \
37$(OBJDIR)\heapshared.obj \
38$(OBJDIR)\cpuhlp.obj \
39$(OBJDIR)\heapcode.obj \
40$(OBJDIR)\lfile.obj \
41$(OBJDIR)\npipe.obj \
42$(OBJDIR)\oslibdos.obj \
43$(OBJDIR)\oslibmisc.obj \
44$(OBJDIR)\ole2nls.obj \
45$(OBJDIR)\misc.obj \
46$(OBJDIR)\exceptutil.obj \
47$(OBJDIR)\lang.obj \
48$(OBJDIR)\iccio.obj \
49$(OBJDIR)\map.obj \
50$(OBJDIR)\win32util.obj \
51$(OBJDIR)\heap.obj \
52$(OBJDIR)\heapstring.obj \
53$(OBJDIR)\os2heap.obj \
54$(OBJDIR)\vmutex.obj \
55$(OBJDIR)\vsemaphore.obj \
56$(OBJDIR)\initterm.obj \
57$(OBJDIR)\handlemanager.obj \
58$(OBJDIR)\environ.obj \
59$(OBJDIR)\initsystem.obj \
60$(OBJDIR)\hmdevice.obj \
61$(OBJDIR)\hmopen32.obj \
62$(OBJDIR)\hmobjects.obj \
63$(OBJDIR)\hmevent.obj \
64$(OBJDIR)\hmfile.obj \
65$(OBJDIR)\hmmutex.obj \
66$(OBJDIR)\hmcomm.obj \
67$(OBJDIR)\hmsemaphore.obj \
68$(OBJDIR)\hmstd.obj \
69$(OBJDIR)\wprocess.obj \
70$(OBJDIR)\conprop.obj \
71$(OBJDIR)\conprop2.obj \
72$(OBJDIR)\winimagelx.obj \
73$(OBJDIR)\winimagebase.obj \
74$(OBJDIR)\windllbase.obj \
75$(OBJDIR)\winexebase.obj \
76$(OBJDIR)\time.obj \
77$(OBJDIR)\mmap.obj \
78$(OBJDIR)\winimagepe2lx.obj \
79$(OBJDIR)\winimagepeldr.obj \
80$(OBJDIR)\windllpe2lx.obj \
81$(OBJDIR)\windlllx.obj \
82$(OBJDIR)\windllpeldr.obj \
83$(OBJDIR)\winexepe2lx.obj \
84$(OBJDIR)\winexelx.obj \
85$(OBJDIR)\winexepeldr.obj \
86$(OBJDIR)\critsection.obj \
87$(OBJDIR)\pefile.obj \
88$(OBJDIR)\winimgres.obj \
89$(OBJDIR)\wintls.obj \
90$(OBJDIR)\async.obj \
91$(OBJDIR)\fileio.obj \
92$(OBJDIR)\hmtoken.obj \
93$(OBJDIR)\atom.obj \
94$(OBJDIR)\disk.obj \
95$(OBJDIR)\directory.obj \
96$(OBJDIR)\hmmmap.obj \
97$(OBJDIR)\oslibexcept.obj \
98$(OBJDIR)\cpu.obj \
99$(OBJDIR)\process.obj \
100$(OBJDIR)\stubs.obj \
101$(OBJDIR)\ordinals.obj \
102$(OBJDIR)\interlock.obj \
103$(OBJDIR)\toolhelp.obj \
104$(OBJDIR)\codepage.obj \
105$(OBJDIR)\debug.obj \
106$(OBJDIR)\oslibdebug.obj \
107$(OBJDIR)\dbglocal.obj \
108$(OBJDIR)\registry.obj \
109$(OBJDIR)\queue.obj \
110$(OBJDIR)\hmthread.obj \
111$(OBJDIR)\hmnpipe.obj \
112$(OBJDIR)\hmdisk.obj \
113$(OBJDIR)\version.obj \
114!ifdef DEBUG
115$(OBJDIR)\exceptstackdump.obj \
116!endif
117$(OBJDIR)\module.obj \
118$(OBJDIR)\kernelrsrc.obj
119
120
121#
122# Libraries. One space before the '\'.
123# (Note! the order here is important!)
124#
125LIBS = \
126$(ODIN32_LIB)/$(ODINCRT).lib \
127$(ODIN32_LIB)\PMWINX.LIB \
128$(ODIN32_LIB)\LIBULS.LIB \
129$(ODIN32_LIB)\LIBCONV.LIB \
130$(ODIN32_LIB)\WIN32K.LIB \
131$(ODIN32_LIB)\UNICODE.LIB \
132OS2386.LIB \
133$(RTLLIB_O)
134
135
136#
137# OS/2 resourcefiles
138#
139OS2RES = \
140$(OBJDIR)\console.res
141
142
143#
144# Target name - name of the dll without extention and path.
145#
146TARGET = kernel32
147
148#
149# Includes the common rules.
150#
151!include $(ODIN32_POST_INC)
152
153
154#
155# Override flags for exceptions.cpp
156# Hmm. This is compiler depended!
157#
158$(OBJDIR)\exceptions.obj: exceptions.cpp
159!if "$(VAC3)" == "1" || "$(VAC36)" == "1"
160 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -O- \
161 -Fo$(OBJDIR)\$(@B).obj -c exceptions.cpp
162!else
163# Since this only turns off stack optimizations I take it's a VAC only fix.
164# -kso (2001-02-17)
165# ! error "Compiler is not supported yet."
166!endif
167
Note: See TracBrowser for help on using the repository browser.