~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to windows/plugin/gd/gdplug.mak

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Microsoft Developer Studio Generated NMAKE File, Based on gdplug.dsp
2
 
!IF "$(CFG)" == ""
3
 
CFG=gdplug - Win32 Debug
4
 
!MESSAGE No configuration specified. Defaulting to gdplug - Win32 Debug.
5
 
!ENDIF 
6
 
 
7
 
!IF "$(CFG)" != "gdplug - Win32 Release" && "$(CFG)" != "gdplug - 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 "gdplug.mak" CFG="gdplug - Win32 Debug"
13
 
!MESSAGE 
14
 
!MESSAGE Possible choices for configuration are:
15
 
!MESSAGE 
16
 
!MESSAGE "gdplug - Win32 Release" (based on "Win32 (x86) Static Library")
17
 
!MESSAGE "gdplug - Win32 Debug" (based on "Win32 (x86) Static 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)" == "gdplug - Win32 Release"
29
 
 
30
 
OUTDIR=.\Release
31
 
INTDIR=.\Release
32
 
# Begin Custom Macros
33
 
OutDir=.\Release
34
 
# End Custom Macros
35
 
 
36
 
ALL : "$(OUTDIR)\gdplug.lib"
37
 
 
38
 
 
39
 
CLEAN :
40
 
        -@erase "$(INTDIR)\gvplugin_gd.obj"
41
 
        -@erase "$(INTDIR)\gvrender_gd.obj"
42
 
        -@erase "$(INTDIR)\vc60.idb"
43
 
        -@erase "$(OUTDIR)\gdplug.lib"
44
 
 
45
 
"$(OUTDIR)" :
46
 
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
47
 
 
48
 
CPP=cl.exe
49
 
CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /I "..\.." /I "..\..\lib\gvc" /I "..\..\lib\common" /I "..\..\lib\gd" /I "..\..\lib\cdt" /I "..\..\lib\graph" /I "..\..\lib\pathplan" /I "..\..\third-party\include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\gdplug.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c 
50
 
 
51
 
.c{$(INTDIR)}.obj::
52
 
   $(CPP) @<<
53
 
   $(CPP_PROJ) $< 
54
 
<<
55
 
 
56
 
.cpp{$(INTDIR)}.obj::
57
 
   $(CPP) @<<
58
 
   $(CPP_PROJ) $< 
59
 
<<
60
 
 
61
 
.cxx{$(INTDIR)}.obj::
62
 
   $(CPP) @<<
63
 
   $(CPP_PROJ) $< 
64
 
<<
65
 
 
66
 
.c{$(INTDIR)}.sbr::
67
 
   $(CPP) @<<
68
 
   $(CPP_PROJ) $< 
69
 
<<
70
 
 
71
 
.cpp{$(INTDIR)}.sbr::
72
 
   $(CPP) @<<
73
 
   $(CPP_PROJ) $< 
74
 
<<
75
 
 
76
 
.cxx{$(INTDIR)}.sbr::
77
 
   $(CPP) @<<
78
 
   $(CPP_PROJ) $< 
79
 
<<
80
 
 
81
 
RSC=rc.exe
82
 
BSC32=bscmake.exe
83
 
BSC32_FLAGS=/nologo /o"$(OUTDIR)\gdplug.bsc" 
84
 
BSC32_SBRS= \
85
 
        
86
 
LIB32=link.exe -lib
87
 
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\gdplug.lib" 
88
 
LIB32_OBJS= \
89
 
        "$(INTDIR)\gvplugin_gd.obj" \
90
 
        "$(INTDIR)\gvrender_gd.obj"
91
 
 
92
 
"$(OUTDIR)\gdplug.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
93
 
    $(LIB32) @<<
94
 
  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
95
 
<<
96
 
 
97
 
SOURCE="$(InputPath)"
98
 
DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
99
 
 
100
 
ALL : $(DS_POSTBUILD_DEP)
101
 
 
102
 
# Begin Custom Macros
103
 
OutDir=.\Release
104
 
# End Custom Macros
105
 
 
106
 
$(DS_POSTBUILD_DEP) : "$(OUTDIR)\gdplug.lib"
107
 
   copy .\Release\gdplug.lib ..\lib\Release
108
 
        echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
109
 
 
110
 
!ELSEIF  "$(CFG)" == "gdplug - Win32 Debug"
111
 
 
112
 
OUTDIR=.\Debug
113
 
INTDIR=.\Debug
114
 
# Begin Custom Macros
115
 
OutDir=.\Debug
116
 
# End Custom Macros
117
 
 
118
 
ALL : "$(OUTDIR)\gdplug.lib"
119
 
 
120
 
 
121
 
CLEAN :
122
 
        -@erase "$(INTDIR)\gvplugin_gd.obj"
123
 
        -@erase "$(INTDIR)\gvrender_gd.obj"
124
 
        -@erase "$(INTDIR)\vc60.idb"
125
 
        -@erase "$(INTDIR)\vc60.pdb"
126
 
        -@erase "$(OUTDIR)\gdplug.lib"
127
 
 
128
 
"$(OUTDIR)" :
129
 
    if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
130
 
 
131
 
CPP=cl.exe
132
 
CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /I "." /I "..\.." /I "..\..\lib\gvc" /I "..\..\lib\common" /I "..\..\lib\gd" /I "..\..\lib\cdt" /I "..\..\lib\graph" /I "..\..\lib\pathplan" /I "..\..\third-party\include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\gdplug.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c 
133
 
 
134
 
.c{$(INTDIR)}.obj::
135
 
   $(CPP) @<<
136
 
   $(CPP_PROJ) $< 
137
 
<<
138
 
 
139
 
.cpp{$(INTDIR)}.obj::
140
 
   $(CPP) @<<
141
 
   $(CPP_PROJ) $< 
142
 
<<
143
 
 
144
 
.cxx{$(INTDIR)}.obj::
145
 
   $(CPP) @<<
146
 
   $(CPP_PROJ) $< 
147
 
<<
148
 
 
149
 
.c{$(INTDIR)}.sbr::
150
 
   $(CPP) @<<
151
 
   $(CPP_PROJ) $< 
152
 
<<
153
 
 
154
 
.cpp{$(INTDIR)}.sbr::
155
 
   $(CPP) @<<
156
 
   $(CPP_PROJ) $< 
157
 
<<
158
 
 
159
 
.cxx{$(INTDIR)}.sbr::
160
 
   $(CPP) @<<
161
 
   $(CPP_PROJ) $< 
162
 
<<
163
 
 
164
 
RSC=rc.exe
165
 
BSC32=bscmake.exe
166
 
BSC32_FLAGS=/nologo /o"$(OUTDIR)\gdplug.bsc" 
167
 
BSC32_SBRS= \
168
 
        
169
 
LIB32=link.exe -lib
170
 
LIB32_FLAGS=/nologo /out:"$(OUTDIR)\gdplug.lib" 
171
 
LIB32_OBJS= \
172
 
        "$(INTDIR)\gvplugin_gd.obj" \
173
 
        "$(INTDIR)\gvrender_gd.obj"
174
 
 
175
 
"$(OUTDIR)\gdplug.lib" : "$(OUTDIR)" $(DEF_FILE) $(LIB32_OBJS)
176
 
    $(LIB32) @<<
177
 
  $(LIB32_FLAGS) $(DEF_FLAGS) $(LIB32_OBJS)
178
 
<<
179
 
 
180
 
SOURCE="$(InputPath)"
181
 
DS_POSTBUILD_DEP=$(INTDIR)\postbld.dep
182
 
 
183
 
ALL : $(DS_POSTBUILD_DEP)
184
 
 
185
 
# Begin Custom Macros
186
 
OutDir=.\Debug
187
 
# End Custom Macros
188
 
 
189
 
$(DS_POSTBUILD_DEP) : "$(OUTDIR)\gdplug.lib"
190
 
   copy .\Debug\gdplug.lib ..\lib\Debug
191
 
        echo Helper for Post-build step > "$(DS_POSTBUILD_DEP)"
192
 
 
193
 
!ENDIF 
194
 
 
195
 
 
196
 
!IF "$(NO_EXTERNAL_DEPS)" != "1"
197
 
!IF EXISTS("gdplug.dep")
198
 
!INCLUDE "gdplug.dep"
199
 
!ELSE 
200
 
!MESSAGE Warning: cannot find "gdplug.dep"
201
 
!ENDIF 
202
 
!ENDIF 
203
 
 
204
 
 
205
 
!IF "$(CFG)" == "gdplug - Win32 Release" || "$(CFG)" == "gdplug - Win32 Debug"
206
 
SOURCE=.\gvplugin_gd.c
207
 
 
208
 
"$(INTDIR)\gvplugin_gd.obj" : $(SOURCE) "$(INTDIR)"
209
 
 
210
 
 
211
 
SOURCE=.\gvrender_gd.c
212
 
 
213
 
"$(INTDIR)\gvrender_gd.obj" : $(SOURCE) "$(INTDIR)"
214
 
 
215
 
 
216
 
 
217
 
!ENDIF 
218