1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
|
include ../../Makefile.in.$(shell uname)
PLATFORM=BeOS
PLATFORMSOURCES=../../src/platform/$(PLATFORM)/agg_platform_support.o
CXXFLAGS= $(AGGCXXFLAGS) -I../../include \
-L../../src \
$(PIXFMT)
CXXFREETYPEFLAGS= $(AGGCXXFLAGS) -Wall \
-I../../include \
-I../../font_freetype \
-I/boot/home/config/include/ \
-L../../src \
-L/boot/home/config/lib/ \
$(PIXFMT)
LIBS = $(AGGLIBS) -lroot -lbe -ltranslation
base:
cd ../../src/; make
make aa_demo
make aa_test
make alpha_gradient
make alpha_mask
make alpha_mask2
make alpha_mask3
make bezier_div
make blur
make blend_color
make bspline
make circles
make component_rendering
make conv_contour
make conv_dash_marker
make conv_stroke
make flash_rasterizer
make flash_rasterizer2
make gamma_correction
make gamma_ctrl
make gamma_tuner
make gouraud
make gouraud_mesh
make gradient_focal
make gradients
make graph_test
make idea
make lion
make lion_lens
make lion_outline
make multi_clip
make pattern_fill
make perspective
make polymorphic_renderer
make raster_text
make rasterizers
make rasterizers2
make rasterizer_compound
make rounded_rect
make scanline_boolean
make scanline_boolean2
make simple_blur
make trans_polar
make image_alpha
make image_filters
make image_filters2
make image_fltr_graph
make image_perspective
make image_resample
make image_transforms
make image1
make distortions
make pattern_perspective
make compositing
make compositing2
make line_patterns
make line_patterns_clip
make mol_view
freetype:
make freetype_test
make trans_curve1_ft
make trans_curve2_ft
gpc:
make gpc_test
all:
make base
make freetype
make gpc
aa_demo: ../aa_demo.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o aa_demo $(LIBS)
aa_test: ../aa_test.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o aa_test $(LIBS)
alpha_gradient: ../alpha_gradient.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o alpha_gradient $(LIBS)
alpha_mask: ../alpha_mask.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o alpha_mask $(LIBS)
alpha_mask2: ../alpha_mask2.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o alpha_mask2 $(LIBS)
alpha_mask3: ../alpha_mask3.o ../make_arrows.o ../make_gb_poly.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o alpha_mask3 $(LIBS)
bezier_div: ../bezier_div.o ../interactive_polygon.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o bezier_div $(LIBS)
blur: ../blur.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o blur $(LIBS)
blend_color: ../blend_color.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o blend_color $(LIBS)
bspline: ../bspline.o ../interactive_polygon.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o bspline $(LIBS)
circles: ../circles.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o circles $(LIBS)
component_rendering: ../component_rendering.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o component_rendering $(LIBS)
compositing: ../compositing.o $(PLATFORMSOURCES) compositing.ppm
$(CXX) $(CXXFLAGS) ../compositing.o $(PLATFORMSOURCES) -o compositing $(LIBS)
compositing2: ../compositing2.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o compositing2 $(LIBS)
conv_contour: ../conv_contour.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o conv_contour $(LIBS)
conv_dash_marker: ../conv_dash_marker.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o conv_dash_marker $(LIBS)
conv_stroke: ../conv_stroke.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o conv_stroke $(LIBS)
distortions: ../distortions.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../distortions.o $(PLATFORMSOURCES) -o distortions $(LIBS)
flash_rasterizer: ../flash_rasterizer.o $(PLATFORMSOURCES) shapes.txt
$(CXX) $(CXXFLAGS) ../flash_rasterizer.o $(PLATFORMSOURCES) -o flash_rasterizer $(LIBS)
flash_rasterizer2: ../flash_rasterizer2.o $(PLATFORMSOURCES) shapes.txt
$(CXX) $(CXXFLAGS) ../flash_rasterizer2.o $(PLATFORMSOURCES) -o flash_rasterizer2 $(LIBS)
gamma_correction: ../gamma_correction.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gamma_correction $(LIBS)
gamma_ctrl: ../gamma_ctrl.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gamma_ctrl $(LIBS)
gamma_tuner: ../gamma_tuner.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gamma_tuner $(LIBS)
gouraud: ../gouraud.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gouraud $(LIBS)
gouraud_mesh: ../gouraud_mesh.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gouraud_mesh $(LIBS)
gradient_focal: ../gradient_focal.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gradient_focal $(LIBS)
gradients: ../gradients.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gradients $(LIBS)
graph_test: ../graph_test.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o graph_test $(LIBS)
idea: ../idea.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o idea $(LIBS)
image_alpha: ../image_alpha.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_alpha.o $(PLATFORMSOURCES) -o image_alpha $(LIBS)
image_filters: ../image_filters.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_filters.o $(PLATFORMSOURCES) -o image_filters $(LIBS)
image_filters2: ../image_filters2.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_filters2.o $(PLATFORMSOURCES) -o image_filters2 $(LIBS)
image_fltr_graph: ../image_fltr_graph.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_fltr_graph.o $(PLATFORMSOURCES) -o image_fltr_graph $(LIBS)
image_perspective: ../image_perspective.o ../interactive_polygon.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_perspective.o ../interactive_polygon.o $(PLATFORMSOURCES) -o image_perspective $(LIBS)
image_resample: ../image_resample.o ../interactive_polygon.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_resample.o ../interactive_polygon.o $(PLATFORMSOURCES) -o image_resample $(LIBS)
image_transforms: ../image_transforms.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image_transforms.o $(PLATFORMSOURCES) -o image_transforms $(LIBS)
image1: ../image1.o $(PLATFORMSOURCES) spheres.ppm
$(CXX) $(CXXFLAGS) ../image1.o $(PLATFORMSOURCES) -o image1 $(LIBS)
line_patterns: ../line_patterns.o $(PLATFORMSOURCES) 1.ppm 2.ppm 3.ppm 4.ppm 5.ppm 6.ppm 7.ppm 8.ppm 9.ppm
$(CXX) $(CXXFLAGS) ../line_patterns.o $(PLATFORMSOURCES) -o line_patterns $(LIBS)
line_patterns_clip: ../line_patterns_clip.o $(PLATFORMSOURCES) 1.ppm
$(CXX) $(CXXFLAGS) ../line_patterns_clip.o $(PLATFORMSOURCES) -o line_patterns_clip $(LIBS)
lion: ../lion.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o lion $(LIBS)
lion_lens: ../lion_lens.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o lion_lens $(LIBS)
lion_outline: ../lion_outline.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o lion_outline $(LIBS)
mol_view: ../mol_view.o $(PLATFORMSOURCES) 1.sdf
$(CXX) $(CXXFLAGS) ../mol_view.o $(PLATFORMSOURCES) -o mol_view $(LIBS)
multi_clip: ../multi_clip.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o multi_clip $(LIBS)
pattern_fill: ../pattern_fill.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o pattern_fill $(LIBS)
pattern_perspective: ../pattern_perspective.o ../interactive_polygon.o $(PLATFORMSOURCES) agg.ppm
$(CXX) $(CXXFLAGS) ../pattern_perspective.o ../interactive_polygon.o $(PLATFORMSOURCES) -o pattern_perspective $(LIBS)
perspective: ../perspective.o ../interactive_polygon.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o perspective $(LIBS)
polymorphic_renderer: ../polymorphic_renderer.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o polymorphic_renderer $(LIBS)
raster_text: ../raster_text.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o raster_text $(LIBS)
rasterizers: ../rasterizers.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o rasterizers $(LIBS)
rasterizers2: ../rasterizers2.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o rasterizers2 $(LIBS)
rasterizer_compound: ../rasterizer_compound.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o rasterizer_compound $(LIBS)
rounded_rect: ../rounded_rect.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o rounded_rect $(LIBS)
scanline_boolean: ../scanline_boolean.o ../interactive_polygon.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o scanline_boolean $(LIBS)
scanline_boolean2: ../scanline_boolean2.o ../make_arrows.o ../make_gb_poly.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o scanline_boolean2 $(LIBS)
simple_blur: ../simple_blur.o ../parse_lion.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o simple_blur $(LIBS)
trans_polar: ../trans_polar.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o trans_polar $(LIBS)
freetype_test: ../freetype_test.o ../../font_freetype/agg_font_freetype.o $(PLATFORMSOURCES) timesi.ttf
$(CXX) $(CXXFREETYPEFLAGS) ../freetype_test.o ../../font_freetype/agg_font_freetype.o $(PLATFORMSOURCES) -o freetype_test $(LIBS) -lfreetype
trans_curve1_ft: ../trans_curve1_ft.o ../../font_freetype/agg_font_freetype.o ../interactive_polygon.o $(PLATFORMSOURCES) timesi.ttf
$(CXX) $(CXXFLAGS) ../trans_curve1_ft.o ../../font_freetype/agg_font_freetype.o ../interactive_polygon.o $(PLATFORMSOURCES) -o trans_curve1_ft $(LIBS) -lfreetype
trans_curve2_ft: ../trans_curve2_ft.o ../../font_freetype/agg_font_freetype.o ../interactive_polygon.o $(PLATFORMSOURCES) timesi.ttf
$(CXX) $(CXXFLAGS) ../trans_curve2_ft.o ../../font_freetype/agg_font_freetype.o ../interactive_polygon.o $(PLATFORMSOURCES) -o trans_curve2_ft $(LIBS) -lfreetype
gpc_test: ../gpc_test.o ../make_arrows.o ../make_gb_poly.o $(PLATFORMSOURCES)
$(CXX) $(CXXFLAGS) $^ -o gpc_test $(LIBS)
clean:
rm -f ../*.o
rm -f ../../src/platform/$(PLATFORM)/agg_platform_support.o
rm -rf aa_demo
rm -rf aa_test
rm -rf alpha_gradient
rm -rf alpha_mask
rm -rf alpha_mask2
rm -rf alpha_mask3
rm -rf bezier_div
rm -rf bspline
rm -rf blur
rn -rf blend_color
rm -rf circles
rm -rf component_rendering
rm -rf conv_contour
rm -rf conv_dash_marker
rm -rf conv_stroke
rm -rf flash_rasterizer
rm -rf flash_rasterizer2
rm -rf gamma_correction
rm -rf gamma_ctrl
rm -rf gamma_tuner
rm -rf gouraud
rm -rf gouraud_mesh
rm -rf gradient_focal
rm -rf gradients
rm -rf graph_test
rm -rf idea
rm -rf lion
rm -rf lion_lens
rm -rf lion_outline
rm -rf multi_clip
rm -rf pattern_fill
rm -rf perspective
rm -rf polymorphic_renderer
rm -rf raster_text
rm -rf rasterizers
rm -rf rasterizers2
rm -rf rounded_rect
rm -rf scanline_boolean
rm -rf scanline_boolean2
rm -rf simple_blur
rm -rf trans_polar
rm -rf image_alpha
rm -rf image_filters
rm -rf image_filters2
rm -rf image_fltr_graph
rm -rf image_perspective
rm -rf image_resample
rm -rf image_transforms
rm -rf image1
rm -rf distortions
rm -rf pattern_perspective
rm -rf compositing
rm -rf line_patterns
rm -rf line_patterns_clip
rm -rf mol_view
rm -rf freetype_test
rm -rf trans_curve1_ft
rm -rf trans_curve2_ft
rm -rf gpc_test
agg.ppm:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/agg.ppm to /examples/X11/"
@echo "Attempting to retrieve via wget: (will fail if wget is not installed)"
wget http://www.antigrain.com/agg.ppm
compositing.ppm:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/compositing.ppm to /examples/X11/"
@echo "Attempting to retrieve via wget: (will fail if wget is not installed)"
wget http://www.antigrain.com/compositing.ppm
spheres.ppm:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/spheres.ppm to /examples/X11/"
@echo "Attempting to retrieve file: (will fail if wget is not installed)"
wget http://www.antigrain.com/spheres.ppm
shapes.txt:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/shapes.txt to /examples/X11/"
@echo "Attempting to retrieve file: (will fail if wget is not installed)"
wget http://www.antigrain.com/shapes.txt
1.sdf:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/1.sdf to /examples/macosx_carbon/"
@echo "Attempting to retrieve file: (will fail if wget is not installed)"
wget http://www.antigrain.com/1.sdf
1.ppm:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/line_patterns.tar.gz to /examples/X11/ and decompress it"
@echo "Attempting to retrieve file: (will fail if wget is not installed)"
wget http://www.antigrain.com/line_patterns.tar.gz
gunzip line_patterns.tar.gz
tar -xvf line_patterns.tar
timesi.ttf:
@echo "Required file missing!!"
@echo "Please download http://www.antigrain.com/timesi.zip to /examples/X11/ and decompress it"
@echo "Attempting to retrieve file: (will fail if wget is not installed)"
wget http://www.antigrain.com/timesi.zip
unzip -o timesi.zip
../freetype_test.o: ../freetype_test.cpp
@echo \< $*.cpp \>
$(CXX) -c $(CXXFREETYPEFLAGS) $*.cpp -o $@
../trans_curve1_ft.o: ../trans_curve1_ft.cpp
@echo \< $*.cpp \>
$(CXX) -c $(CXXFREETYPEFLAGS) $*.cpp -o $@
../trans_curve2_ft.o: ../trans_curve2_ft.cpp
@echo \< $*.cpp \>
$(CXX) -c $(CXXFREETYPEFLAGS) $*.cpp -o $@
../../font_freetype/agg_font_freetype.o: ../../font_freetype/agg_font_freetype.cpp
@echo \< $*.cpp \>
$(CXX) -c $(CXXFREETYPEFLAGS) $*.cpp -o $@
../gpc_test.o: ../gpc_test.cpp
@echo \< $*.cpp \>
$(CXX) -c $(CXXFLAGS) -I../../gpc $*.cpp -o $@
%.o: %.cpp
@echo \< $*.cpp \>
$(CXX) -c $(CXXFLAGS) $*.cpp -o $@
.PHONY : clean
|