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