source: trunk/src/kernel32/makefile@ 5280

Last change on this file since 5280 was 5162, checked in by bird, 25 years ago

Removed compiler assert.

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