]> git.lyx.org Git - lyx.git/blob - 3rdparty/libiconv/1.15/lib/Makefile.in
Implement auto-nesting.
[lyx.git] / 3rdparty / libiconv / 1.15 / lib / Makefile.in
1 # Makefile for libiconv/lib
2
3 #### Start of system configuration section. ####
4
5 # Directories used by "make":
6 srcdir = @srcdir@
7
8 # Directories used by "make install":
9 prefix = @prefix@
10 local_prefix = /usr/local
11 exec_prefix = @exec_prefix@
12 libdir = @libdir@
13
14 # Programs used by "make":
15 CC = @CC@
16 CFLAGS = @CFLAGS@ @CFLAG_VISIBILITY@
17 CPPFLAGS = @CPPFLAGS@
18 LDFLAGS = @LDFLAGS@ $(LDFLAGS_@WOE32DLL@)
19 LDFLAGS_yes = -Wl,--export-all-symbols
20 LDFLAGS_no =
21 INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include -I.. -I$(srcdir)/..
22 # -DBUILDING_LIBICONV: Change expansion of LIBICONV_DLL_EXPORTED macro.
23 # -DBUILDING_DLL: Change expansion of RELOCATABLE_DLL_EXPORTED macro.
24 DEFS = -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBICONV -DBUILDING_DLL \
25 -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \
26 -Dset_relocation_prefix=libiconv_set_relocation_prefix \
27 -Drelocate=libiconv_relocate @DEFS@
28 LIBTOOL = @LIBTOOL@
29 LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile
30 LIBTOOL_LINK = $(LIBTOOL) --mode=link
31 LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
32 LIBTOOL_UNINSTALL = $(LIBTOOL) --mode=uninstall
33 # Windows resource compiler (windres). Used via libtool.
34 RC = @RC@
35 CP = cp
36 MV = mv
37 LN = @LN@
38 LN_S = @LN_S@
39 RM = rm -f
40
41 # Programs used by "make install":
42 INSTALL = @INSTALL@
43 INSTALL_PROGRAM = @INSTALL_PROGRAM@
44 INSTALL_DATA = @INSTALL_DATA@
45 mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
46
47 #### End of system configuration section. ####
48
49 SHELL = /bin/sh
50
51 # Before making a release, change this according to the libtool documentation,
52 # section "Library interface versions".
53 LIBICONV_VERSION_INFO = 8:0:6
54
55 PACKAGE_VERSION = @VERSION@
56
57 # Needed by $(LIBTOOL).
58 top_builddir = ..
59
60 SOURCES = $(srcdir)/iconv.c $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.c
61
62 OBJECTS = iconv.lo localcharset.lo relocatable.lo $(OBJECTS_EXP_@WOE32DLL@) $(OBJECTS_RES_@WOE32@)
63 OBJECTS_EXP_yes = iconv-exports.lo
64 OBJECTS_EXP_no =
65 OBJECTS_RES_yes = libiconv.res.lo
66 OBJECTS_RES_no =
67
68 all : libiconv.la
69
70 libiconv.la : $(OBJECTS)
71         $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) -o libiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) -no-undefined $(OBJECTS)
72
73 iconv.lo : $(srcdir)/iconv.c $(srcdir)/converters.h \
74            $(srcdir)/encodings.def $(srcdir)/encodings_aix.def $(srcdir)/encodings_osf1.def $(srcdir)/encodings_dos.def $(srcdir)/encodings_local.def \
75            $(srcdir)/aliases.h $(srcdir)/aliases_sysaix.h $(srcdir)/aliases_syshpux.h $(srcdir)/aliases_sysosf1.h $(srcdir)/aliases_syssolaris.h \
76            $(srcdir)/aliases_aix.h $(srcdir)/aliases_aix_sysaix.h \
77            $(srcdir)/aliases_osf1.h $(srcdir)/aliases_osf1_sysosf1.h \
78            $(srcdir)/aliases_dos.h \
79            $(srcdir)/aliases_extra.h \
80            $(srcdir)/flags.h $(srcdir)/translit.h
81         $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/iconv.c
82
83 localcharset.lo : $(srcdir)/../libcharset/lib/localcharset.c $(srcdir)/relocatable.h
84         $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../libcharset/lib/localcharset.c
85
86 relocatable.lo : $(srcdir)/relocatable.c $(srcdir)/relocatable.h
87         $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/relocatable.c
88
89 iconv-exports.lo : $(srcdir)/../woe32dll/iconv-exports.c
90         $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEFS) -c $(srcdir)/../woe32dll/iconv-exports.c
91
92 libiconv.res.lo : $(srcdir)/../windows/libiconv.rc
93         $(LIBTOOL_COMPILE) --tag=RC $(RC) `$(SHELL) $(srcdir)/../windows/windres-options --escape $(PACKAGE_VERSION)` -i $(srcdir)/../windows/libiconv.rc -o libiconv.res.lo --output-format=coff
94
95 # Installs the library and include files only. Typically called with only
96 # $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
97 install-lib : all force
98         if [ ! -d $(libdir) ] ; then $(mkinstalldirs) $(libdir) ; fi
99         $(LIBTOOL_INSTALL) $(INSTALL) libiconv.la $(libdir)/libiconv.la
100
101 # On AIX, libiconv.a must include the object files of /lib/libiconv.a,
102 # otherwise the setlocale() call fails when invoked from executables linked
103 # with -rpath $(libdir), even if linked without -liconv.
104 install : all force
105         if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
106         $(LIBTOOL_INSTALL) $(INSTALL) libiconv.la $(DESTDIR)$(libdir)/libiconv.la
107         case "@host_os@" in \
108           aix*) (cd $(DESTDIR)$(libdir) && \
109                  objects=`ar t libiconv.a`" "`ar t /lib/libiconv.a` && \
110                  ar x libiconv.a && ar x /lib/libiconv.a && \
111                  ar q libiconv.new.a $$objects && \
112                  rm -f $$objects && \
113                  mv -f libiconv.new.a libiconv.a) ;; \
114         esac
115
116 install-strip : install
117
118 installdirs : force
119         if [ ! -d $(DESTDIR)$(libdir) ] ; then $(mkinstalldirs) $(DESTDIR)$(libdir) ; fi
120
121 uninstall : force
122         $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libiconv.la
123
124 check : all
125
126 mostlyclean : clean
127
128 clean : force
129         $(RM) *.o *.lo *.a *.la core *.stackdump so_locations
130         $(RM) -r .libs _libs
131
132 distclean : clean
133         $(RM) Makefile config.h
134
135 maintainer-clean : distclean
136
137 # List of source files.
138 SOURCE_FILES = \
139   Makefile.in config.h.in \
140   encodings.def \
141   encodings_aix.def \
142   encodings_osf1.def \
143   encodings_dos.def \
144   encodings_extra.def \
145   encodings_local.def \
146   translit.def \
147   genaliases.c \
148   genaliases2.c \
149   genflags.c \
150   gentranslit.c \
151   iconv.c \
152     converters.h \
153       ascii.h \
154       utf8.h \
155       ucs2.h \
156       ucs2be.h \
157       ucs2le.h \
158       ucs4.h \
159       ucs4be.h \
160       ucs4le.h \
161       utf16.h \
162       utf16be.h \
163       utf16le.h \
164       utf32.h \
165       utf32be.h \
166       utf32le.h \
167       utf7.h \
168       ucs2internal.h \
169       ucs2swapped.h \
170       ucs4internal.h \
171       ucs4swapped.h \
172       c99.h \
173       java.h \
174       iso8859_1.h \
175       iso8859_2.h \
176       iso8859_3.h \
177       iso8859_4.h \
178       iso8859_5.h \
179       iso8859_6.h \
180       iso8859_7.h \
181       iso8859_8.h \
182       iso8859_9.h \
183       iso8859_10.h \
184       iso8859_11.h \
185       iso8859_13.h \
186       iso8859_14.h \
187       iso8859_15.h \
188       iso8859_16.h \
189       koi8_r.h \
190       koi8_u.h \
191       koi8_ru.h \
192       cp1250.h \
193       cp1251.h \
194       cp1252.h \
195       cp1253.h \
196       cp1254.h \
197       cp1255.h \
198       cp1256.h \
199       cp1257.h \
200       cp1258.h \
201         vietcomb.h \
202       cp850.h \
203       cp862.h \
204       cp866.h \
205       cp1131.h \
206       mac_roman.h \
207       mac_centraleurope.h \
208       mac_iceland.h \
209       mac_croatian.h \
210       mac_romania.h \
211       mac_cyrillic.h \
212       mac_ukraine.h \
213       mac_greek.h \
214       mac_turkish.h \
215       mac_hebrew.h \
216       mac_arabic.h \
217       mac_thai.h \
218       hp_roman8.h \
219       nextstep.h \
220       armscii_8.h \
221       georgian_academy.h \
222       georgian_ps.h \
223       koi8_t.h \
224       pt154.h \
225       rk1048.h \
226       mulelao.h \
227       cp1133.h \
228       tis620.h \
229       cp874.h \
230       viscii.h \
231       tcvn.h \
232       iso646_jp.h \
233       jisx0201.h \
234       jisx0208.h \
235       jisx0212.h \
236       iso646_cn.h \
237       gb2312.h \
238       isoir165.h \
239         isoir165ext.h \
240       gb12345.h \
241         gb12345ext.h \
242       gbk.h \
243         gbkext1.h \
244         gbkext2.h \
245         gbkext_inv.h \
246         cp936ext.h \
247       cns11643.h \
248         cns11643_1.h \
249         cns11643_2.h \
250         cns11643_3.h \
251         cns11643_4.h \
252           cns11643_4a.h \
253           cns11643_4b.h \
254         cns11643_5.h \
255         cns11643_6.h \
256         cns11643_7.h \
257         cns11643_15.h \
258         cns11643_inv.h \
259       big5.h \
260       ksc5601.h \
261       johab_hangul.h \
262       euc_jp.h \
263       sjis.h \
264       cp932.h \
265         cp932ext.h \
266       iso2022_jp.h \
267       iso2022_jp1.h \
268       iso2022_jp2.h \
269       iso2022_jpms.h \
270         cp50221_0208_ext.h \
271         cp50221_0212_ext.h \
272       euc_cn.h \
273       ces_gbk.h \
274       cp936.h \
275       gb18030.h \
276         gb18030ext.h \
277         gb18030uni.h \
278       iso2022_cn.h \
279       iso2022_cnext.h \
280       hz.h \
281       euc_tw.h \
282       ces_big5.h \
283       cp950.h \
284         cp950ext.h \
285       big5hkscs1999.h \
286         hkscs1999.h \
287       big5hkscs2001.h \
288         hkscs2001.h \
289       big5hkscs2004.h \
290         hkscs2004.h \
291       big5hkscs2008.h \
292         hkscs2008.h \
293       euc_kr.h \
294       cp949.h \
295         uhc_1.h \
296         uhc_2.h \
297       johab.h \
298       iso2022_kr.h \
299       cp856.h \
300       cp922.h \
301       cp943.h \
302       cp1046.h \
303       cp1124.h \
304       cp1129.h \
305       cp1161.h \
306       cp1162.h \
307       cp1163.h \
308       dec_kanji.h \
309       dec_hanyu.h \
310       cp437.h \
311       cp737.h \
312       cp775.h \
313       cp852.h \
314       cp853.h \
315       cp855.h \
316       cp857.h \
317       cp858.h \
318       cp860.h \
319       cp861.h \
320       cp863.h \
321       cp864.h \
322       cp865.h \
323       cp869.h \
324       cp1125.h \
325       euc_jisx0213.h \
326         jisx0213.h \
327       shift_jisx0213.h \
328       iso2022_jp3.h \
329       big5_2003.h \
330       tds565.h \
331       atarist.h \
332       riscos1.h \
333     flushwc.h \
334     cjk_variants.h \
335     loops.h \
336       loop_unicode.h \
337       loop_wchar.h \
338     aliases2.h \
339     iconv_open1.h \
340     iconv_open2.h \
341   relocatable.h relocatable.c
342 # List of distributed files imported from other packages.
343 IMPORTED_FILES =
344 # List of distributed files generated by autotools or Makefile.devel.
345 GENERATED_FILES = \
346   aliases.gperf aliases_sysaix.gperf aliases_syshpux.gperf aliases_sysosf1.gperf aliases_syssolaris.gperf \
347   aliases.h aliases_sysaix.h aliases_syshpux.h aliases_sysosf1.h aliases_syssolaris.h \
348   aliases_aix.h aliases_aix_sysaix.h \
349   aliases_osf1.h aliases_osf1_sysosf1.h \
350   aliases_dos.h \
351   aliases_extra.h \
352   canonical.h canonical_sysaix.h canonical_syshpux.h canonical_sysosf1.h canonical_syssolaris.h \
353   canonical_aix.h canonical_aix_sysaix.h \
354   canonical_osf1.h canonical_osf1_sysosf1.h \
355   canonical_dos.h \
356   canonical_extra.h \
357   canonical_local.h canonical_local_sysaix.h canonical_local_syshpux.h canonical_local_sysosf1.h canonical_local_syssolaris.h \
358   flags.h \
359   translit.h
360 # List of distributed files generated by "make".
361 DISTRIBUTED_BUILT_FILES =
362 # List of distributed files.
363 DISTFILES = $(SOURCE_FILES) $(IMPORTED_FILES) $(GENERATED_FILES) $(DISTRIBUTED_BUILT_FILES)
364
365 distdir : $(DISTFILES)
366         for file in $(DISTFILES); do \
367           if test -f $$file; then dir='.'; else dir='$(srcdir)'; fi; \
368           cp -p "$$dir/$$file" '$(distdir)'/$$file || exit 1; \
369         done
370
371 force :
372