60
|
1 |
# Microsoft Developer Studio Generated NMAKE File, Based on TCFCommVirtualSerial.dsp
|
|
2 |
!IF "$(CFG)" == ""
|
|
3 |
CFG=TCFCommVirtualSerial - Win32 Debug
|
|
4 |
!MESSAGE No configuration specified. Defaulting to TCFCommVirtualSerial - Win32 Debug.
|
|
5 |
!ENDIF
|
|
6 |
|
|
7 |
!IF "$(CFG)" != "TCFCommVirtualSerial - Win32 Release" && "$(CFG)" != "TCFCommVirtualSerial - Win32 Debug"
|
|
8 |
!MESSAGE Invalid configuration "$(CFG)" specified.
|
|
9 |
!MESSAGE You can specify a configuration when running NMAKE
|
|
10 |
!MESSAGE by defining the macro CFG on the command line. For example:
|
|
11 |
!MESSAGE
|
|
12 |
!MESSAGE NMAKE /f "TCFCommVirtualSerial.mak" CFG="TCFCommVirtualSerial - Win32 Debug"
|
|
13 |
!MESSAGE
|
|
14 |
!MESSAGE Possible choices for configuration are:
|
|
15 |
!MESSAGE
|
|
16 |
!MESSAGE "TCFCommVirtualSerial - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
|
|
17 |
!MESSAGE "TCFCommVirtualSerial - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
|
|
18 |
!MESSAGE
|
|
19 |
!ERROR An invalid configuration is specified.
|
|
20 |
!ENDIF
|
|
21 |
|
|
22 |
!IF "$(OS)" == "Windows_NT"
|
|
23 |
NULL=
|
|
24 |
!ELSE
|
|
25 |
NULL=nul
|
|
26 |
!ENDIF
|
|
27 |
|
|
28 |
!IF "$(CFG)" == "TCFCommVirtualSerial - Win32 Release"
|
|
29 |
|
|
30 |
OUTDIR=.\Release
|
|
31 |
INTDIR=.\Release
|
|
32 |
# Begin Custom Macros
|
|
33 |
OutDir=.\Release
|
|
34 |
# End Custom Macros
|
|
35 |
|
|
36 |
ALL : "$(OUTDIR)\TCFCommVirtualSerial.dll"
|
|
37 |
|
|
38 |
|
|
39 |
CLEAN :
|
|
40 |
-@erase "$(INTDIR)\BaseCom.obj"
|
|
41 |
-@erase "$(INTDIR)\mutex.obj"
|
|
42 |
-@erase "$(INTDIR)\RealSerialComm.obj"
|
|
43 |
-@erase "$(INTDIR)\StdAfx.obj"
|
|
44 |
-@erase "$(INTDIR)\TCDebugLog.obj"
|
|
45 |
-@erase "$(INTDIR)\TCFCommVirtualSerial.obj"
|
|
46 |
-@erase "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
47 |
-@erase "$(INTDIR)\vc60.idb"
|
|
48 |
-@erase "$(INTDIR)\VirtualSerialComm.obj"
|
|
49 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.dll"
|
|
50 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.exp"
|
|
51 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.lib"
|
|
52 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.map"
|
|
53 |
|
|
54 |
"$(OUTDIR)" :
|
|
55 |
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
56 |
|
66
|
57 |
CPP=cl.exe
|
60
|
58 |
CPP_PROJ=/nologo /Zp2 /MT /W3 /GX /O2 /I "..\TCFCommSerial" /I "..\Common\Headers" /I "..\TCFServer" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TCFCOMMVIRTUALSERIAL_EXPORTS" /Fp"$(INTDIR)\TCFCommVirtualSerial.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
66
|
59 |
|
|
60 |
.c{$(INTDIR)}.obj::
|
|
61 |
$(CPP) @<<
|
|
62 |
$(CPP_PROJ) $<
|
|
63 |
<<
|
|
64 |
|
|
65 |
.cpp{$(INTDIR)}.obj::
|
|
66 |
$(CPP) @<<
|
|
67 |
$(CPP_PROJ) $<
|
|
68 |
<<
|
|
69 |
|
|
70 |
.cxx{$(INTDIR)}.obj::
|
|
71 |
$(CPP) @<<
|
|
72 |
$(CPP_PROJ) $<
|
|
73 |
<<
|
|
74 |
|
|
75 |
.c{$(INTDIR)}.sbr::
|
|
76 |
$(CPP) @<<
|
|
77 |
$(CPP_PROJ) $<
|
|
78 |
<<
|
|
79 |
|
|
80 |
.cpp{$(INTDIR)}.sbr::
|
|
81 |
$(CPP) @<<
|
|
82 |
$(CPP_PROJ) $<
|
|
83 |
<<
|
|
84 |
|
|
85 |
.cxx{$(INTDIR)}.sbr::
|
|
86 |
$(CPP) @<<
|
|
87 |
$(CPP_PROJ) $<
|
|
88 |
<<
|
|
89 |
|
|
90 |
MTL=midl.exe
|
60
|
91 |
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
|
66
|
92 |
RSC=rc.exe
|
60
|
93 |
BSC32=bscmake.exe
|
|
94 |
BSC32_FLAGS=/nologo /o"$(OUTDIR)\TCFCommVirtualSerial.bsc"
|
|
95 |
BSC32_SBRS= \
|
|
96 |
|
|
97 |
LINK32=link.exe
|
|
98 |
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:no /pdb:"$(OUTDIR)\TCFCommVirtualSerial.pdb" /map:"$(INTDIR)\TCFCommVirtualSerial.map" /machine:I386 /out:"$(OUTDIR)\TCFCommVirtualSerial.dll" /implib:"$(OUTDIR)\TCFCommVirtualSerial.lib"
|
|
99 |
LINK32_OBJS= \
|
|
100 |
"$(INTDIR)\BaseCom.obj" \
|
|
101 |
"$(INTDIR)\mutex.obj" \
|
|
102 |
"$(INTDIR)\RealSerialComm.obj" \
|
|
103 |
"$(INTDIR)\StdAfx.obj" \
|
|
104 |
"$(INTDIR)\TCDebugLog.obj" \
|
|
105 |
"$(INTDIR)\TCFCommVirtualSerial.obj" \
|
|
106 |
"$(INTDIR)\VirtualSerialComm.obj"
|
|
107 |
|
|
108 |
"$(OUTDIR)\TCFCommVirtualSerial.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
|
109 |
$(LINK32) @<<
|
|
110 |
$(LINK32_FLAGS) $(LINK32_OBJS)
|
|
111 |
<<
|
|
112 |
|
|
113 |
SOURCE="$(InputPath)"
|
|
114 |
PostBuild_Desc=copy libs
|
|
115 |
DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
|
|
116 |
|
|
117 |
ALL : $(DS_POSTBUILD_DEP)
|
|
118 |
|
|
119 |
# Begin Custom Macros
|
|
120 |
OutDir=.\Release
|
|
121 |
# End Custom Macros
|
|
122 |
|
|
123 |
$(DS_POSTBUILD_DEP) : "$(OUTDIR)\TCFCommVirtualSerial.dll"
|
|
124 |
copyBinaries Release
|
|
125 |
echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
|
|
126 |
|
|
127 |
!ELSEIF "$(CFG)" == "TCFCommVirtualSerial - Win32 Debug"
|
|
128 |
|
|
129 |
OUTDIR=.\Debug
|
|
130 |
INTDIR=.\Debug
|
|
131 |
# Begin Custom Macros
|
|
132 |
OutDir=.\Debug
|
|
133 |
# End Custom Macros
|
|
134 |
|
|
135 |
ALL : "$(OUTDIR)\TCFCommVirtualSerial.dll"
|
|
136 |
|
|
137 |
|
|
138 |
CLEAN :
|
|
139 |
-@erase "$(INTDIR)\BaseCom.obj"
|
|
140 |
-@erase "$(INTDIR)\mutex.obj"
|
|
141 |
-@erase "$(INTDIR)\RealSerialComm.obj"
|
|
142 |
-@erase "$(INTDIR)\StdAfx.obj"
|
|
143 |
-@erase "$(INTDIR)\TCDebugLog.obj"
|
|
144 |
-@erase "$(INTDIR)\TCFCommVirtualSerial.obj"
|
|
145 |
-@erase "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
146 |
-@erase "$(INTDIR)\vc60.idb"
|
|
147 |
-@erase "$(INTDIR)\vc60.pdb"
|
|
148 |
-@erase "$(INTDIR)\VirtualSerialComm.obj"
|
|
149 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.dll"
|
|
150 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.exp"
|
|
151 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.ilk"
|
|
152 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.lib"
|
|
153 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.map"
|
|
154 |
-@erase "$(OUTDIR)\TCFCommVirtualSerial.pdb"
|
|
155 |
|
|
156 |
"$(OUTDIR)" :
|
|
157 |
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
|
158 |
|
66
|
159 |
CPP=cl.exe
|
60
|
160 |
CPP_PROJ=/nologo /Zp2 /MTd /W3 /Gm /GX /ZI /Od /I "..\TCFCommSerial" /I "..\Common\Headers" /I "..\TCFServer" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TCFCOMMVIRTUALSERIAL_EXPORTS" /Fp"$(INTDIR)\TCFCommVirtualSerial.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
|
66
|
161 |
|
|
162 |
.c{$(INTDIR)}.obj::
|
|
163 |
$(CPP) @<<
|
|
164 |
$(CPP_PROJ) $<
|
|
165 |
<<
|
|
166 |
|
|
167 |
.cpp{$(INTDIR)}.obj::
|
|
168 |
$(CPP) @<<
|
|
169 |
$(CPP_PROJ) $<
|
|
170 |
<<
|
|
171 |
|
|
172 |
.cxx{$(INTDIR)}.obj::
|
|
173 |
$(CPP) @<<
|
|
174 |
$(CPP_PROJ) $<
|
|
175 |
<<
|
|
176 |
|
|
177 |
.c{$(INTDIR)}.sbr::
|
|
178 |
$(CPP) @<<
|
|
179 |
$(CPP_PROJ) $<
|
|
180 |
<<
|
|
181 |
|
|
182 |
.cpp{$(INTDIR)}.sbr::
|
|
183 |
$(CPP) @<<
|
|
184 |
$(CPP_PROJ) $<
|
|
185 |
<<
|
|
186 |
|
|
187 |
.cxx{$(INTDIR)}.sbr::
|
|
188 |
$(CPP) @<<
|
|
189 |
$(CPP_PROJ) $<
|
|
190 |
<<
|
|
191 |
|
|
192 |
MTL=midl.exe
|
60
|
193 |
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
|
66
|
194 |
RSC=rc.exe
|
60
|
195 |
BSC32=bscmake.exe
|
|
196 |
BSC32_FLAGS=/nologo /o"$(OUTDIR)\TCFCommVirtualSerial.bsc"
|
|
197 |
BSC32_SBRS= \
|
|
198 |
|
|
199 |
LINK32=link.exe
|
|
200 |
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /incremental:yes /pdb:"$(OUTDIR)\TCFCommVirtualSerial.pdb" /map:"$(INTDIR)\TCFCommVirtualSerial.map" /debug /machine:I386 /out:"$(OUTDIR)\TCFCommVirtualSerial.dll" /implib:"$(OUTDIR)\TCFCommVirtualSerial.lib" /pdbtype:sept
|
|
201 |
LINK32_OBJS= \
|
|
202 |
"$(INTDIR)\BaseCom.obj" \
|
|
203 |
"$(INTDIR)\mutex.obj" \
|
|
204 |
"$(INTDIR)\RealSerialComm.obj" \
|
|
205 |
"$(INTDIR)\StdAfx.obj" \
|
|
206 |
"$(INTDIR)\TCDebugLog.obj" \
|
|
207 |
"$(INTDIR)\TCFCommVirtualSerial.obj" \
|
|
208 |
"$(INTDIR)\VirtualSerialComm.obj"
|
|
209 |
|
|
210 |
"$(OUTDIR)\TCFCommVirtualSerial.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
|
211 |
$(LINK32) @<<
|
|
212 |
$(LINK32_FLAGS) $(LINK32_OBJS)
|
|
213 |
<<
|
|
214 |
|
|
215 |
SOURCE="$(InputPath)"
|
|
216 |
PostBuild_Desc=copy libs
|
|
217 |
DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
|
|
218 |
|
|
219 |
ALL : $(DS_POSTBUILD_DEP)
|
|
220 |
|
|
221 |
# Begin Custom Macros
|
|
222 |
OutDir=.\Debug
|
|
223 |
# End Custom Macros
|
|
224 |
|
|
225 |
$(DS_POSTBUILD_DEP) : "$(OUTDIR)\TCFCommVirtualSerial.dll"
|
|
226 |
copyBinaries Debug
|
|
227 |
echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
|
|
228 |
|
|
229 |
!ENDIF
|
|
230 |
|
|
231 |
|
|
232 |
!IF "$(NO_EXTERNAL_DEPS)" != "1"
|
|
233 |
!IF EXISTS("TCFCommVirtualSerial.dep")
|
|
234 |
!INCLUDE "TCFCommVirtualSerial.dep"
|
|
235 |
!ELSE
|
|
236 |
!MESSAGE Warning: cannot find "TCFCommVirtualSerial.dep"
|
|
237 |
!ENDIF
|
|
238 |
!ENDIF
|
|
239 |
|
|
240 |
|
|
241 |
!IF "$(CFG)" == "TCFCommVirtualSerial - Win32 Release" || "$(CFG)" == "TCFCommVirtualSerial - Win32 Debug"
|
|
242 |
SOURCE=..\TCFServer\BaseCom.cpp
|
|
243 |
|
|
244 |
"$(INTDIR)\BaseCom.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
245 |
$(CPP) $(CPP_PROJ) $(SOURCE)
|
|
246 |
|
|
247 |
|
|
248 |
SOURCE=..\Common\Source\mutex.cpp
|
|
249 |
|
|
250 |
"$(INTDIR)\mutex.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
251 |
$(CPP) $(CPP_PROJ) $(SOURCE)
|
|
252 |
|
|
253 |
|
|
254 |
SOURCE=..\TCFCommSerial\RealSerialComm.cpp
|
|
255 |
|
|
256 |
"$(INTDIR)\RealSerialComm.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
257 |
$(CPP) $(CPP_PROJ) $(SOURCE)
|
|
258 |
|
|
259 |
|
|
260 |
SOURCE=.\StdAfx.cpp
|
|
261 |
|
|
262 |
!IF "$(CFG)" == "TCFCommVirtualSerial - Win32 Release"
|
|
263 |
|
|
264 |
CPP_SWITCHES=/nologo /Zp2 /MT /W3 /GX /O2 /I "..\TCFCommSerial" /I "..\Common\Headers" /I "..\TCFServer" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TCFCOMMVIRTUALSERIAL_EXPORTS" /Fp"$(INTDIR)\TCFCommVirtualSerial.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
|
|
265 |
|
|
266 |
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\TCFCommVirtualSerial.pch" : $(SOURCE) "$(INTDIR)"
|
|
267 |
$(CPP) @<<
|
|
268 |
$(CPP_SWITCHES) $(SOURCE)
|
|
269 |
<<
|
|
270 |
|
|
271 |
|
|
272 |
!ELSEIF "$(CFG)" == "TCFCommVirtualSerial - Win32 Debug"
|
|
273 |
|
|
274 |
CPP_SWITCHES=/nologo /Zp2 /MTd /W3 /Gm /GX /ZI /Od /I "..\TCFCommSerial" /I "..\Common\Headers" /I "..\TCFServer" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TCFCOMMVIRTUALSERIAL_EXPORTS" /Fp"$(INTDIR)\TCFCommVirtualSerial.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
|
|
275 |
|
|
276 |
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\TCFCommVirtualSerial.pch" : $(SOURCE) "$(INTDIR)"
|
|
277 |
$(CPP) @<<
|
|
278 |
$(CPP_SWITCHES) $(SOURCE)
|
|
279 |
<<
|
|
280 |
|
|
281 |
|
|
282 |
!ENDIF
|
|
283 |
|
|
284 |
SOURCE=..\Common\Source\TCDebugLog.cpp
|
|
285 |
|
|
286 |
"$(INTDIR)\TCDebugLog.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
287 |
$(CPP) $(CPP_PROJ) $(SOURCE)
|
|
288 |
|
|
289 |
|
|
290 |
SOURCE=.\TCFCommVirtualSerial.cpp
|
|
291 |
|
|
292 |
"$(INTDIR)\TCFCommVirtualSerial.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
293 |
|
|
294 |
|
|
295 |
SOURCE=.\VirtualSerialComm.cpp
|
|
296 |
|
|
297 |
"$(INTDIR)\VirtualSerialComm.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\TCFCommVirtualSerial.pch"
|
|
298 |
|
|
299 |
|
|
300 |
|
|
301 |
!ENDIF
|
|
302 |
|