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