/[freetype]/freetype2/src/autofit/rules.mk
ViewVC logotype

Diff of /freetype2/src/autofit/rules.mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by freetype, Tue Mar 1 22:49:32 2005 UTC revision 1.2 by wl, Wed Mar 2 11:24:23 2005 UTC
# Line 3  Line 3 
3  #  #
4    
5    
6  # AUTO driver directory  # AUTOF driver directory
7  #  #
8  AUTOF_DIR := $(SRC_DIR)/autofit  AUTOF_DIR := $(SRC_DIR)/autofit
9    
# Line 13  AUTOF_DIR := $(SRC_DIR)/autofit Line 13  AUTOF_DIR := $(SRC_DIR)/autofit
13  AUTOF_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(AUTOF_DIR))  AUTOF_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(AUTOF_DIR))
14    
15    
16  # AUTO driver sources (i.e., C files)  # AUTOF driver sources (i.e., C files)
17  #  #
18  AUTOF_DRV_SRC := $(AUTOF_DIR)/afangles.c  \  AUTOF_DRV_SRC := $(AUTOF_DIR)/afangles.c \
19                   $(AUTOF_DIR)/afdummy.c   \                   $(AUTOF_DIR)/afdummy.c  \
20                   $(AUTOF_DIR)/afglobal.c  \                   $(AUTOF_DIR)/afglobal.c \
21                   $(AUTOF_DIR)/afhints.c   \                   $(AUTOF_DIR)/afhints.c  \
22                   $(AUTOF_DIR)/afhints.c   \                   $(AUTOF_DIR)/aflatin.c  \
23                   $(AUTOF_DIR)/afloader.c  \                   $(AUTOF_DIR)/afloader.c \
24                   $(AUTOF_DIR)/afmodule.c                   $(AUTOF_DIR)/afmodule.c
25    
26  # AUTO driver headers  # AUTOF driver headers
27  #  #
28  AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h)  \  AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h) \
29                 $(AUTOF_DIR)/aftypes.h                 $(AUTOF_DIR)/aftypes.h
30    
31    
32  # AUTO driver object(s)  # AUTOF driver object(s)
33  #  #
34  #   AUTOF_DRV_OBJ_M is used during `multi' builds.  #   AUTOF_DRV_OBJ_M is used during `multi' builds.
35  #   AUTOF_DRV_OBJ_S is used during `single' builds.  #   AUTOF_DRV_OBJ_S is used during `single' builds.
# Line 37  AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h)  \ Line 37  AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h)  \
37  AUTOF_DRV_OBJ_M := $(AUTOF_DRV_SRC:$(AUTOF_DIR)/%.c=$(OBJ_DIR)/%.$O)  AUTOF_DRV_OBJ_M := $(AUTOF_DRV_SRC:$(AUTOF_DIR)/%.c=$(OBJ_DIR)/%.$O)
38  AUTOF_DRV_OBJ_S := $(OBJ_DIR)/autofit.$O  AUTOF_DRV_OBJ_S := $(OBJ_DIR)/autofit.$O
39    
40  # AUTO driver source file for single build  # AUTOF driver source file for single build
41  #  #
42  AUTOF_DRV_SRC_S := $(AUTOF_DIR)/autofit.c  AUTOF_DRV_SRC_S := $(AUTOF_DIR)/autofit.c
43    
44    
45  # AUTO driver - single object  # AUTOF driver - single object
46  #  #
47  $(AUTOF_DRV_OBJ_S): $(AUTOF_DRV_SRC_S) $(AUTOF_DRV_SRC) \  $(AUTOF_DRV_OBJ_S): $(AUTOF_DRV_SRC_S) $(AUTOF_DRV_SRC) \
48                     $(FREETYPE_H) $(AUTOF_DRV_H)                     $(FREETYPE_H) $(AUTOF_DRV_H)
49          $(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(AUTOF_DRV_SRC_S))          $(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(AUTOF_DRV_SRC_S))
50    
51    
52  # AUTO driver - multiple objects  # AUTOF driver - multiple objects
53  #  #
54  $(OBJ_DIR)/%.$O: $(AUTOF_DIR)/%.c $(FREETYPE_H) $(AUTOF_DRV_H)  $(OBJ_DIR)/%.$O: $(AUTOF_DIR)/%.c $(FREETYPE_H) $(AUTOF_DRV_H)
55          $(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)          $(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26