2 # FreeType 2 configuration rules templates for Unix + configure
6 # Copyright 1996-2000, 2002 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
19 TOP_DIR := $(shell cd $(TOP_DIR); pwd)
25 BUILD := $(TOP_DIR)/builds/unix
28 # this is used for `make distclean' and `make install'
33 # don't use `:=' here since the path stuff will be included after this file
35 FTSYS_SRC = @FTSYS_SRC@
38 INSTALL_DATA := @INSTALL_DATA@
39 INSTALL_PROGRAM := @INSTALL_PROGRAM@
40 INSTALL_SCRIPT := @INSTALL_SCRIPT@
41 MKINSTALLDIRS := $(BUILD)/mkinstalldirs
43 DISTCLEAN += $(OBJ_BUILD)/config.cache \
44 $(OBJ_BUILD)/config.log \
45 $(OBJ_BUILD)/config.status \
46 $(OBJ_BUILD)/unix-def.mk \
47 $(OBJ_BUILD)/unix-cc.mk \
48 $(OBJ_BUILD)/ftconfig.h \
49 $(OBJ_BUILD)/freetype-config \
54 # Standard installation variables.
57 exec_prefix := @exec_prefix@
60 includedir := @includedir@
63 version_info := @version_info@
66 # The directory where all object files are placed.
68 # This lets you build the library in your own directory with something like
70 # set TOP_DIR=.../path/to/freetype2/top/dir...
71 # set OBJ_DIR=.../path/to/obj/dir
72 # make -f $TOP_DIR/Makefile setup [options]
73 # make -f $TOP_DIR/Makefile
76 OBJ_DIR := $(shell cd $(TOP_DIR)/objs; pwd)
80 # The directory where all library files are placed.
82 # By default, this is the same as $(OBJ_DIR); however, this can be changed
83 # to suit particular needs.
88 # The SYSTEM_ZLIB macro is defined if the user wishes to link dynamically
89 # with its system wide zlib. If SYSTEM_ZLIB is 'yes', the zlib part of the
90 # ftgzip module is not compiled in.
91 SYSTEM_ZLIB := @SYSTEM_ZLIB@
94 # The NO_OUTPUT macro is appended to command lines in order to ignore
95 # the output of some programs.
97 NO_OUTPUT := 2> /dev/null