ref: 9b11b9e3e42c68070aba0f02a50da0d12aca4038
dir: /builds/unix/unix-def.in/
# # FreeType 2 configuration rules templates for Unix + configure # # Copyright 1996-2000 by # 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. ifndef TOP TOP := . endif TOP := $(shell cd $(TOP); pwd) DELETE := @RMF@ DELDIR := @RMDIR@ SEP := / HOSTSEP := $(SEP) BUILD := $(TOP)/builds/unix PLATFORM := unix # don't use `:=' here since the path stuff will be included after this file # FTSYS_SRC = @FTSYS_SRC@ INSTALL := @INSTALL@ INSTALL_DATA := @INSTALL_DATA@ MKINSTALLDIRS := $(BUILD)/mkinstalldirs DISTCLEAN += $(BUILD)/config.cache \ $(BUILD)/config.log \ $(BUILD)/config.status \ $(BUILD)/unix.mk \ $(BUILD)/ftconfig.h \ $(LIBTOOL) # Standard installation variables. # prefix := @prefix@ exec_prefix := @exec_prefix@ libdir := @libdir@ bindir := @bindir@ includedir := @includedir@ 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 # # set TOP=.../path/to/freetype2/top/dir... # set OBJ_DIR=.../path/to/obj/dir # make -f $TOP/Makefile setup [options] # make -f $TOP/Makefile # ifndef OBJ_DIR OBJ_DIR := $(shell cd $(TOP)/obj; pwd) endif # The directory where all library files are placed. # # By default, this is the same as $(OBJ_DIR), however, this can be changed # to suit particular needs. # LIB_DIR := $(OBJ_DIR) ifdef BUILD_PROJECT # Now include the main sub-makefile. It contains all the rules used to # build the library with the previous variables defined. # include $(TOP)/builds/$(PROJECT).mk # The cleanup targets. # clean_project: clean_project_unix distclean_project: distclean_project_unix # This final rule is used to link all object files into a single library. # It is part of the system-specific sub-Makefile because not all # librarians accept a simple syntax like # # librarian library_file {list of object files} # $(PROJECT_LIBRARY): $(OBJECTS_LIST) ifdef CLEAN_LIBRARY -$(CLEAN_LIBRARY) $(NO_OUTPUT) endif $(LINK_LIBRARY) # EOF