]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/psnames/rules.mk
unimportant DOS fix
[wxWidgets.git] / src / freetype / psnames / rules.mk
CommitLineData
cabec872
RR
1#
2# FreeType 2 PSNames driver configuration rules
3#
4
5
6# Copyright 1996-2000 by
7# David Turner, Robert Wilhelm, and Werner Lemberg.
8#
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.
14
15
16# PSNames driver directory
17#
18PSNAMES_DIR := $(SRC_)psnames
19PSNAMES_DIR_ := $(PSNAMES_DIR)$(SEP)
20
21
22# compilation flags for the driver
23#
24PSNAMES_COMPILE := $(FT_COMPILE)
25
26
27# PSNames driver sources (i.e., C files)
28#
29PSNAMES_DRV_SRC := $(PSNAMES_DIR_)psmodule.c
30
31
32# PSNames driver headers
33#
34PSNAMES_DRV_H := $(PSNAMES_DRV_SRC:%.c=%.h) \
35 $(PSNAMES_DIR_)pstables.h
36
37
38# PSNames driver object(s)
39#
40# PSNAMES_DRV_OBJ_M is used during `multi' builds
41# PSNAMES_DRV_OBJ_S is used during `single' builds
42#
43PSNAMES_DRV_OBJ_M := $(PSNAMES_DRV_SRC:$(PSNAMES_DIR_)%.c=$(OBJ_)%.$O)
44PSNAMES_DRV_OBJ_S := $(OBJ_)psnames.$O
45
46# PSNames driver source file for single build
47#
48PSNAMES_DRV_SRC_S := $(PSNAMES_DIR_)psmodule.c
49
50
51# PSNames driver - single object
52#
53$(PSNAMES_DRV_OBJ_S): $(PSNAMES_DRV_SRC_S) $(PSNAMES_DRV_SRC) \
54 $(FREETYPE_H) $(PSNAMES_DRV_H)
55 $(PSNAMES_COMPILE) $T$@ $(PSNAMES_DRV_SRC_S)
56
57
58# PSNames driver - multiple objects
59#
60$(OBJ_)%.$O: $(PSNAMES_DIR_)%.c $(FREETYPE_H) $(PSNAMES_DRV_H)
61 $(PSNAMES_COMPILE) $T$@ $<
62
63
64# update main driver object lists
65#
66DRV_OBJS_S += $(PSNAMES_DRV_OBJ_S)
67DRV_OBJS_M += $(PSNAMES_DRV_OBJ_M)
68
69
70# EOF