2000-09-16 00:42:06 +02:00
|
|
|
#
|
|
|
|
# FreeType 2 configuration rules templates for Unix + configure
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2002-05-05 12:57:06 +02:00
|
|
|
# Copyright 1996-2000, 2002 by
|
2000-09-16 00:42:06 +02:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
2002-06-14 10:09:25 +02:00
|
|
|
ifndef TOP_DIR
|
|
|
|
TOP_DIR := .
|
2000-09-16 00:42:06 +02:00
|
|
|
endif
|
2002-06-14 10:09:25 +02:00
|
|
|
TOP_DIR := $(shell cd $(TOP_DIR); pwd)
|
2000-09-16 00:42:06 +02:00
|
|
|
|
2002-05-05 12:57:06 +02:00
|
|
|
DELETE := @RMF@
|
|
|
|
DELDIR := @RMDIR@
|
|
|
|
SEP := /
|
|
|
|
HOSTSEP := $(SEP)
|
2002-06-14 10:09:25 +02:00
|
|
|
BUILD := $(TOP_DIR)/builds/unix
|
2002-05-05 12:57:06 +02:00
|
|
|
PLATFORM := unix
|
|
|
|
|
|
|
|
# this is used for `make distclean' and `make install'
|
|
|
|
ifndef OBJ_BUILD
|
|
|
|
OBJ_BUILD := $(BUILD)
|
|
|
|
endif
|
2000-09-16 00:42:06 +02:00
|
|
|
|
|
|
|
# don't use `:=' here since the path stuff will be included after this file
|
|
|
|
#
|
|
|
|
FTSYS_SRC = @FTSYS_SRC@
|
|
|
|
|
2000-11-11 09:29:17 +01:00
|
|
|
INSTALL := @INSTALL@
|
|
|
|
INSTALL_DATA := @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM := @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT := @INSTALL_SCRIPT@
|
|
|
|
MKINSTALLDIRS := $(BUILD)/mkinstalldirs
|
2000-09-16 00:42:06 +02:00
|
|
|
|
2002-05-05 12:57:06 +02:00
|
|
|
DISTCLEAN += $(OBJ_BUILD)/config.cache \
|
|
|
|
$(OBJ_BUILD)/config.log \
|
|
|
|
$(OBJ_BUILD)/config.status \
|
|
|
|
$(OBJ_BUILD)/unix-def.mk \
|
|
|
|
$(OBJ_BUILD)/unix-cc.mk \
|
|
|
|
$(OBJ_BUILD)/ftconfig.h \
|
|
|
|
$(OBJ_BUILD)/freetype-config \
|
|
|
|
$(LIBTOOL) \
|
|
|
|
$(OBJ_BUILD)/Makefile
|
2000-09-16 00:42:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Standard installation variables.
|
|
|
|
#
|
|
|
|
prefix := @prefix@
|
|
|
|
exec_prefix := @exec_prefix@
|
|
|
|
libdir := @libdir@
|
|
|
|
bindir := @bindir@
|
|
|
|
includedir := @includedir@
|
2002-09-04 21:58:47 +02:00
|
|
|
datadir := @datadir@
|
2000-09-16 00:42:06 +02:00
|
|
|
|
|
|
|
version_info := @version_info@
|
|
|
|
|
|
|
|
|
|
|
|
# The directory where all object files are placed.
|
|
|
|
#
|
|
|
|
# This lets you build the library in your own directory with something like
|
|
|
|
#
|
2002-06-14 10:09:25 +02:00
|
|
|
# set TOP_DIR=.../path/to/freetype2/top/dir...
|
2000-09-16 00:42:06 +02:00
|
|
|
# set OBJ_DIR=.../path/to/obj/dir
|
2002-06-14 10:09:25 +02:00
|
|
|
# make -f $TOP_DIR/Makefile setup [options]
|
|
|
|
# make -f $TOP_DIR/Makefile
|
2000-09-16 00:42:06 +02:00
|
|
|
#
|
|
|
|
ifndef OBJ_DIR
|
2002-06-14 10:09:25 +02:00
|
|
|
OBJ_DIR := $(shell cd $(TOP_DIR)/objs; pwd)
|
2000-09-16 00:42:06 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# The directory where all library files are placed.
|
|
|
|
#
|
2000-09-22 23:23:29 +02:00
|
|
|
# By default, this is the same as $(OBJ_DIR); however, this can be changed
|
2000-09-16 00:42:06 +02:00
|
|
|
# to suit particular needs.
|
|
|
|
#
|
|
|
|
LIB_DIR := $(OBJ_DIR)
|
|
|
|
|
|
|
|
|
2002-12-23 23:40:21 +01:00
|
|
|
# The SYSTEM_ZLIB macro is defined if the user wishes to link dynamically
|
|
|
|
# with its system wide zlib. If SYSTEM_ZLIB is 'yes', the zlib part of the
|
2002-12-16 22:51:24 +01:00
|
|
|
# ftgzip module is not compiled in.
|
|
|
|
SYSTEM_ZLIB := @SYSTEM_ZLIB@
|
|
|
|
|
|
|
|
|
2000-09-22 23:23:29 +02:00
|
|
|
# The NO_OUTPUT macro is appended to command lines in order to ignore
|
|
|
|
# the output of some programs.
|
2000-09-16 01:47:42 +02:00
|
|
|
#
|
|
|
|
NO_OUTPUT := 2> /dev/null
|
2000-09-16 00:42:06 +02:00
|
|
|
|
|
|
|
# EOF
|