~ubuntu-branches/ubuntu/hoary/swig1.3/hoary

« back to all changes in this revision

Viewing changes to Examples/perl5/import/foo.dsp

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-08-02 15:57:10 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040802155710-bm292q1d6x6tw7gc
Tags: 1.3.21-5ubuntu1
Fix linking for ruby, python, perl and tcl bindings

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Microsoft Developer Studio Project File - Name="foo" - Package Owner=<4>
 
2
# Microsoft Developer Studio Generated Build File, Format Version 6.00
 
3
# ** DO NOT EDIT **
 
4
 
 
5
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
 
6
 
 
7
CFG=foo - Win32 Release
 
8
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
 
9
!MESSAGE use the Export Makefile command and run
 
10
!MESSAGE 
 
11
!MESSAGE NMAKE /f "foo.mak".
 
12
!MESSAGE 
 
13
!MESSAGE You can specify a configuration when running NMAKE
 
14
!MESSAGE by defining the macro CFG on the command line. For example:
 
15
!MESSAGE 
 
16
!MESSAGE NMAKE /f "foo.mak" CFG="foo - Win32 Release"
 
17
!MESSAGE 
 
18
!MESSAGE Possible choices for configuration are:
 
19
!MESSAGE 
 
20
!MESSAGE "foo - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
 
21
!MESSAGE "foo - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
 
22
!MESSAGE 
 
23
 
 
24
# Begin Project
 
25
# PROP AllowPerConfigDependencies 0
 
26
# PROP Scc_ProjName ""
 
27
# PROP Scc_LocalPath ""
 
28
CPP=cl.exe
 
29
MTL=midl.exe
 
30
RSC=rc.exe
 
31
 
 
32
!IF  "$(CFG)" == "foo - Win32 Debug"
 
33
 
 
34
# PROP BASE Use_MFC 0
 
35
# PROP BASE Use_Debug_Libraries 1
 
36
# PROP BASE Output_Dir "Debug"
 
37
# PROP BASE Intermediate_Dir "Debug"
 
38
# PROP BASE Target_Dir ""
 
39
# PROP Use_MFC 0
 
40
# PROP Use_Debug_Libraries 1
 
41
# PROP Output_Dir "Debug"
 
42
# PROP Intermediate_Dir "Debug"
 
43
# PROP Ignore_Export_Lib 0
 
44
# PROP Target_Dir ""
 
45
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "FOO_EXPORTS" /YX /FD /GZ /c
 
46
# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "$(PERL5_INCLUDE)" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "FOO_EXPORTS" /YX /FD /GZ /c
 
47
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
 
48
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
 
49
# ADD BASE RSC /l 0x809 /d "_DEBUG"
 
50
# ADD RSC /l 0x809 /d "_DEBUG"
 
51
BSC32=bscmake.exe
 
52
# ADD BASE BSC32 /nologo
 
53
# ADD BSC32 /nologo
 
54
LINK32=link.exe
 
55
# ADD BASE LINK32 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 /debug /machine:I386 /pdbtype:sept
 
56
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "$(PERL5_LIB)" ..\..\..\Runtime\swigpl.lib /nologo /dll /debug /machine:I386 /out:"foo.dll" /pdbtype:sept
 
57
 
 
58
!ELSEIF  "$(CFG)" == "foo - Win32 Release"
 
59
 
 
60
# PROP BASE Use_MFC 0
 
61
# PROP BASE Use_Debug_Libraries 0
 
62
# PROP BASE Output_Dir "Release"
 
63
# PROP BASE Intermediate_Dir "Release"
 
64
# PROP BASE Target_Dir ""
 
65
# PROP Use_MFC 0
 
66
# PROP Use_Debug_Libraries 0
 
67
# PROP Output_Dir "Release"
 
68
# PROP Intermediate_Dir "Release"
 
69
# PROP Ignore_Export_Lib 0
 
70
# PROP Target_Dir ""
 
71
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "FOO_EXPORTS" /YX /FD /c
 
72
# ADD CPP /nologo /MT /W3 /GR /GX /O2 /I "$(PERL5_INCLUDE)" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "FOO_EXPORTS" /YX /FD /c
 
73
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
 
74
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
 
75
# ADD BASE RSC /l 0x809 /d "NDEBUG"
 
76
# ADD RSC /l 0x809 /d "NDEBUG"
 
77
BSC32=bscmake.exe
 
78
# ADD BASE BSC32 /nologo
 
79
# ADD BSC32 /nologo
 
80
LINK32=link.exe
 
81
# ADD BASE LINK32 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 /machine:I386
 
82
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "$(PERL5_LIB)" ..\..\..\Runtime\swigpl.lib /nologo /dll /machine:I386 /out:"foo.dll"
 
83
 
 
84
!ENDIF 
 
85
 
 
86
# Begin Target
 
87
 
 
88
# Name "foo - Win32 Debug"
 
89
# Name "foo - Win32 Release"
 
90
# Begin Group "Source Files"
 
91
 
 
92
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
 
93
# Begin Source File
 
94
 
 
95
SOURCE=.\foo_wrap.cxx
 
96
# End Source File
 
97
# End Group
 
98
# Begin Group "Header Files"
 
99
 
 
100
# PROP Default_Filter "h;hpp;hxx;hm;inl"
 
101
# Begin Source File
 
102
 
 
103
SOURCE=.\foo.h
 
104
# End Source File
 
105
# End Group
 
106
# Begin Source File
 
107
 
 
108
SOURCE=.\foo.i
 
109
 
 
110
!IF  "$(CFG)" == "foo - Win32 Debug"
 
111
 
 
112
# Begin Custom Build
 
113
InputPath=.\foo.i
 
114
InputName=foo
 
115
 
 
116
"$(InputName)_wrap.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
 
117
        echo In order to function correctly, please ensure the following environment variables are correctly set: 
 
118
        echo PERL5_INCLUDE: %PERL5_INCLUDE% 
 
119
        echo PERL5_LIB: %PERL5_LIB% 
 
120
        echo on 
 
121
        ..\..\..\swig -noruntime -c++ -perl5 -shadow $(InputPath) 
 
122
        
 
123
# End Custom Build
 
124
 
 
125
!ELSEIF  "$(CFG)" == "foo - Win32 Release"
 
126
 
 
127
# Begin Custom Build
 
128
InputPath=.\foo.i
 
129
InputName=foo
 
130
 
 
131
"$(InputName)_wrap.cxx" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
 
132
        echo In order to function correctly, please ensure the following environment variables are correctly set: 
 
133
        echo PERL5_INCLUDE: %PERL5_INCLUDE% 
 
134
        echo PERL5_LIB: %PERL5_LIB% 
 
135
        echo on 
 
136
        ..\..\..\swig -noruntime -c++ -perl5 -shadow $(InputPath) 
 
137
        
 
138
# End Custom Build
 
139
 
 
140
!ENDIF 
 
141
 
 
142
# End Source File
 
143
# End Target
 
144
# End Project