Mercurial > hg > graal-compiler
comparison agent/src/os/win32/Makefile @ 0:a61af66fc99e jdk7-b24
Initial load
author | duke |
---|---|
date | Sat, 01 Dec 2007 00:00:00 +0000 |
parents | |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a61af66fc99e |
---|---|
1 # | |
2 # Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved. | |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
4 # | |
5 # This code is free software; you can redistribute it and/or modify it | |
6 # under the terms of the GNU General Public License version 2 only, as | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
20 # CA 95054 USA or visit www.sun.com if you need additional information or | |
21 # have any questions. | |
22 # | |
23 # | |
24 | |
25 SERVER=SwDbgSrv.exe | |
26 SUBPROCESS=SwDbgSub.exe | |
27 | |
28 SERVER_SOURCES = \ | |
29 Buffer.cpp \ | |
30 Dispatcher.cpp \ | |
31 initWinsock.cpp \ | |
32 IOBuf.cpp \ | |
33 ioUtils.cpp \ | |
34 isNT4.cpp \ | |
35 nt4internals.cpp \ | |
36 procList.cpp \ | |
37 Reaper.cpp \ | |
38 SwDbgSrv.cpp \ | |
39 serverLists.cpp \ | |
40 toolHelp.cpp | |
41 | |
42 SUBPROCESS_SOURCES = \ | |
43 SwDbgSub.cpp \ | |
44 Buffer.cpp \ | |
45 IOBuf.cpp \ | |
46 isNT4.cpp \ | |
47 libInfo.cpp \ | |
48 Monitor.cpp \ | |
49 nt4internals.cpp \ | |
50 toolHelp.cpp | |
51 | |
52 SERVER_OBJS = $(SERVER_SOURCES:.cpp=.obj) | |
53 SUBPROCESS_OBJS = $(SUBPROCESS_SOURCES:.cpp=.obj) | |
54 | |
55 CPP=cl.exe | |
56 LINK32=link.exe | |
57 | |
58 # These do not need to be optimized (don't run a lot of code) and it | |
59 # will be useful to have the assertion checks in place | |
60 | |
61 CFLAGS=/nologo /MD /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c | |
62 | |
63 LIBS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \ | |
64 ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib \ | |
65 winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib \ | |
66 odbccp32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 | |
67 | |
68 default: $(SERVER) $(SUBPROCESS) | |
69 | |
70 $(SERVER): $(SERVER_OBJS) | |
71 $(LINK32) /out:$@ $(SERVER_OBJS) $(LIBS) | |
72 | |
73 $(SUBPROCESS): $(SUBPROCESS_OBJS) | |
74 $(LINK32) /out:$@ $(SUBPROCESS_OBJS) $(LIBS) | |
75 | |
76 clean: | |
77 rm -f *.obj *.idb *.pch *.pdb *.ncb *.opt *.plg *.exe *.ilk | |
78 | |
79 .cpp.obj: | |
80 @ $(CPP) $(CFLAGS) /o $@ $< |