diff options
author | Bruno Haible <bruno@clisp.org> | 2001-09-25 13:56:49 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-09-25 13:56:49 +0000 |
commit | ebf85c42c456c98c980b69efe61d22b903104a68 (patch) | |
tree | f05faf8ae5568cc44874f6863c4da5a897381aa1 /lib/Makefile.am | |
parent | 4c9db3a7afe77fbcd09257689905adb927e1f1f8 (diff) | |
download | external_gettext-ebf85c42c456c98c980b69efe61d22b903104a68.zip external_gettext-ebf85c42c456c98c980b69efe61d22b903104a68.tar.gz external_gettext-ebf85c42c456c98c980b69efe61d22b903104a68.tar.bz2 |
Reorganize lib/Makefile.am.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 7b8dec6..235a87e 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -21,26 +21,43 @@ AUTOMAKE_OPTIONS = 1.2 gnits noinst_LIBRARIES = libnlsut.a -EXTRA_DIST = alloca.c classpath.c config.charset error.c getline.c memset.c \ -memmove.c mkdtemp.c ref-add.sin ref-del.sin setenv.c stpcpy.c stpncpy.c \ -strcasecmp.c strcspn.c strncasecmp.c strpbrk.c strstr.c strtol.c strtoul.c \ -vasprintf.c \ -stdbool.h.in \ -gen-lbrkprop.c 3level.h +# Sources that are compiled on all platforms. libnlsut_a_SOURCES = basename.c c-ctype.c concatpath.c execute.c findprog.c \ fstrcmp.c full-write.c gcd.c getopt.c getopt1.c hash.c javacomp.c javaexec.c \ linebreak.c localcharset.c mbswidth.c obstack.c pipe-bidi.c pipe-in.c \ -pipe-out.c progname.c safe-read.c sh-quote.c tmpdir.c wait-process.c xerror.c \ -xgetcwd.c xmalloc.c xstrdup.c +pipe-out.c progname.c sh-quote.c tmpdir.c wait-process.c xerror.c xgetcwd.c \ +xmalloc.c xstrdup.c + +libnlsut_a_HEADER = c-ctype.h execute.h findprog.h fstrcmp.h full-write.h \ +gcd.h getopt.h hash.h javacomp.h javaexec.h lbrkprop.h linebreak.h mbswidth.h \ +obstack.h pathmax.h pipe.h progname.h sh-quote.h system.h tmpdir.h \ +utf8-ucs4.h utf16-ucs4.h wait-process.h xerror.h + +# Sources that are compiled only on platforms that lack the functions. + +LIBADD_SOURCE = alloca.c error.c getline.c memset.c mkdtemp.c setenv.c \ +stpcpy.c stpncpy.c strcasecmp.c strcspn.c strncasecmp.c strpbrk.c strstr.c \ +strtol.c strtoul.c vasprintf.c + +LIBADD_HEADER = error.h getline.h mkdtemp.h setenv.h strpbrk.h + +# Unused sources. + +UNUSED_SOURCE = memmove.c safe-read.c + +UNUSED_HEADER = safe-read.h libnlsut_a_LIBADD = @ALLOCA@ @LIBOBJS@ -noinst_HEADERS = c-ctype.h error.h execute.h findprog.h fstrcmp.h \ -full-write.h gcd.h getline.h getopt.h hash.h javacomp.h javaexec.h lbrkprop.h \ -linebreak.h mbswidth.h mkdtemp.h obstack.h pathmax.h pipe.h progname.h \ -safe-read.h setenv.h sh-quote.h strpbrk.h system.h tmpdir.h utf8-ucs4.h \ -utf16-ucs4.h wait-process.h xerror.h +# List of files to be distributed. + +noinst_HEADERS = $(libnlsut_a_HEADER) $(LIBADD_HEADER) $(UNUSED_HEADER) + +EXTRA_DIST = classpath.c config.charset ref-add.sin ref-del.sin \ +$(LIBADD_SOURCE) $(UNUSED_SOURCE) \ +stdbool.h.in \ +gen-lbrkprop.c 3level.h DEFS = -DLIBDIR=\"$(libdir)\" @DEFS@ INCLUDES = -I. -I$(srcdir) -I.. -I../intl |