Disabling auto-refresh of game list by default, as it is causing bugs sometimes
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / builds / unix / unix.mk
blob7f9d9a34fb9de7b6775a1d40219859834dfe6d0c
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
13 # fully.
15 # We need these declarations here since unix-def.mk is a generated file.
16 BUILD_DIR := $(TOP_DIR)/builds/unix
17 PLATFORM := unix
19 have_mk := $(wildcard $(OBJ_DIR)/unix-def.mk)
20 ifneq ($(have_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
24 else
25 include $(BUILD_DIR)/unix-def.mk
26 include $(BUILD_DIR)/unix-cc.mk
27 endif
29 ifdef BUILD_PROJECT
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)
52 ifdef CLEAN_LIBRARY
53 -$(CLEAN_LIBRARY) $(NO_OUTPUT)
54 endif
55 $(LINK_LIBRARY)
57 include $(TOP_DIR)/builds/unix/install.mk
59 endif
62 # EOF