Re: embedded perl and top_env problem
[p5sagit/p5-mst-13.2.git] / win32 / perldll.mak
1 # Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
2 # ** DO NOT EDIT **
3
4 # TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
5
6 !IF "$(CFG)" == ""
7 CFG=perldll - Win32 Debug
8 !MESSAGE No configuration specified.  Defaulting to perldll - Win32 Debug.
9 !ENDIF 
10
11 !IF "$(CFG)" != "perldll - Win32 Release" && "$(CFG)" !=\
12  "perldll - Win32 Debug"
13 !MESSAGE Invalid configuration "$(CFG)" specified.
14 !MESSAGE You can specify a configuration when running NMAKE on this makefile
15 !MESSAGE by defining the macro CFG on the command line.  For example:
16 !MESSAGE 
17 !MESSAGE NMAKE /f "perldll.mak" CFG="perldll - Win32 Debug"
18 !MESSAGE 
19 !MESSAGE Possible choices for configuration are:
20 !MESSAGE 
21 !MESSAGE "perldll - Win32 Release" (based on\
22  "Win32 (x86) Dynamic-Link Library")
23 !MESSAGE "perldll - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
24 !MESSAGE 
25 !ERROR An invalid configuration is specified.
26 !ENDIF 
27
28 !IF "$(OS)" == "Windows_NT"
29 NULL=
30 !ELSE 
31 NULL=nul
32 !ENDIF 
33 ################################################################################
34 # Begin Project
35 # PROP Target_Last_Scanned "perldll - Win32 Debug"
36 CPP=cl.exe
37 RSC=rc.exe
38 MTL=mktyplib.exe
39
40 !IF  "$(CFG)" == "perldll - Win32 Release"
41
42 # PROP BASE Use_MFC 0
43 # PROP BASE Use_Debug_Libraries 0
44 # PROP BASE Output_Dir "perldll_"
45 # PROP BASE Intermediate_Dir "perldll_"
46 # PROP BASE Target_Dir ""
47 # PROP Use_MFC 0
48 # PROP Use_Debug_Libraries 0
49 # PROP Output_Dir "../"
50 # PROP Intermediate_Dir "release"
51 # PROP Target_Dir ""
52 OUTDIR=.\..
53 INTDIR=.\release
54
55 ALL : "$(OUTDIR)\perl.dll"
56
57 CLEAN : 
58         -@erase "$(INTDIR)\perllib.obj"
59         -@erase "$(INTDIR)\win32.obj"
60         -@erase "$(INTDIR)\win32aux.obj"
61         -@erase "$(INTDIR)\win32io.obj"
62         -@erase "$(INTDIR)\win32sck.obj"
63         -@erase "$(OUTDIR)\perl.dll"
64         -@erase "$(OUTDIR)\perl.exp"
65         -@erase "$(OUTDIR)\perl.lib"
66
67 "$(OUTDIR)" :
68     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
69
70 "$(INTDIR)" :
71     if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
72
73 # ADD BASE CPP /nologo /MT /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
74 # ADD CPP /nologo /MT /W3 /O2 /I "." /I ".\include" /I ".." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "PERLDLL" /YX /c
75 CPP_PROJ=/nologo /MT /W3 /O2 /I "." /I ".\include" /I ".." /D "NDEBUG" /D\
76  "WIN32" /D "_WINDOWS" /D "PERLDLL" /Fp"$(INTDIR)/perldll.pch" /YX\
77  /Fo"$(INTDIR)/" /c 
78 CPP_OBJS=.\release/
79 CPP_SBRS=.\.
80 # ADD BASE MTL /nologo /D "NDEBUG" /win32
81 # ADD MTL /nologo /D "NDEBUG" /win32
82 MTL_PROJ=/nologo /D "NDEBUG" /win32 
83 # ADD BASE RSC /l 0x409 /d "NDEBUG"
84 # ADD RSC /l 0x409 /d "NDEBUG"
85 BSC32=bscmake.exe
86 # ADD BASE BSC32 /nologo
87 # ADD BSC32 /nologo
88 BSC32_FLAGS=/nologo /o"$(OUTDIR)/perldll.bsc" 
89 BSC32_SBRS= \
90         
91 LINK32=link.exe
92 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386
93 # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /pdb:none /machine:I386 /out:"../perl.dll"
94 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
95  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\
96  /subsystem:windows /dll /pdb:none /machine:I386 /def:".\perldll.def"\
97  /out:"$(OUTDIR)/perl.dll" /implib:"$(OUTDIR)/perl.lib" 
98 DEF_FILE= \
99         ".\perldll.def"
100 LINK32_OBJS= \
101         "$(INTDIR)\perllib.obj" \
102         "$(INTDIR)\win32.obj" \
103         "$(INTDIR)\win32aux.obj" \
104         "$(INTDIR)\win32io.obj" \
105         "$(INTDIR)\win32sck.obj" \
106         "..\libperl.lib" \
107         ".\modules.lib"
108
109 "$(OUTDIR)\perl.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
110     $(LINK32) @<<
111   $(LINK32_FLAGS) $(LINK32_OBJS)
112 <<
113
114 !ELSEIF  "$(CFG)" == "perldll - Win32 Debug"
115
116 # PROP BASE Use_MFC 0
117 # PROP BASE Use_Debug_Libraries 1
118 # PROP BASE Output_Dir "perldll0"
119 # PROP BASE Intermediate_Dir "perldll0"
120 # PROP BASE Target_Dir ""
121 # PROP Use_MFC 0
122 # PROP Use_Debug_Libraries 1
123 # PROP Output_Dir "debug"
124 # PROP Intermediate_Dir "debug"
125 # PROP Target_Dir ""
126 OUTDIR=.\debug
127 INTDIR=.\debug
128
129 ALL : "..\perl.dll"
130
131 CLEAN : 
132         -@erase "$(INTDIR)\perllib.obj"
133         -@erase "$(INTDIR)\vc40.idb"
134         -@erase "$(INTDIR)\vc40.pdb"
135         -@erase "$(INTDIR)\win32.obj"
136         -@erase "$(INTDIR)\win32aux.obj"
137         -@erase "$(INTDIR)\win32io.obj"
138         -@erase "$(INTDIR)\win32sck.obj"
139         -@erase "$(OUTDIR)\perl.exp"
140         -@erase "$(OUTDIR)\perl.lib"
141         -@erase "$(OUTDIR)\perl.pdb"
142         -@erase "..\perl.dll"
143         -@erase "..\perl.ilk"
144
145 "$(OUTDIR)" :
146     if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
147
148 # ADD BASE CPP /nologo /MTd /W3 /Gm /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
149 # ADD CPP /nologo /MTd /W3 /Gm /Zi /Od /I "." /I ".\include" /I ".." /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "PERLDLL" /YX /c
150 CPP_PROJ=/nologo /MTd /W3 /Gm /Zi /Od /I "." /I ".\include" /I ".." /D\
151  "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "PERLDLL" /Fp"$(INTDIR)/perldll.pch" /YX\
152  /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c 
153 CPP_OBJS=.\debug/
154 CPP_SBRS=.\.
155 # ADD BASE MTL /nologo /D "_DEBUG" /win32
156 # ADD MTL /nologo /D "_DEBUG" /win32
157 MTL_PROJ=/nologo /D "_DEBUG" /win32 
158 # ADD BASE RSC /l 0x409 /d "_DEBUG"
159 # ADD RSC /l 0x409 /d "_DEBUG"
160 BSC32=bscmake.exe
161 # ADD BASE BSC32 /nologo
162 # ADD BSC32 /nologo
163 BSC32_FLAGS=/nologo /o"$(OUTDIR)/perldll.bsc" 
164 BSC32_SBRS= \
165         
166 LINK32=link.exe
167 # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386
168 # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"../perl.dll"
169 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
170  advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\
171  /subsystem:windows /dll /incremental:yes /pdb:"$(OUTDIR)/perl.pdb" /debug\
172  /machine:I386 /def:".\perldll.def" /out:"../perl.dll"\
173  /implib:"$(OUTDIR)/perl.lib" 
174 DEF_FILE= \
175         ".\perldll.def"
176 LINK32_OBJS= \
177         "$(INTDIR)\perllib.obj" \
178         "$(INTDIR)\win32.obj" \
179         "$(INTDIR)\win32aux.obj" \
180         "$(INTDIR)\win32io.obj" \
181         "$(INTDIR)\win32sck.obj" \
182         "..\libperl.lib" \
183         ".\modules.lib"
184
185 "..\perl.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
186     $(LINK32) @<<
187   $(LINK32_FLAGS) $(LINK32_OBJS)
188 <<
189
190 !ENDIF 
191
192 .c{$(CPP_OBJS)}.obj:
193    $(CPP) $(CPP_PROJ) $<  
194
195 .cpp{$(CPP_OBJS)}.obj:
196    $(CPP) $(CPP_PROJ) $<  
197
198 .cxx{$(CPP_OBJS)}.obj:
199    $(CPP) $(CPP_PROJ) $<  
200
201 .c{$(CPP_SBRS)}.sbr:
202    $(CPP) $(CPP_PROJ) $<  
203
204 .cpp{$(CPP_SBRS)}.sbr:
205    $(CPP) $(CPP_PROJ) $<  
206
207 .cxx{$(CPP_SBRS)}.sbr:
208    $(CPP) $(CPP_PROJ) $<  
209
210 ################################################################################
211 # Begin Target
212
213 # Name "perldll - Win32 Release"
214 # Name "perldll - Win32 Debug"
215
216 !IF  "$(CFG)" == "perldll - Win32 Release"
217
218 !ELSEIF  "$(CFG)" == "perldll - Win32 Debug"
219
220 !ENDIF 
221
222 ################################################################################
223 # Begin Source File
224
225 SOURCE=.\perllib.c
226 DEP_CPP_PERLL=\
227         "..\av.h"\
228         "..\cop.h"\
229         "..\cv.h"\
230         "..\dosish.h"\
231         "..\embed.h"\
232         "..\form.h"\
233         "..\gv.h"\
234         "..\handy.h"\
235         "..\hv.h"\
236         "..\mg.h"\
237         "..\nostdio.h"\
238         "..\op.h"\
239         "..\opcode.h"\
240         "..\perl.h"\
241         "..\perlio.h"\
242         "..\perlsdio.h"\
243         "..\perlsfio.h"\
244         "..\perly.h"\
245         "..\plan9\plan9ish.h"\
246         "..\pp.h"\
247         "..\proto.h"\
248         "..\regexp.h"\
249         "..\scope.h"\
250         "..\sv.h"\
251         "..\unixish.h"\
252         "..\util.h"\
253         ".\config.h"\
254         "..\EXTERN.h"\
255         ".\include\dirent.h"\
256         ".\include\netdb.h"\
257         ".\include\sys/socket.h"\
258         ".\win32.h"\
259         ".\win32io.h"\
260         ".\win32iop.h"\
261         {$(INCLUDE)}"\sys\stat.h"\
262         {$(INCLUDE)}"\sys\types.h"\
263         
264 NODEP_CPP_PERLL=\
265         "..\os2ish.h"\
266         "..\vmsish.h"\
267         
268
269 "$(INTDIR)\perllib.obj" : $(SOURCE) $(DEP_CPP_PERLL) "$(INTDIR)"
270
271
272 # End Source File
273 ################################################################################
274 # Begin Source File
275
276 SOURCE=.\perldll.def
277
278 !IF  "$(CFG)" == "perldll - Win32 Release"
279
280 !ELSEIF  "$(CFG)" == "perldll - Win32 Debug"
281
282 !ENDIF 
283
284 # End Source File
285 ################################################################################
286 # Begin Source File
287
288 SOURCE=..\libperl.lib
289
290 !IF  "$(CFG)" == "perldll - Win32 Release"
291
292 !ELSEIF  "$(CFG)" == "perldll - Win32 Debug"
293
294 !ENDIF 
295
296 # End Source File
297 ################################################################################
298 # Begin Source File
299
300 SOURCE=.\win32sck.c
301 DEP_CPP_WIN32=\
302         "..\av.h"\
303         "..\cop.h"\
304         "..\cv.h"\
305         "..\dosish.h"\
306         "..\embed.h"\
307         "..\form.h"\
308         "..\gv.h"\
309         "..\handy.h"\
310         "..\hv.h"\
311         "..\mg.h"\
312         "..\nostdio.h"\
313         "..\op.h"\
314         "..\opcode.h"\
315         "..\perl.h"\
316         "..\perlio.h"\
317         "..\perlsdio.h"\
318         "..\perlsfio.h"\
319         "..\perly.h"\
320         "..\plan9\plan9ish.h"\
321         "..\pp.h"\
322         "..\proto.h"\
323         "..\regexp.h"\
324         "..\scope.h"\
325         "..\sv.h"\
326         "..\unixish.h"\
327         "..\util.h"\
328         ".\config.h"\
329         "..\EXTERN.h"\
330         ".\include\dirent.h"\
331         ".\include\netdb.h"\
332         ".\include\sys/socket.h"\
333         ".\win32.h"\
334         ".\win32io.h"\
335         ".\win32iop.h"\
336         {$(INCLUDE)}"\sys\stat.h"\
337         {$(INCLUDE)}"\sys\types.h"\
338         
339 NODEP_CPP_WIN32=\
340         "..\os2ish.h"\
341         "..\vmsish.h"\
342         
343
344 "$(INTDIR)\win32sck.obj" : $(SOURCE) $(DEP_CPP_WIN32) "$(INTDIR)"
345
346
347 # End Source File
348 ################################################################################
349 # Begin Source File
350
351 SOURCE=.\win32.c
352
353 !IF  "$(CFG)" == "perldll - Win32 Release"
354
355 DEP_CPP_WIN32_=\
356         "..\embed.h"\
357         "..\nostdio.h"\
358         "..\perl.h"\
359         "..\perlio.h"\
360         "..\perlsdio.h"\
361         "..\perlsfio.h"\
362         ".\config.h"\
363         "..\EXTERN.h"\
364         ".\include\dirent.h"\
365         ".\include\netdb.h"\
366         ".\include\sys/socket.h"\
367         ".\win32.h"\
368         {$(INCLUDE)}"\sys\stat.h"\
369         {$(INCLUDE)}"\sys\types.h"\
370         
371
372 "$(INTDIR)\win32.obj" : $(SOURCE) $(DEP_CPP_WIN32_) "$(INTDIR)"
373
374
375 !ELSEIF  "$(CFG)" == "perldll - Win32 Debug"
376
377 DEP_CPP_WIN32_=\
378         "..\perl.h"\
379         "..\EXTERN.h"\
380         {$(INCLUDE)}"\sys\stat.h"\
381         {$(INCLUDE)}"\sys\types.h"\
382         
383
384 "$(INTDIR)\win32.obj" : $(SOURCE) $(DEP_CPP_WIN32_) "$(INTDIR)"
385
386
387 !ENDIF 
388
389 # End Source File
390 ################################################################################
391 # Begin Source File
392
393 SOURCE=.\win32aux.c
394 DEP_CPP_WIN32A=\
395         ".\include\sys/socket.h"\
396         ".\win32io.h"\
397         ".\win32iop.h"\
398         {$(INCLUDE)}"\sys\stat.h"\
399         {$(INCLUDE)}"\sys\types.h"\
400         
401
402 "$(INTDIR)\win32aux.obj" : $(SOURCE) $(DEP_CPP_WIN32A) "$(INTDIR)"
403
404
405 # End Source File
406 ################################################################################
407 # Begin Source File
408
409 SOURCE=.\modules.lib
410
411 !IF  "$(CFG)" == "perldll - Win32 Release"
412
413 !ELSEIF  "$(CFG)" == "perldll - Win32 Debug"
414
415 !ENDIF 
416
417 # End Source File
418 ################################################################################
419 # Begin Source File
420
421 SOURCE=.\win32io.c
422 DEP_CPP_WIN32I=\
423         ".\include\sys/socket.h"\
424         ".\win32io.h"\
425         ".\win32iop.h"\
426         {$(INCLUDE)}"\sys\stat.h"\
427         {$(INCLUDE)}"\sys\types.h"\
428         
429
430 "$(INTDIR)\win32io.obj" : $(SOURCE) $(DEP_CPP_WIN32I) "$(INTDIR)"
431
432
433 # End Source File
434 # End Target
435 # End Project
436 ################################################################################