mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / src / type42 / rules.mk
blobeac1081eb1f87233a60121b992b01c500194cab9
2 # FreeType 2 Type42 driver configuration rules
6 # Copyright 2002, 2003, 2008 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.
16 # Type42 driver directory
18 T42_DIR := $(SRC_DIR)/type42
21 # compilation flags for the driver
23 T42_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(T42_DIR))
26 # Type42 driver source
28 T42_DRV_SRC := $(T42_DIR)/t42objs.c \
29 $(T42_DIR)/t42parse.c \
30 $(T42_DIR)/t42drivr.c
32 # Type42 driver headers
34 T42_DRV_H := $(T42_DRV_SRC:%.c=%.h) \
35 $(T42_DIR)/t42error.h \
36 $(T42_DIR)/t42types.h
39 # Type42 driver object(s)
41 # T42_DRV_OBJ_M is used during `multi' builds
42 # T42_DRV_OBJ_S is used during `single' builds
44 T42_DRV_OBJ_M := $(T42_DRV_SRC:$(T42_DIR)/%.c=$(OBJ_DIR)/%.$O)
45 T42_DRV_OBJ_S := $(OBJ_DIR)/type42.$O
47 # Type42 driver source file for single build
49 T42_DRV_SRC_S := $(T42_DIR)/type42.c
52 # Type42 driver - single object
54 $(T42_DRV_OBJ_S): $(T42_DRV_SRC_S) $(T42_DRV_SRC) $(FREETYPE_H) $(T42_DRV_H)
55 $(T42_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(T42_DRV_SRC_S))
58 # Type42 driver - multiple objects
60 $(OBJ_DIR)/%.$O: $(T42_DIR)/%.c $(FREETYPE_H) $(T42_DRV_H)
61 $(T42_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
64 # update main driver object lists
66 DRV_OBJS_S += $(T42_DRV_OBJ_S)
67 DRV_OBJS_M += $(T42_DRV_OBJ_M)
70 # EOF