1
# $Id: Makefile.vc,v 1.2 2004/12/04 01:20:20 frank Exp $
1
# $Id: Makefile.vc,v 1.2.4.1 2006/02/28 05:17:59 hobu Exp $
2
2
# $Log: Makefile.vc,v $
3
# Revision 1.2.4.1 2006/02/28 05:17:59 hobu
4
# add WKBReader.ob and WKBWriter.obj
5
# build the C API as its own DLL (geos_c.dll)
6
# build a stub lib for the C API DLL
7
# delete .ilk, .exp, and .pdb files on clean
8
# copy *.vc headers in for platform, version, and geos_c
3
10
# Revision 1.2 2004/12/04 01:20:20 frank
4
11
# removed dll delete
6
13
# Revision 1.1 2004/12/03 16:25:47 frank
10
CFLAGS = -Iheaders /GX /MD /GR /nologo
14
OBJ = algorithm\CGAlgorithms.obj \
15
algorithm\CentroidArea.obj \
16
algorithm\CentroidLine.obj \
17
algorithm\CentroidPoint.obj \
18
algorithm\ConvexHull.obj \
19
algorithm\HCoordinate.obj \
20
algorithm\InteriorPointArea.obj \
21
algorithm\InteriorPointLine.obj \
22
algorithm\InteriorPointPoint.obj \
23
algorithm\LineIntersector.obj \
24
algorithm\MCPointInRing.obj \
25
algorithm\MinimumDiameter.obj \
26
algorithm\NonRobustCGAlgorithms.obj \
27
algorithm\NonRobustLineIntersector.obj \
28
algorithm\NotRepresentableException.obj \
29
algorithm\PointLocator.obj \
30
algorithm\RobustCGAlgorithms.obj \
31
algorithm\RobustDeterminant.obj \
32
algorithm\RobustLineIntersector.obj \
33
algorithm\SIRtreePointInRing.obj \
34
algorithm\SimplePointInAreaLocator.obj \
35
algorithm\SimplePointInRing.obj \
37
geom\CoordinateSequence.obj \
38
geom\CoordinateSequenceFactory.obj \
39
geom\DefaultCoordinateSequence.obj \
40
geom\DefaultCoordinateSequenceFactory.obj \
44
geom\GeometryCollection.obj \
45
geom\GeometryCollectionIterator.obj \
46
geom\GeometryComponentFilter.obj \
47
geom\GeometryFactory.obj \
48
geom\IntersectionMatrix.obj \
49
geom\LineSegment.obj \
53
geom\MultiLineString.obj \
55
geom\MultiPolygon.obj \
57
geom\PointCoordinateSequence.obj \
58
geom\PointCoordinateSequenceFactory.obj \
60
geom\PrecisionModel.obj \
61
geom\TopologyException.obj \
63
geom\util\GeometryEditor.obj \
64
geom\util\LinearComponentExtracter.obj \
65
geom\util\PointExtracter.obj \
66
geom\util\PolygonExtracter.obj \
67
geomgraph\index\MonotoneChain.obj \
68
geomgraph\index\MonotoneChainEdge.obj \
69
geomgraph\index\MonotoneChainIndexer.obj \
70
geomgraph\index\SegmentIntersector.obj \
71
geomgraph\index\SimpleEdgeSetIntersector.obj \
72
geomgraph\index\SimpleMCSweepLineIntersector.obj \
73
geomgraph\index\SimpleSweepLineIntersector.obj \
74
geomgraph\index\SweepLineEvent.obj \
75
geomgraph\index\SweepLineSegment.obj \
77
geomgraph\DirectedEdge.obj \
78
geomgraph\DirectedEdgeStar.obj \
80
geomgraph\EdgeEnd.obj \
81
geomgraph\EdgeEndStar.obj \
82
geomgraph\EdgeIntersection.obj \
83
geomgraph\EdgeIntersectionList.obj \
84
geomgraph\EdgeList.obj \
85
geomgraph\EdgeNodingValidator.obj \
86
geomgraph\EdgeRing.obj \
87
geomgraph\GeometryGraph.obj \
88
geomgraph\GraphComponent.obj \
91
geomgraph\NodeFactory.obj \
92
geomgraph\NodeMap.obj \
93
geomgraph\PlanarGraph.obj \
94
geomgraph\Position.obj \
95
geomgraph\Quadrant.obj \
96
geomgraph\TopologyLocation.obj \
97
index\bintree\BinTreeInterval.obj \
98
index\bintree\BinTreeNode.obj \
99
index\bintree\Bintree.obj \
100
index\bintree\Key.obj \
101
index\bintree\NodeBase.obj \
102
index\bintree\Root.obj \
103
index\chain\MonotoneChainBuilder.obj \
104
index\chain\MonotoneChainOverlapAction.obj \
105
index\chain\MonotoneChainSelectAction.obj \
106
index\chain\indexMonotoneChain.obj \
107
index\quadtree\DoubleBits.obj \
108
index\quadtree\IntervalSize.obj \
109
index\quadtree\QuadTreeKey.obj \
110
index\quadtree\QuadTreeNode.obj \
111
index\quadtree\QuadTreeNodeBase.obj \
112
index\quadtree\QuadTreeRoot.obj \
113
index\quadtree\Quadtree.obj \
114
index\strtree\AbstractNode.obj \
115
index\strtree\AbstractSTRtree.obj \
116
index\strtree\Interval.obj \
117
index\strtree\ItemBoundable.obj \
118
index\strtree\SIRtree.obj \
119
index\strtree\STRtree.obj \
120
index\sweepline\SweepLineIndex.obj \
121
index\sweepline\SweepLineInterval.obj \
122
index\sweepline\indexSweepLineEvent.obj \
123
io\ParseException.obj \
124
io\StringTokenizer.obj \
129
io\markup\MarkupSTL.obj \
130
noding\snapround\SegmentSnapper.obj \
131
noding\snapround\SimpleSegmentStringsSnapper.obj \
132
noding\snapround\SnapRounder.obj \
133
noding\IteratedNoder.obj \
134
noding\MCQuadtreeNoder.obj \
136
noding\NodingValidator.obj \
137
noding\SegmentNode.obj \
138
noding\SegmentNodeList.obj \
139
noding\SegmentString.obj \
140
noding\SimpleNoder.obj \
141
noding\nodingSegmentIntersector.obj \
142
operation\GeometryGraphOperation.obj \
143
operation\IsSimpleOp.obj \
144
operation\buffer\BufferBuilder.obj \
145
operation\buffer\BufferOp.obj \
146
operation\buffer\BufferSubgraph.obj \
147
operation\buffer\OffsetCurveBuilder.obj \
148
operation\buffer\OffsetCurveSetBuilder.obj \
149
operation\buffer\RightmostEdgeFinder.obj \
150
operation\buffer\SubgraphDepthLocater.obj \
151
operation\distance\ConnectedElementLocationFilter.obj \
152
operation\distance\ConnectedElementPointFilter.obj \
153
operation\distance\DistanceOp.obj \
154
operation\distance\GeometryLocation.obj \
155
operation\linemerge\EdgeString.obj \
156
operation\linemerge\LineMergeDirectedEdge.obj \
157
operation\linemerge\LineMergeEdge.obj \
158
operation\linemerge\LineMergeGraph.obj \
159
operation\linemerge\LineMerger.obj \
160
operation\overlay\EdgeSetNoder.obj \
161
operation\overlay\ElevationMatrix.obj \
162
operation\overlay\ElevationMatrixCell.obj \
163
operation\overlay\ElevationMatrixFilter.obj \
164
operation\overlay\LineBuilder.obj \
165
operation\overlay\MaximalEdgeRing.obj \
166
operation\overlay\MinimalEdgeRing.obj \
167
operation\overlay\OverlayNodeFactory.obj \
168
operation\overlay\OverlayOp.obj \
169
operation\overlay\PointBuilder.obj \
170
operation\overlay\PolygonBuilder.obj \
171
operation\polygonize\PolygonizeDirectedEdge.obj \
172
operation\polygonize\PolygonizeEdge.obj \
173
operation\polygonize\PolygonizeGraph.obj \
174
operation\polygonize\Polygonizer.obj \
175
operation\polygonize\polygonizeEdgeRing.obj \
176
operation\relate\EdgeEndBuilder.obj \
177
operation\relate\EdgeEndBundle.obj \
178
operation\relate\EdgeEndBundleStar.obj \
179
operation\relate\RelateComputer.obj \
180
operation\relate\RelateNode.obj \
181
operation\relate\RelateNodeFactory.obj \
182
operation\relate\RelateNodeGraph.obj \
183
operation\relate\RelateOp.obj \
184
operation\valid\ConnectedInteriorTester.obj \
185
operation\valid\ConsistentAreaTester.obj \
186
operation\valid\IsValidOp.obj \
187
operation\valid\QuadtreeNestedRingTester.obj \
188
operation\valid\RepeatedPointTester.obj \
189
operation\valid\SimpleNestedRingTester.obj \
190
operation\valid\SweeplineNestedRingTester.obj \
191
operation\valid\TopologyValidationError.obj \
192
planargraph\planarDirectedEdge.obj \
193
planargraph\planarDirectedEdgeStar.obj \
194
planargraph\planarEdge.obj \
195
planargraph\planarGraphComponent.obj \
196
planargraph\planarNode.obj \
197
planargraph\planarNodeMap.obj \
198
planargraph\planarPlanarGraph.obj \
199
precision\CommonBits.obj \
200
precision\CommonBitsOp.obj \
201
precision\CommonBitsRemover.obj \
202
precision\EnhancedPrecisionOp.obj \
203
precision\SimpleGeometryPrecisionReducer.obj \
205
util\AssertionFailedException.obj \
206
util\CoordinateArrayFiter.obj \
207
util\GEOSException.obj \
208
util\GeometricShapeFactory.obj \
209
util\IllegalArgumentException.obj \
211
util\UniqueCoordinateArrayFilter.obj \
212
util\UnsupportedOperationException.obj
214
TEST_EXE = TestSweepLineSpeed.exe
216
default: $(LIBNAME) $(TEST_EXE)
218
$(LIBNAME): headers/geos/platform.h $(OBJ)
219
if exist $(LIBNAME) del $(LIBNAME)
220
lib /out:$(LIBNAME) $(OBJ)
222
headers/geos/platform.h: headers/geos/platform.h.vc
223
copy headers\geos\platform.h.vc headers\geos\platform.h
226
$(CC) $(CFLAGS) /c $*.cpp /Fo$@
232
TestSweepLineSpeed.exe: $(LIBNAME) \
233
bigtest\GeometryTestFactory.obj \
234
bigtest\TestSweepLineSpeed.obj \
237
bigtest\TestSweepLineSpeed.obj \
238
bigtest\GeometryTestFactory.obj \
17
CFLAGS = -Iheaders /GX /MD /GR /Zi /nologo
22
CLIBNAME = geos_c_i.lib
25
OBJ = algorithm\CGAlgorithms.obj \
26
algorithm\CentroidArea.obj \
27
algorithm\CentroidLine.obj \
28
algorithm\CentroidPoint.obj \
29
algorithm\ConvexHull.obj \
30
algorithm\HCoordinate.obj \
31
algorithm\InteriorPointArea.obj \
32
algorithm\InteriorPointLine.obj \
33
algorithm\InteriorPointPoint.obj \
34
algorithm\LineIntersector.obj \
35
algorithm\MCPointInRing.obj \
36
algorithm\MinimumDiameter.obj \
37
algorithm\NonRobustCGAlgorithms.obj \
38
algorithm\NonRobustLineIntersector.obj \
39
algorithm\NotRepresentableException.obj \
40
algorithm\PointLocator.obj \
41
algorithm\RobustCGAlgorithms.obj \
42
algorithm\RobustDeterminant.obj \
43
algorithm\RobustLineIntersector.obj \
44
algorithm\SIRtreePointInRing.obj \
45
algorithm\SimplePointInAreaLocator.obj \
46
algorithm\SimplePointInRing.obj \
48
geom\CoordinateSequence.obj \
49
geom\CoordinateSequenceFactory.obj \
50
geom\DefaultCoordinateSequence.obj \
51
geom\DefaultCoordinateSequenceFactory.obj \
55
geom\GeometryCollection.obj \
56
geom\GeometryCollectionIterator.obj \
57
geom\GeometryComponentFilter.obj \
58
geom\GeometryFactory.obj \
59
geom\IntersectionMatrix.obj \
60
geom\LineSegment.obj \
64
geom\MultiLineString.obj \
66
geom\MultiPolygon.obj \
68
geom\PointCoordinateSequence.obj \
69
geom\PointCoordinateSequenceFactory.obj \
71
geom\PrecisionModel.obj \
72
geom\TopologyException.obj \
74
geom\util\GeometryEditor.obj \
75
geom\util\LinearComponentExtracter.obj \
76
geom\util\PointExtracter.obj \
77
geom\util\PolygonExtracter.obj \
78
geomgraph\index\MonotoneChain.obj \
79
geomgraph\index\MonotoneChainEdge.obj \
80
geomgraph\index\MonotoneChainIndexer.obj \
81
geomgraph\index\SegmentIntersector.obj \
82
geomgraph\index\SimpleEdgeSetIntersector.obj \
83
geomgraph\index\SimpleMCSweepLineIntersector.obj \
84
geomgraph\index\SimpleSweepLineIntersector.obj \
85
geomgraph\index\SweepLineEvent.obj \
86
geomgraph\index\SweepLineSegment.obj \
88
geomgraph\DirectedEdge.obj \
89
geomgraph\DirectedEdgeStar.obj \
91
geomgraph\EdgeEnd.obj \
92
geomgraph\EdgeEndStar.obj \
93
geomgraph\EdgeIntersection.obj \
94
geomgraph\EdgeIntersectionList.obj \
95
geomgraph\EdgeList.obj \
96
geomgraph\EdgeNodingValidator.obj \
97
geomgraph\EdgeRing.obj \
98
geomgraph\GeometryGraph.obj \
99
geomgraph\GraphComponent.obj \
100
geomgraph\Label.obj \
102
geomgraph\NodeFactory.obj \
103
geomgraph\NodeMap.obj \
104
geomgraph\PlanarGraph.obj \
105
geomgraph\Position.obj \
106
geomgraph\Quadrant.obj \
107
geomgraph\TopologyLocation.obj \
108
index\bintree\BinTreeInterval.obj \
109
index\bintree\BinTreeNode.obj \
110
index\bintree\Bintree.obj \
111
index\bintree\Key.obj \
112
index\bintree\NodeBase.obj \
113
index\bintree\Root.obj \
114
index\chain\MonotoneChainBuilder.obj \
115
index\chain\MonotoneChainOverlapAction.obj \
116
index\chain\MonotoneChainSelectAction.obj \
117
index\chain\indexMonotoneChain.obj \
118
index\quadtree\DoubleBits.obj \
119
index\quadtree\IntervalSize.obj \
120
index\quadtree\QuadTreeKey.obj \
121
index\quadtree\QuadTreeNode.obj \
122
index\quadtree\QuadTreeNodeBase.obj \
123
index\quadtree\QuadTreeRoot.obj \
124
index\quadtree\Quadtree.obj \
125
index\strtree\AbstractNode.obj \
126
index\strtree\AbstractSTRtree.obj \
127
index\strtree\Interval.obj \
128
index\strtree\ItemBoundable.obj \
129
index\strtree\SIRtree.obj \
130
index\strtree\STRtree.obj \
131
index\sweepline\SweepLineIndex.obj \
132
index\sweepline\SweepLineInterval.obj \
133
index\sweepline\indexSweepLineEvent.obj \
134
io\ByteOrderValues.obj \
135
io\ParseException.obj \
136
io\StringTokenizer.obj \
143
io\markup\MarkupSTL.obj \
144
noding\snapround\SegmentSnapper.obj \
145
noding\snapround\SimpleSegmentStringsSnapper.obj \
146
noding\snapround\SnapRounder.obj \
147
noding\IteratedNoder.obj \
148
noding\MCQuadtreeNoder.obj \
150
noding\NodingValidator.obj \
151
noding\SegmentNode.obj \
152
noding\SegmentNodeList.obj \
153
noding\SegmentString.obj \
154
noding\SimpleNoder.obj \
155
noding\nodingSegmentIntersector.obj \
156
operation\GeometryGraphOperation.obj \
157
operation\IsSimpleOp.obj \
158
operation\buffer\BufferBuilder.obj \
159
operation\buffer\BufferOp.obj \
160
operation\buffer\BufferSubgraph.obj \
161
operation\buffer\OffsetCurveBuilder.obj \
162
operation\buffer\OffsetCurveSetBuilder.obj \
163
operation\buffer\RightmostEdgeFinder.obj \
164
operation\buffer\SubgraphDepthLocater.obj \
165
operation\distance\ConnectedElementLocationFilter.obj \
166
operation\distance\ConnectedElementPointFilter.obj \
167
operation\distance\DistanceOp.obj \
168
operation\distance\GeometryLocation.obj \
169
operation\linemerge\EdgeString.obj \
170
operation\linemerge\LineMergeDirectedEdge.obj \
171
operation\linemerge\LineMergeEdge.obj \
172
operation\linemerge\LineMergeGraph.obj \
173
operation\linemerge\LineMerger.obj \
174
operation\overlay\EdgeSetNoder.obj \
175
operation\overlay\ElevationMatrix.obj \
176
operation\overlay\ElevationMatrixCell.obj \
177
operation\overlay\ElevationMatrixFilter.obj \
178
operation\overlay\LineBuilder.obj \
179
operation\overlay\MaximalEdgeRing.obj \
180
operation\overlay\MinimalEdgeRing.obj \
181
operation\overlay\OverlayNodeFactory.obj \
182
operation\overlay\OverlayOp.obj \
183
operation\overlay\PointBuilder.obj \
184
operation\overlay\PolygonBuilder.obj \
185
operation\polygonize\PolygonizeDirectedEdge.obj \
186
operation\polygonize\PolygonizeEdge.obj \
187
operation\polygonize\PolygonizeGraph.obj \
188
operation\polygonize\Polygonizer.obj \
189
operation\polygonize\polygonizeEdgeRing.obj \
190
operation\relate\EdgeEndBuilder.obj \
191
operation\relate\EdgeEndBundle.obj \
192
operation\relate\EdgeEndBundleStar.obj \
193
operation\relate\RelateComputer.obj \
194
operation\relate\RelateNode.obj \
195
operation\relate\RelateNodeFactory.obj \
196
operation\relate\RelateNodeGraph.obj \
197
operation\relate\RelateOp.obj \
198
operation\valid\ConnectedInteriorTester.obj \
199
operation\valid\ConsistentAreaTester.obj \
200
operation\valid\IsValidOp.obj \
201
operation\valid\QuadtreeNestedRingTester.obj \
202
operation\valid\RepeatedPointTester.obj \
203
operation\valid\SimpleNestedRingTester.obj \
204
operation\valid\SweeplineNestedRingTester.obj \
205
operation\valid\TopologyValidationError.obj \
206
planargraph\planarDirectedEdge.obj \
207
planargraph\planarDirectedEdgeStar.obj \
208
planargraph\planarEdge.obj \
209
planargraph\planarGraphComponent.obj \
210
planargraph\planarNode.obj \
211
planargraph\planarNodeMap.obj \
212
planargraph\planarPlanarGraph.obj \
213
precision\CommonBits.obj \
214
precision\CommonBitsOp.obj \
215
precision\CommonBitsRemover.obj \
216
precision\EnhancedPrecisionOp.obj \
217
precision\SimpleGeometryPrecisionReducer.obj \
219
util\AssertionFailedException.obj \
220
util\CoordinateArrayFiter.obj \
221
util\GEOSException.obj \
222
util\GeometricShapeFactory.obj \
223
util\IllegalArgumentException.obj \
225
util\UniqueCoordinateArrayFilter.obj \
226
util\UnsupportedOperationException.obj
229
TEST_EXE = TestSweepLineSpeed.exe
231
default: $(LIBNAME) $(DLLNAME) $(CDLLNAME) $(TEST_EXE)
233
$(LIBNAME): headers/geos/platform.h headers/geos/version.h capi/geos_c.h $(OBJ)
234
if exist $(LIBNAME) del $(LIBNAME)
235
lib /out:$(LIBNAME) $(OBJ)
238
link /dll /debug $(OBJ) /out:$(DLLNAME) /implib:$(SLIBNAME)
240
$(CDLLNAME): capi\geos_c.obj $(DLLNAME)
241
link /dll /debug capi\geos_c.obj $(LIBNAME) /out:$(CDLLNAME) /implib:$(CLIBNAME)
243
headers/geos/platform.h: headers/geos/platform.h.vc
244
copy headers\geos\platform.h.vc headers\geos\platform.h
246
headers/geos/version.h: headers/geos/version.h.vc
247
copy headers\geos\version.h.vc headers\geos\version.h
249
capi/geos_c.h: capi/geos_c.h.vc
250
copy capi\geos_c.h.vc capi\geos_c.h
253
$(CC) $(CFLAGS) /c $*.cpp /Fo$@
269
TestSweepLineSpeed.exe: $(DLLNAME) \
270
bigtest\GeometryTestFactory.obj \
271
bigtest\TestSweepLineSpeed.obj
272
link /debug /out:TestSweepLineSpeed.exe \
273
bigtest\TestSweepLineSpeed.obj \
274
bigtest\GeometryTestFactory.obj \
277
#geostest.exe: $(DLLNAME) capi\geostest.obj
278
# link /debug capi\geostest.obj $(SLIBNAME)
280
#TestSweepLineSpeed.exe: $(LIBNAME) \
281
# bigtest\GeometryTestFactory.obj \
282
# bigtest\TestSweepLineSpeed.obj \
285
# bigtest\TestSweepLineSpeed.obj \
286
# bigtest\GeometryTestFactory.obj \