David Turner | caf72cd | 2001-04-25 18:11:16 +0000 | [diff] [blame^] | 1 | # |
| 2 | # FreeType 2 configuration rules for a BeOS system |
| 3 | # |
| 4 | # this is similar to the "ansi-def.mk" file, except for BUILD and PLATFORM |
| 5 | # |
| 6 | |
| 7 | |
| 8 | # Copyright 1996-2000 by |
| 9 | # David Turner, Robert Wilhelm, and Werner Lemberg. |
| 10 | # |
| 11 | # This file is part of the FreeType project, and may only be used, modified, |
| 12 | # and distributed under the terms of the FreeType project license, |
| 13 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you |
| 14 | # indicate that you have read the license and understand and accept it |
| 15 | # fully. |
| 16 | |
| 17 | |
| 18 | ifndef TOP |
| 19 | TOP := . |
| 20 | endif |
| 21 | |
| 22 | DELETE := rm -f |
| 23 | SEP := / |
| 24 | HOSTSEP := $(SEP) |
| 25 | BUILD := $(TOP)/builds/neos |
| 26 | PLATFORM := beos |
| 27 | |
| 28 | |
| 29 | # The directory where all object files are placed. |
| 30 | # |
| 31 | # This lets you build the library in your own directory with something like |
| 32 | # |
| 33 | # set TOP=.../path/to/freetype2/top/dir... |
| 34 | # set OBJ_DIR=.../path/to/obj/dir |
| 35 | # make -f $TOP/Makefile setup [options] |
| 36 | # make -f $TOP/Makefile |
| 37 | # |
| 38 | ifndef OBJ_DIR |
| 39 | OBJ_DIR := $(TOP)$(SEP)objs |
| 40 | endif |
| 41 | |
| 42 | |
| 43 | # The directory where all library files are placed. |
| 44 | # |
| 45 | # By default, this is the same as $(OBJ_DIR); however, this can be changed |
| 46 | # to suit particular needs. |
| 47 | # |
| 48 | LIB_DIR := $(OBJ_DIR) |
| 49 | |
| 50 | |
| 51 | # The name of the final library file. Note that the DOS-specific Makefile |
| 52 | # uses a shorter (8.3) name. |
| 53 | # |
| 54 | LIBRARY := lib$(PROJECT) |
| 55 | |
| 56 | |
| 57 | # Path inclusion flag. Some compilers use a different flag than `-I' to |
| 58 | # specify an additional include path. Examples are `/i=' or `-J'. |
| 59 | # |
| 60 | I := -I |
| 61 | |
| 62 | |
| 63 | # C flag used to define a macro before the compilation of a given source |
| 64 | # object. Usually it is `-D' like in `-DDEBUG'. |
| 65 | # |
| 66 | D := -D |
| 67 | |
| 68 | |
| 69 | # The link flag used to specify a given library file on link. Note that |
| 70 | # this is only used to compile the demo programs, not the library itself. |
| 71 | # |
| 72 | L := -l |
| 73 | |
| 74 | |
| 75 | # Target flag. |
| 76 | # |
| 77 | T := -o$(space) |
| 78 | |
| 79 | |
| 80 | # C flags |
| 81 | # |
| 82 | # These should concern: debug output, optimization & warnings. |
| 83 | # |
| 84 | # Use the ANSIFLAGS variable to define the compiler flags used to enfore |
| 85 | # ANSI compliance. |
| 86 | # |
| 87 | ifndef CFLAGS |
| 88 | CFLAGS := -c |
| 89 | endif |
| 90 | |
| 91 | # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant. |
| 92 | # |
| 93 | ANSIFLAGS := |
| 94 | |
| 95 | |
| 96 | # EOF |