* builds/os2/*.mk: These files have been forgotten to update to the structure of similar makefiles. * builds/dos/*.mk: Ditto. * builds/ansi/*.mk: Ditto. * builds/win32/win32-def.mk (BUILD): Fix typo. * builds/compiler/*.mk (CLEAN_LIBRARY): Don't use NO_OUTPUT. This is already used in the link_*.mk files. * src/*/Jamfile: Slight changes to make files more cryptic.
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 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870
diff --git a/ChangeLog b/ChangeLog
index 36569f8..5078cb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2001-04-05 Werner Lemberg <wl@gnu.org>
+
+ * builds/os2/*.mk: These files have been forgotten to update to
+ the structure of similar makefiles.
+ * builds/dos/*.mk: Ditto.
+ * builds/ansi/*.mk: Ditto.
+
+ * builds/win32/win32-def.mk (BUILD): Fix typo.
+
+ * builds/compiler/*.mk (CLEAN_LIBRARY): Don't use NO_OUTPUT.
+ This is already used in the link_*.mk files.
+
+2001-04-03 Werner Lemberg <wl@gnu.org>
+
+ * src/*/Jamfile: Slight changes to make files more cryptic.
+
2001-04-03 Werner Lemberg <wl@gnu.org>
* Jamfile, src/Jamfile, src/*/Jamfile: Formatted. Slight changes
diff --git a/Jamrules b/Jamrules
index 7bb4f52..eb65f92 100644
--- a/Jamrules
+++ b/Jamrules
@@ -18,7 +18,7 @@ else
LIBPREFIX ?= "" ;
}
-# FT_TOP contains the location of the FreeType source directory. You can
+# FT2_TOP contains the location of the FreeType source directory. You can
# set it to a specific value if you want to compile the library as part of a
# larger project.
#
diff --git a/builds/ansi/ansi-def.mk b/builds/ansi/ansi-def.mk
index 9d4685e..e755e75 100644
--- a/builds/ansi/ansi-def.mk
+++ b/builds/ansi/ansi-def.mk
@@ -91,30 +91,4 @@ endif
ANSIFLAGS :=
-ifdef BUILD_PROJECT
-
- .PHONY: clean_project distclean_project
-
- # Now include the main sub-makefile. It contains all the rules used to
- # build the library with the previous variables defined.
- #
- include $(TOP)/builds/$(PROJECT).mk
-
- # The cleanup targets.
- #
- clean_project: clean_project_std
- distclean_project: distclean_project_std
-
- # This final rule is used to link all object files into a single library.
- # It is part of the system-specific sub-Makefile because not all
- # librarians accept a simple syntax like
- #
- # librarian library_file {list of object files}
- #
- $(PROJECT_LIBRARY): $(OBJECTS_LIST)
- -$(CLEAN_LIBRARY) $(NO_OUTPUT)
- $(LINK_LIBRARY)
-
-endif
-
# EOF
diff --git a/builds/ansi/ansi.mk b/builds/ansi/ansi.mk
index 04d90ca..6a49774 100644
--- a/builds/ansi/ansi.mk
+++ b/builds/ansi/ansi.mk
@@ -13,7 +13,8 @@
# fully.
-include $(TOP)/builds/compiler/ansi-cc.mk
include $(TOP)/builds/ansi/ansi-def.mk
+include $(TOP)/builds/compiler/ansi-cc.mk
+include $(TOP)/builds/link_std.mk
# EOF
diff --git a/builds/compiler/ansi-cc.mk b/builds/compiler/ansi-cc.mk
index 0a59896..0309e39 100644
--- a/builds/compiler/ansi-cc.mk
+++ b/builds/compiler/ansi-cc.mk
@@ -74,8 +74,7 @@ ANSIFLAGS :=
# Library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST)
diff --git a/builds/compiler/bcc-dev.mk b/builds/compiler/bcc-dev.mk
index b603ed9..aa5c369 100644
--- a/builds/compiler/bcc-dev.mk
+++ b/builds/compiler/bcc-dev.mk
@@ -72,8 +72,7 @@ ANSIFLAGS := -A
# Library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
TARGET_OBJECTS = $(subst $(SEP),\\,$(OBJECTS_LIST))
LINK_LIBRARY = tlib /u $(subst $(SEP),\\,$@) $(TARGET_OBJECTS:%=+%)
diff --git a/builds/compiler/bcc.mk b/builds/compiler/bcc.mk
index 8c9fabf..938ecee 100644
--- a/builds/compiler/bcc.mk
+++ b/builds/compiler/bcc.mk
@@ -72,8 +72,7 @@ ANSIFLAGS := -A
# Library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
TARGET_OBJECTS = $(subst $(SEP),\\,$(OBJECTS_LIST))
LINK_LIBRARY = tlib /u $(subst $(SEP),\\,$@) $(TARGET_OBJECTS:%=+%)
diff --git a/builds/compiler/gcc-dev.mk b/builds/compiler/gcc-dev.mk
index df62aad..62df898 100644
--- a/builds/compiler/gcc-dev.mk
+++ b/builds/compiler/gcc-dev.mk
@@ -81,8 +81,7 @@ ANSIFLAGS := -ansi -pedantic
# Library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST)
diff --git a/builds/compiler/gcc.mk b/builds/compiler/gcc.mk
index 54d9696..34a3ad7 100644
--- a/builds/compiler/gcc.mk
+++ b/builds/compiler/gcc.mk
@@ -72,8 +72,7 @@ ANSIFLAGS := -ansi -pedantic
# Library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST)
diff --git a/builds/compiler/unix-lcc.mk b/builds/compiler/unix-lcc.mk
index f4046de..fd8c7fb 100644
--- a/builds/compiler/unix-lcc.mk
+++ b/builds/compiler/unix-lcc.mk
@@ -78,8 +78,7 @@ ANSIFLAGS := -A
# library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
LINK_LIBRARY = $(AR) -r $@ $(OBJECTS_LIST)
diff --git a/builds/compiler/watcom.mk b/builds/compiler/watcom.mk
index e1e2d11..7669ed6 100644
--- a/builds/compiler/watcom.mk
+++ b/builds/compiler/watcom.mk
@@ -74,8 +74,7 @@ ANSIFLAGS := -za
# Library linking
#
ifndef CLEAN_LIBRARY
- CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY)) \
- $(NO_OUTPUT)
+ CLEAN_LIBRARY = $(DELETE) $(subst $(SEP),$(HOSTSEP),$(PROJECT_LIBRARY))
endif
LINK_LIBRARY = wlib -q -o = $@ $(OBJECTS_LIST)
diff --git a/builds/dos/dos-def.mk b/builds/dos/dos-def.mk
index 19c1301..42fffbb 100644
--- a/builds/dos/dos-def.mk
+++ b/builds/dos/dos-def.mk
@@ -56,30 +56,4 @@ LIBRARY := $(PROJECT)
NO_OUTPUT = &> nul
-ifdef BUILD_PROJECT
-
- .PHONY: clean_project distclean_project
-
- # Now include the main sub-makefile. It contains all the rules used to
- # build the library with the previous variables defined.
- #
- include $(TOP)/builds/$(PROJECT).mk
-
- # The cleanup targets.
- #
- clean_project: clean_project_dos
- distclean_project: distclean_project_dos
-
- # This final rule is used to link all object files into a single library.
- # It is part of the system-specific sub-Makefile because not all
- # librarians accept a simple syntax like
- #
- # librarian library_file {list of object files}
- #
- $(PROJECT_LIBRARY): $(OBJECTS_LIST)
- -$(CLEAN_LIBRARY) $(NO_OUTPUT)
- $(LINK_LIBRARY)
-
-endif
-
# EOF
diff --git a/builds/dos/dos-gcc.mk b/builds/dos/dos-gcc.mk
index 50bfa3b..1fab6f0 100644
--- a/builds/dos/dos-gcc.mk
+++ b/builds/dos/dos-gcc.mk
@@ -14,9 +14,9 @@
SEP := /
-CLEAN_LIBRARY := $(DELETE) $@
-include $(TOP)/builds/compiler/gcc.mk
include $(TOP)/builds/dos/dos-def.mk
+include $(TOP)/builds/compiler/gcc.mk
+include $(TOP)/builds/link_dos.mk
# EOF
diff --git a/builds/os2/os2-def.mk b/builds/os2/os2-def.mk
index e25f90c..8f20ffb 100644
--- a/builds/os2/os2-def.mk
+++ b/builds/os2/os2-def.mk
@@ -55,31 +55,4 @@ LIBRARY := $(PROJECT)
#
NO_OUTPUT = 2> nul
-
-ifdef BUILD_LIBRARY
-
- .PHONY: clean_project distclean_project
-
- # Now include the main sub-makefile. It contains all the rules used to
- # build the library with the previous variables defined.
- #
- include $(TOP)/builds/$(PROJECT).mk
-
- # The cleanup targets.
- #
- clean_project: clean_project_dos
- distclean_project: distclean_project_dos
-
- # This final rule is used to link all object files into a single library.
- # It is part of the system-specific sub-Makefile because not all
- # librarians accept a simple syntax like
- #
- # librarian library_file {list of object files}
- #
- $(PROJECT_LIBRARY): $(OBJECTS_LIST)
- -$(CLEAN_LIBRARY) $(NO_OUTPUT)
- $(LINK_LIBRARY)
-
-endif
-
# EOF
diff --git a/builds/os2/os2-dev.mk b/builds/os2/os2-dev.mk
index db7f3d5..f1e96d2 100644
--- a/builds/os2/os2-dev.mk
+++ b/builds/os2/os2-dev.mk
@@ -1,5 +1,5 @@
#
-# FreeType 2 configuration rules for OS/2 + gcc
+# FreeType 2 configuration rules for OS/2 + GCC
#
# Development version without optimizations.
#
@@ -19,123 +19,15 @@ ifndef TOP
TOP := .
endif
-DELETE := del
-SEP := /
-HOSTSEP := $(strip \ )
-BUILD := $(TOP)/builds/os2
-PLATFORM := os2
-CC := gcc
+SEP := /
+include $(TOP)/builds/os2/os2-def.mk
+BUILD := $(TOP)/builds/devel
-# The directory where all object files are placed.
-#
-# This lets you build the library in your own directory with something like
-#
-# set TOP=.../path/to/freetype2/top/dir...
-# set OBJ_DIR=.../path/to/obj/dir
-# make -f %TOP%/Makefile setup [options]
-# make -f %TOP%/Makefile
-#
-ifndef OBJ_DIR
- OBJ_DIR := $(TOP)$(SEP)obj
-endif
-
-
-# The directory where all library files are placed.
-#
-# By default, this is the same as $(OBJ_DIR); however, this can be changed
-# to suit particular needs.
-#
-LIB_DIR := $(OBJ_DIR)
-
-
-# The object file extension (for standard and static libraries). This can be
-# .o, .tco, .obj, etc., depending on the platform.
-#
-O := o
-SO := o
-
-# The library file extension (for standard and static libraries). This can
-# be .a, .lib, etc., depending on the platform.
-#
-A := a
-SA := a
-
-
-# The name of the final library file. Note that the DOS-specific Makefile
-# uses a shorter (8.3) name.
-#
-LIBRARY := lib$(PROJECT)
-
-
-# Path inclusion flag. Some compilers use a different flag than `-I' to
-# specify an additional include path. Examples are `/i=' or `-J'.
-#
-I := -I
-
-
-# C flag used to define a macro before the compilation of a given source
-# object. Usually it is `-D' like in `-DDEBUG'.
-#
-D := -D
+include $(TOP)/builds/compiler/gcc-dev.mk
+# include linking instructions
+include $(TOP)/builds/link_dos.mk
-# The link flag used to specify a given library file on link. Note that
-# this is only used to compile the demo programs, not the library itself.
-#
-L := -l
-
-
-# Target flag.
-#
-T := -o$(space)
-
-
-# C flags
-#
-# These should concern: debug output, optimization & warnings.
-#
-# Use the ANSIFLAGS variable to define the compiler flags used to enfore
-# ANSI compliance.
-#
-ifndef CFLAGS
- CFLAGS := -c -g -O0 -Wall
-endif
-
-# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
-#
-ANSIFLAGS := -ansi -pedantic
-
-
-ifdef BUILD_FREETYPE
-
- .PHONY: clean_freetype distclean_freetype
-
- # Now include the main sub-makefile. It contains all the rules used to
- # build the library with the previous variables defined.
- #
- include $(TOP)/builds/freetype.mk
-
- # The cleanup targets.
- #
- clean_freetype: clean_freetype_dos
- distclean_freetype: distclean_freetype_dos
-
- # Librarian to use to build the static library
- #
- FT_LIBRARIAN := $(AR) -r
-
-
- # This final rule is used to link all object files into a single library.
- # It is part of the system-specific sub-Makefile because not all
- # librarians accept a simple syntax like
- #
- # librarian library_file {list of object files}
- #
- $(FT_LIBRARY): $(OBJECTS_LIST)
- -$(DELETE) $(subst $(SEP),$(HOSTSEP),$(FT_LIBRARY)) 2> nul
- $(FT_LIBRARIAN) $@ $(OBJECTS_LIST)
-
-endif
# EOF
diff --git a/builds/os2/os2-gcc.mk b/builds/os2/os2-gcc.mk
index 6470c72..275dacc 100644
--- a/builds/os2/os2-gcc.mk
+++ b/builds/os2/os2-gcc.mk
@@ -1,5 +1,5 @@
#
-# FreeType 2 configuration rules for OS/2 + gcc
+# FreeType 2 configuration rules for the OS/2 + gcc
#
@@ -13,128 +13,15 @@
# fully.
-ifndef TOP
- TOP := .
-endif
+SEP := /
-DELETE := del
-SEP := /
-HOSTSEP := $(strip \ )
-BUILD := $(TOP)/builds/os2
-PLATFORM := os2
-CC := gcc
+# include OS/2-specific definitions
+include $(TOP)/builds/os2/os2-def.mk
+# include gcc-specific definitions
+include $(TOP)/builds/compiler/gcc.mk
-# The directory where all object files are placed.
-#
-# This lets you build the library in your own directory with something like
-#
-# set TOP=.../path/to/freetype2/top/dir...
-# set OBJ_DIR=.../path/to/obj/dir
-# make -f %TOP%Makefile setup [options]
-# make -f %TOP%Makefile
-#
-ifndef OBJ_DIR
- OBJ_DIR := $(TOP)$(SEP)obj
-endif
-
-
-# The directory where all library files are placed.
-#
-# By default, this is the same as $(OBJ_DIR); however, this can be changed
-# to suit particular needs.
-#
-LIB_DIR := $(OBJ_DIR)
-
-
-# The object file extension (for standard and static libraries). This can be
-# .o, .tco, .obj, etc., depending on the platform.
-#
-O := o
-SO := o
-
-
-# The library file extension (for standard and static libraries). This can
-# be .a, .lib, etc., depending on the platform.
-#
-A := a
-SA := a
-
-
-# The name of the final library file. Note that the DOS-specific Makefile
-# uses a shorter (8.3) name.
-#
-LIBRARY := lib$(PROJECT)
-
-
-# Path inclusion flag. Some compilers use a different flag than `-I' to
-# specify an additional include path. Examples are `/i=' or `-J'.
-#
-I := -I
-
-
-# C flag used to define a macro before the compilation of a given source
-# object. Usually it is `-D' like in `-DDEBUG'.
-#
-D := -D
-
-
-# The link flag used to specify a given library file on link. Note that
-# this is only used to compile the demo programs, not the library itself.
-#
-L := -l
-
-
-# Target flag.
-#
-T := -o$(space)
-
-
-# C flags
-#
-# These should concern: debug output, optimization & warnings.
-#
-# Use the ANSIFLAGS variable to define the compiler flags used to enfore
-# ANSI compliance.
-#
-ifndef CFLAGS
- CFLAGS := -c -g -O6 -Wall
-endif
-
-# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
-#
-ANSIFLAGS := -ansi -pedantic
-
-
-ifdef BUILD_FREETYPE
-
- .PHONY: clean_freetype distclean_freetype
-
- # Now include the main sub-makefile. It contains all the rules used to
- # build the library with the previous variables defined.
- #
- include $(TOP)/builds/freetype.mk
-
- # The cleanup targets.
- #
- clean_freetype: clean_freetype_dos
- distclean_freetype: distclean_freetype_dos
-
- # Librarian to use to build the static library
- #
- FT_LIBRARIAN := $(AR) -r
-
-
- # This final rule is used to link all object files into a single library.
- # It is part of the system-specific sub-Makefile because not all
- # librarians accept a simple syntax like
- #
- # librarian library_file {list of object files}
- #
- $(FT_LIBRARY): $(OBJECTS_LIST)
- -$(DELETE) $(subst $(SEP),$(HOSTSEP),$(FT_LIBRARY)) 2> nul
- $(FT_LIBRARIAN) $@ $(OBJECTS_LIST)
-
-endif
+# include linking instructions
+include $(TOP)/builds/link_dos.mk
# EOF
diff --git a/builds/win32/win32-def.mk b/builds/win32/win32-def.mk
index 590237c..c71d856 100644
--- a/builds/win32/win32-def.mk
+++ b/builds/win32/win32-def.mk
@@ -15,7 +15,7 @@
DELETE := del
HOSTSEP := $(strip \ )
-BUILD := $(TOP)$(SEP)config$(SEP)win32
+BUILD := $(TOP)$(SEP)builds$(SEP)win32
PLATFORM := win32
# by default, we use "\" as a separator on Win32
diff --git a/src/autohint/Jamfile b/src/autohint/Jamfile
index f9ac828..ed2da3a 100644
--- a/src/autohint/Jamfile
+++ b/src/autohint/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src autohint ] ;
if $(FT2_MULTI)
{
- _sources = ahangles.c ahglobal.c ahglyph.c ahhint.c ahmodule.c ;
+ _sources = ahangles ahglobal ahglyph ahhint ahmodule ;
}
else
{
- _sources = autohint.c ;
+ _sources = autohint ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/autohint Jamfile
diff --git a/src/base/Jamfile b/src/base/Jamfile
index 7b6492e..8bacddb 100644
--- a/src/base/Jamfile
+++ b/src/base/Jamfile
@@ -10,15 +10,14 @@ SubDirHdrs [ FT2_SubDir src base ] ;
if $(FT2_MULTI)
{
- _sources = ftcalc.c ftextend.c ftlist.c ftobjs.c ftstream.c
- ftoutln.c ftnames.c ;
+ _sources = ftcalc ftextend ftlist ftobjs ftstream ftoutln ftnames ;
}
else
{
- _sources = ftbase.c ;
+ _sources = ftbase ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# Add the optional/replaceable files.
diff --git a/src/cache/Jamfile b/src/cache/Jamfile
index 4ed8e0d..1cbdc77 100644
--- a/src/cache/Jamfile
+++ b/src/cache/Jamfile
@@ -5,9 +5,6 @@ SubDir FT2_TOP src cache ;
SubDirHdrs [ FT2_SubDir src cache ] ;
-ft2_cache_sources = ftlru.c ftcmanag.c ftcglyph.c ftcchunk.c
- ftcsbits.c ftcimage.c ;
-
# The file <freetype/ftcache.h> contains some macro definitions that are
# later used in #include statements related to the cache sub-system. It
# needs to be parsed through a HDRMACRO rule for macro definitions.
@@ -19,15 +16,14 @@ HDRMACRO [ FT2_SubDir include ftcache.h ] ;
if $(FT2_MULTI)
{
- _sources = ftlru.c ftcmanag.c ftcglyph.c ftcchunk.c
- ftcsbits.c ftcimage.c ;
+ _sources = ftlru ftcmanag ftcglyph ftcchunk ftcsbits ftcimage ;
}
else
{
- _sources = ftcache.c ;
+ _sources = ftcache ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/cache Jamfile
diff --git a/src/cff/Jamfile b/src/cff/Jamfile
index cf406f1..9ff721d 100644
--- a/src/cff/Jamfile
+++ b/src/cff/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src cff ] ;
if $(FT2_MULTI)
{
- _sources = cffdrivr.c cffgload.c cffload.c cffobjs.c cffparse.c ;
+ _sources = cffdrivr cffgload cffload cffobjs cffparse ;
}
else
{
- _sources = cff.c ;
+ _sources = cff ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/cff Jamfile
diff --git a/src/cid/Jamfile b/src/cid/Jamfile
index 12386f4..87c580d 100644
--- a/src/cid/Jamfile
+++ b/src/cid/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src cid ] ;
if $(FT2_MULTI)
{
- _sources = cidobjs.c cidload.c cidgload.c cidriver.c cidparse.c ;
+ _sources = cidobjs cidload cidgload cidriver cidparse ;
}
else
{
- _sources = type1cid.c ;
+ _sources = type1cid ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/cid Jamfile
diff --git a/src/pcf/Jamfile b/src/pcf/Jamfile
index 0a80b77..8625fa1 100644
--- a/src/pcf/Jamfile
+++ b/src/pcf/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src pcf ] ;
if $(FT2_MULTI)
{
- _sources = pcfdriver.c pcfread.c pcfutil.c ;
+ _sources = pcfdriver pcfread pcfutil ;
}
else
{
- _sources = pcf.c ;
+ _sources = pcf ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/pcf Jamfile
diff --git a/src/psaux/Jamfile b/src/psaux/Jamfile
index 4c978c4..4f63dac 100644
--- a/src/psaux/Jamfile
+++ b/src/psaux/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src psaux ] ;
if $(FT2_MULTI)
{
- _sources = psauxmod.c psobjs.c t1decode.c ;
+ _sources = psauxmod psobjs t1decode ;
}
else
{
- _sources = psaux.c ;
+ _sources = psaux ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/psaux Jamfile
diff --git a/src/psnames/Jamfile b/src/psnames/Jamfile
index c5e76bb..e9e22ea 100644
--- a/src/psnames/Jamfile
+++ b/src/psnames/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src psnames ] ;
if $(FT2_MULTI)
{
- _sources = psmodule.c ;
+ _sources = psmodule ;
}
else
{
- _sources = psnames.c ;
+ _sources = psnames ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/psnames Jamfile
diff --git a/src/raster/Jamfile b/src/raster/Jamfile
index b886cf4..6c75e0d 100644
--- a/src/raster/Jamfile
+++ b/src/raster/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src raster ] ;
if $(FT2_MULTI)
{
- _sources = ftraster.c ftrend1.c ;
+ _sources = ftraster ftrend1 ;
}
else
{
- _sources = raster.c ;
+ _sources = raster ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/raster Jamfile
diff --git a/src/sfnt/Jamfile b/src/sfnt/Jamfile
index c1980ba..2682f12 100644
--- a/src/sfnt/Jamfile
+++ b/src/sfnt/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src sfnt ] ;
if $(FT2_MULTI)
{
- _sources = sfobjs.c sfdriver.c ttcmap.c ttpost.c ttload.c ttsbit.c ;
+ _sources = sfobjs sfdriver ttcmap ttpost ttload ttsbit ;
}
else
{
- _sources = sfnt.c ;
+ _sources = sfnt ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/sfnt Jamfile
diff --git a/src/smooth/Jamfile b/src/smooth/Jamfile
index f5eabc2..709c856 100644
--- a/src/smooth/Jamfile
+++ b/src/smooth/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src smooth ] ;
if $(FT2_MULTI)
{
- _sources = ftgrays.c ftsmooth.c ;
+ _sources = ftgrays ftsmooth ;
}
else
{
- _sources = smooth.c ;
+ _sources = smooth ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/smooth Jamfile
diff --git a/src/truetype/Jamfile b/src/truetype/Jamfile
index a438ab8..4d7a312 100644
--- a/src/truetype/Jamfile
+++ b/src/truetype/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src truetype ] ;
if $(FT2_MULTI)
{
- _sources = ttdriver.c ttobjs.c ttpload.c ttgload.c ttinterp.c ;
+ _sources = ttdriver ttobjs ttpload ttgload ttinterp ;
}
else
{
- _sources = truetype.c ;
+ _sources = truetype ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/truetype Jamfile
diff --git a/src/type1/Jamfile b/src/type1/Jamfile
index 4d55e99..1cbb78d 100644
--- a/src/type1/Jamfile
+++ b/src/type1/Jamfile
@@ -10,14 +10,14 @@ SubDirHdrs [ FT2_SubDir src type1 ] ;
if $(FT2_MULTI)
{
- _sources = t1afm.c t1driver.c t1objs.c t1load.c t1gload.c t1parse.c ;
+ _sources = t1afm t1driver t1objs t1load t1gload t1parse ;
}
else
{
- _sources = type1.c ;
+ _sources = type1 ;
}
- Library $(FT2_LIB) : $(_sources) ;
+ Library $(FT2_LIB) : $(_sources).c ;
}
# end of src/type1 Jamfile