2 # FreeType 2 configuration rules for UNIX platforms
6 # Copyright 1996-2000, 2002, 2004, 2006 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
15 # We need these declarations here since unix-def.mk is a generated file.
16 BUILD_DIR := $(TOP_DIR)/builds/unix
19 have_mk := $(wildcard $(OBJ_DIR)/unix-def.mk)
21 # We are building FreeType 2 not in the src tree.
22 include $(OBJ_DIR)/unix-def.mk
23 include $(OBJ_DIR)/unix-cc.mk
25 include $(BUILD_DIR)/unix-def.mk
26 include $(BUILD_DIR)/unix-cc.mk
31 .PHONY: clean_project distclean_project
33 # Now include the main sub-makefile. It contains all the rules used to
34 # build the library with the previous variables defined.
36 include $(TOP_DIR)/builds/$(PROJECT).mk
39 # The cleanup targets.
41 clean_project: clean_project_unix
42 distclean_project: distclean_project_unix
45 # This final rule is used to link all object files into a single library.
46 # It is part of the system-specific sub-Makefile because not all
47 # librarians accept a simple syntax like
49 # librarian library_file {list of object files}
51 $(PROJECT_LIBRARY): $(OBJECTS_LIST)
53 -$(CLEAN_LIBRARY) $(NO_OUTPUT)
57 include $(TOP_DIR)/builds/unix/install.mk