summaryrefslogtreecommitdiff
path: root/gnulib-local/modules/gettext-tools-misc
blob: d94420e511bd7b21da99713d449a23b4a38b0c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description:

Files:
m4/locale-fr.m4
m4/locale-ja.m4

Depends-on:

configure.ac:

Makefile.am:

# Specify that libgettextlib should installed in $(libdir).
lib_LTLIBRARIES = libgettextlib.la

# Need @LTLIBINTL@ because many source files use gettext().
# Need @LTLIBICONV@ because linebreak.c and striconv.c use iconv().
# Need @LIB_ACL@ because copy-file.c uses acl.h.
# Need @LTLIBC@ for -no-undefined to work on many platforms.
lib_LDFLAGS += \
  -release @VERSION@ \
  @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@ @LTLIBC@ @LTNOUNDEF@

# Tell the mingw or Cygwin linker which symbols to export.
if WOE32DLL
lib_SOURCES += ../woe32dll/gettextlib-exports.c
lib_LDFLAGS += -Wl,--export-all-symbols
AM_CPPFLAGS += @GETTEXTLIB_EXPORTS_FLAGS@
endif

# No need to install libgettextlib.a, except on AIX.
install-exec-local: install-libLTLIBRARIES install-exec-clean
install-exec-clean:
	case "@host_os@" in \
	  aix*) ;; \
	  *) rm -f $(DESTDIR)$(libdir)/libgettextlib.a ;; \
	esac

Include:

License:
GPL

Maintainer:
Bruno Haible