2 # FreeType 2 configuration rules for UNIX platforms
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
15 have_mk := $(strip $(wildcard $(TOP_DIR)/builds/unix/unix-def.mk))
17 include $(TOP_DIR)/builds/unix/unix-def.mk
18 include $(TOP_DIR)/builds/unix/unix-cc.mk
20 # we are building FT2 not in the src tree
21 include $(OBJ_DIR)/unix-def.mk
22 include $(OBJ_DIR)/unix-cc.mk
27 .PHONY: clean_project distclean_project
29 # Now include the main sub-makefile. It contains all the rules used to
30 # build the library with the previous variables defined.
32 include $(TOP_DIR)/builds/$(PROJECT).mk
35 # The cleanup targets.
37 clean_project: clean_project_unix
38 distclean_project: distclean_project_unix
41 # This final rule is used to link all object files into a single library.
42 # It is part of the system-specific sub-Makefile because not all
43 # librarians accept a simple syntax like
45 # librarian library_file {list of object files}
47 $(PROJECT_LIBRARY): $(OBJECTS_LIST)
49 -$(CLEAN_LIBRARY) $(NO_OUTPUT)
55 include $(TOP_DIR)/builds/unix/install.mk