2
# FreeType 2 configuration rules templates for Unix + configure
6
# Copyright 1996-2000, 2002, 2004, 2006, 2008 by
7
# David Turner, Robert Wilhelm, and Werner Lemberg.
9
# This file is part of the FreeType project, and may only be used, modified,
10
# and distributed under the terms of the FreeType project license,
11
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
12
# indicate that you have read the license and understand and accept it
16
TOP_DIR := $(shell cd $(TOP_DIR); pwd)
23
# this is used for `make distclean' and `make install'
24
OBJ_BUILD ?= $(BUILD_DIR)
26
# don't use `:=' here since the path stuff will be included after this file
28
FTSYS_SRC = @FTSYS_SRC@
31
INSTALL_DATA := @INSTALL_DATA@
32
INSTALL_PROGRAM := @INSTALL_PROGRAM@
33
INSTALL_SCRIPT := @INSTALL_SCRIPT@
34
MKINSTALLDIRS := $(BUILD_DIR)/mkinstalldirs
36
DISTCLEAN += $(OBJ_BUILD)/config.cache \
37
$(OBJ_BUILD)/config.log \
38
$(OBJ_BUILD)/config.status \
39
$(OBJ_BUILD)/unix-def.mk \
40
$(OBJ_BUILD)/unix-cc.mk \
41
$(OBJ_BUILD)/ftconfig.h \
42
$(OBJ_BUILD)/freetype-config \
43
$(OBJ_BUILD)/freetype2.pc \
48
# Standard installation variables.
51
exec_prefix := @exec_prefix@
54
includedir := @includedir@
55
datarootdir := @datarootdir@
58
version_info := @version_info@
61
# The directory where all library files are placed.
63
# By default, this is the same as $(OBJ_DIR); however, this can be changed
64
# to suit particular needs.
68
# The BASE_SRC macro lists all source files that should be included in
69
# src/base/ftbase.c. When configure sets up CFLAGS to build ftmac.c,
70
# ftmac.c should be added to BASE_SRC.
73
# The SYSTEM_ZLIB macro is defined if the user wishes to link dynamically
74
# with its system wide zlib. If SYSTEM_ZLIB is 'yes', the zlib part of the
75
# ftgzip module is not compiled in.
76
SYSTEM_ZLIB := @SYSTEM_ZLIB@
79
# The NO_OUTPUT macro is appended to command lines in order to ignore
80
# the output of some programs.
82
NO_OUTPUT := 2> /dev/null