blob: 60f9defd8e2cf6637638b9a6810d4262bef1ef8c [file] [log] [blame]
David Turnercaf72cd2001-04-25 18:11:16 +00001#
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
18ifndef TOP
19 TOP := .
20endif
21
22DELETE := rm -f
23SEP := /
24HOSTSEP := $(SEP)
25BUILD := $(TOP)/builds/neos
26PLATFORM := 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#
38ifndef OBJ_DIR
39 OBJ_DIR := $(TOP)$(SEP)objs
40endif
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#
48LIB_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#
54LIBRARY := 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#
60I := -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#
66D := -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#
72L := -l
73
74
75# Target flag.
76#
77T := -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#
87ifndef CFLAGS
88 CFLAGS := -c
89endif
90
91# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
92#
93ANSIFLAGS :=
94
95
96# EOF