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
22lib_LTLIBRARIES = libXfont.la
23
24AM_CFLAGS = $(OS_CFLAGS) $(CWARNFLAGS)
25
26if XFONT_FONTFILE
27FONTFILE_DIR = fontfile
28FONTFILE_LIB = fontfile/libfontfile.la
29endif
30
31if XFONT_FREETYPE
32FREETYPE_DIR = FreeType
33FREETYPE_LIB = FreeType/libft.la
34endif
35
36if XFONT_BITMAP
37BITMAP_DIR = bitmap
38BITMAP_LIB = bitmap/libbitmap.la
39endif
40
41if XFONT_BUILTINS
42BUILTINS_DIR = builtins
43BUILTINS_LIB = builtins/libbuiltins.la
44endif
45
46if XFONT_FC
47FC_DIR = fc
48FC_LIB = fc/libfc.la
49endif
50
51UTIL_DIR = util
52UTIL_LIB = util/libutil.la
53
54STUBS_LIB = stubs/libstubs.la
55STUBS_DIR = stubs
56
57SUBDIRS=\
58	$(FONTFILE_DIR) $(FREETYPE_DIR) $(BITMAP_DIR) \
59	$(BUILTINS_DIR) $(FC_DIR) $(UTIL_DIR) $(STUBS_DIR)
60
61libXfont_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
66libXfont_la_SOURCES = dummy.c
67
68libXfont_la_LDFLAGS = -version-number 1:4:1 -no-undefined
69