source: trunk/poppler/fontconfig-2.3.2-os2/src/Makefile.am @ 2

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 2.8 KB
Line 
1#
2# $Id: Makefile.am,v 1.12 2004/12/05 05:49:20 keithp Exp $
3#
4# Copyright © 2003 Keith Packard
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
24if OS_WIN32
25
26no_undefined = -no-undefined
27export_symbols = -export-symbols fontconfig.def
28
29# gcc import library install/uninstall
30
31install-libtool-import-lib:
32        $(INSTALL) .libs/libfontconfig.dll.a $(DESTDIR)$(libdir)
33        $(INSTALL) fontconfig.def $(DESTDIR)$(libdir)/fontconfig.def
34
35uninstall-libtool-import-lib:
36        -rm $(DESTDIR)$(libdir)/libfontconfig.dll.a $(DESTDIR)$(libdir)/fontconfig.def
37
38else
39
40install-libtool-import-lib:
41uninstall-libtool-import-lib:
42
43endif
44
45if MS_LIB_AVAILABLE
46
47# Microsoft import library install/uninstall
48
49noinst_DATA = fontconfig.lib
50
51fontconfig.lib : libfontconfig.la
52        lib -name:libfontconfig-$(lt_current_minus_age).dll -def:fontconfig.def -out:$@
53
54install-ms-import-lib:
55        $(INSTALL) fontconfig.lib $(DESTDIR)$(libdir)
56
57uninstall-ms-import-lib:
58        -rm $(DESTDIR)$(libdir)/fontconfig.lib
59
60else
61
62install-ms-import-lib:
63uninstall-ms-import-lib:
64
65endif
66
67INCLUDES =                                              \
68        $(FREETYPE_CFLAGS)                              \
69        $(EXPAT_CFLAGS)                                 \
70        $(WARN_CFLAGS)                                  \
71        -DFONTCONFIG_PATH='"$(CONFDIR)"'                \
72        -I$(top_srcdir)                                 \
73        -I$(top_srcdir)/src
74
75EXTRA_DIST = fontconfig.def.in
76
77noinst_HEADERS=fcint.h
78
79libfontconfig_la_SOURCES = \
80        fcatomic.c \
81        fcblanks.c \
82        fccache.c \
83        fccfg.c \
84        fccharset.c \
85        fcdbg.c \
86        fcdefault.c \
87        fcdir.c \
88        fcfreetype.c \
89        fcfs.c \
90        fcinit.c \
91        fclang.c \
92        fclist.c \
93        fcmatch.c \
94        fcmatrix.c \
95        fcname.c \
96        fcpat.c \
97        fcstr.c \
98        fcxml.c
99
100lib_LTLIBRARIES = libfontconfig.la
101
102libfontconfig_la_LDFLAGS =                      \
103        -version-info @LT_VERSION_INFO@ $(no_undefined) $(export_symbols)
104
105libfontconfig_la_LIBADD = $(FREETYPE_LIBS) $(EXPAT_LIBS)
106
107install-data-local: install-ms-import-lib install-libtool-import-lib
108
109uninstall-local: uninstall-ms-import-lib uninstall-libtool-import-lib
110
Note: See TracBrowser for help on using the repository browser.