Imported Upstream version 1.5.3
[platform/upstream/cups.git] / fonts / Makefile
1 #
2 # "$Id: Makefile 9771 2011-05-12 05:21:56Z mike $"
3 #
4 #   Fonts makefile for CUPS.
5 #
6 #   Copyright 2007-2011 by Apple Inc.
7 #   Copyright 1993-2006 by Easy Software Products.
8 #
9 #   These coded instructions, statements, and computer programs are the
10 #   property of Apple Inc. and are protected by Federal copyright
11 #   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
12 #   which should have been included with this file.  If this file is
13 #   file is missing or damaged, see the license at "http://www.cups.org/".
14 #
15
16 include ../Makedefs
17
18 #
19 # Font files...
20 #
21
22 FONTS   =       \
23                 Monospace \
24                 Monospace-Bold \
25                 Monospace-BoldOblique \
26                 Monospace-Oblique
27
28
29 #
30 # Make everything...
31 #
32
33 all:
34
35
36 #
37 # Make library targets...
38 #
39
40 libs:
41
42
43 #
44 # Make unit tests...
45 #
46
47 unittests:
48
49
50 #
51 # Clean all config and object files...
52 #
53
54 clean:
55
56
57 #
58 # Dummy depend target...
59 #
60
61 depend:
62
63
64 #
65 # Install all targets...
66 #
67
68 install:        all install-data install-headers install-libs install-exec
69
70
71 #
72 # Install data files...
73 #
74
75 install-data:
76         $(INSTALL_DIR) -m 755 $(DATADIR)/fonts
77         if test "x$(BANNERTOPS)" != x -o "x$(TEXTTOPS)" != x; then \
78                 for file in $(FONTS); do \
79                         $(INSTALL_DATA) $$file $(DATADIR)/fonts; \
80                 done \
81         fi
82
83
84 #
85 # Install programs...
86 #
87
88 install-exec:
89
90
91 #
92 # Install headers...
93 #
94
95 install-headers:
96
97
98 #
99 # Install libraries...
100 #
101
102 install-libs:
103
104
105 #
106 # Uninstall files...
107 #
108
109 uninstall:
110         for file in $(FONTS); do \
111                 $(RM) $(DATADIR)/fonts/$$file; \
112         done
113         $(RMDIR) $(DATADIR)/fonts
114
115
116 #
117 # End of "$Id: Makefile 9771 2011-05-12 05:21:56Z mike $".
118 #