26551bc04dff111e4430e2a085a3acf956ecea25
[framework/uifw/xorg/lib/libxfont.git] / src / Makefile.am
1
2 #  Copyright © 2003 Keith Packard, Noah Levitt
3
4 #  Permission to use, copy, modify, distribute, and sell this software and its
5 #  documentation for any purpose is hereby granted without fee, provided that
6 #  the above copyright notice appear in all copies and that both that
7 #  copyright notice and this permission notice appear in supporting
8 #  documentation, and that the name of Keith Packard not be used in
9 #  advertising or publicity pertaining to distribution of the software without
10 #  specific, written prior permission.  Keith Packard makes no
11 #  representations about the suitability of this software for any purpose.  It
12 #  is provided "as is" without express or implied warranty.
13
14 #  KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15 #  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16 #  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17 #  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18 #  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19 #  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20 #  PERFORMANCE OF THIS SOFTWARE.
21
22 lib_LTLIBRARIES = libXfont.la
23
24 AM_CFLAGS = $(OS_CFLAGS) $(CWARNFLAGS)
25
26 if XFONT_FONTFILE
27 FONTFILE_DIR = fontfile
28 FONTFILE_LIB = fontfile/libfontfile.la
29 endif
30
31 if XFONT_FREETYPE
32 FREETYPE_DIR = FreeType
33 FREETYPE_LIB = FreeType/libft.la
34 endif
35
36 if XFONT_BITMAP
37 BITMAP_DIR = bitmap
38 BITMAP_LIB = bitmap/libbitmap.la
39 endif
40
41 if XFONT_BUILTINS
42 BUILTINS_DIR = builtins
43 BUILTINS_LIB = builtins/libbuiltins.la
44 endif
45
46 if XFONT_FC
47 FC_DIR = fc
48 FC_LIB = fc/libfc.la
49 endif
50
51 UTIL_DIR = util
52 UTIL_LIB = util/libutil.la
53
54 STUBS_LIB = stubs/libstubs.la
55 STUBS_DIR = stubs
56
57 SUBDIRS=\
58         $(FONTFILE_DIR) $(FREETYPE_DIR) $(BITMAP_DIR) \
59         $(BUILTINS_DIR) $(FC_DIR) $(UTIL_DIR) $(STUBS_DIR)
60
61 libXfont_la_LIBADD = \
62         $(FONTFILE_LIB) $(FREETYPE_LIB) $(BITMAP_LIB) \
63         $(BUILTINS_LIB) $(FC_LIB) $(UTIL_LIB) $(STUBS_LIB) \
64         $(FREETYPE_LIBS) $(Z_LIBS) $(MATH_LIBS) $(XFONT_LIBS)
65
66 libXfont_la_SOURCES = dummy.c
67
68 libXfont_la_LDFLAGS = -version-number 1:4:1