mirror of
git://git.sv.gnu.org/findutils.git
synced 2026-02-04 23:45:56 +01:00
Remove "lib/wait.h", since gnulib provides <sys/wait.h>. * lib/Makefile.am (EXTRA_DIST): Remove wait.h, since gnulib provides it. * lib/wait.h: Not needed. * find/pred.c: Include <sys/wait.h> instead of "wait.h". * lib/waitpid.c: Likewise. * xargs/xargs.c: Likewise. Remove unnecessary include guards. * lib/dircallback.c: gnulib provides <locale.h>, so no need for include guards. * locate/locate.c: Likewise. * lib/listfile.c: Likewise. * lib/savedirinfo.c: Likewise with <sys/stat.h> * find/defs.h: gnulib provides <inttypes.h>, so no need for include guards. * lib/nextelem.c: Likewise with <string.h> and <stdlib.h>. * locate/bigram.c: Likewise. * locate/frcode.c: Likewise. * lib/buildcmd.c: Likewise with <locale.h> and <wchar.h> * xargs/xargs.c: Likewise with <locale.h>, <wchar.h> and <stdlib.h> * import-gnulib.config (modules): Import the mbrtowc and whchar modules. * lib/qmark.c (multibyte_qmark_chars): Don't surround with HAVE_MBRTOWC, since we now have a replacement for mbrtowc. Likewise, don't protect inclusion of <string.h> with HAVE_STRING_H. Likewise with <wchar.h>. (multibyte_qmark_chars): Rename to qmark_chars. (qmark_chars): Remove old version (since it is replaced by the function that used to be multibyte_qmark_chars). * lib/printquoted.c: Don't include <wchar.h>, we don't need it. Signed-off-by: James Youngman <jay@gnu.org>
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
## Process this file with automake to produce Makefile.in.
|
|
|
|
AUTOMAKE_OPTIONS = 1.5 gnits
|
|
# no-dependencies
|
|
AM_CFLAGS = $(WARN_CFLAGS)
|
|
|
|
noinst_LIBRARIES = libfind.a
|
|
|
|
if CROSS_COMPILING
|
|
# The regexprops program needs to be a native executable, so we
|
|
# can't build it with a cross-compiler.
|
|
else
|
|
noinst_PROGRAMS = regexprops
|
|
regexprops_SOURCES = regexprops.c regextype.c
|
|
endif
|
|
|
|
libfind_a_SOURCES = gnulib-version.c findutils-version.c
|
|
EXTRA_DIST = modetype.h extendbuf.h savedirinfo.h buildcmd.h \
|
|
gnulib-version.h gnulib-version.c findutils-version.h
|
|
BUILT_SOURCES = gnulib-version.c
|
|
SUFFIXES =
|
|
MOSTLYCLEANFILES =
|
|
CLEANFILES =
|
|
DISTCLEANFILES =
|
|
MAINTAINERCLEANFILES =
|
|
|
|
|
|
INCLUDES = -I../gnulib/lib -I$(top_srcdir)/gnulib/lib
|
|
LDADD = ../gnulib/lib/libgnulib.a $(LIBINTL)
|
|
|
|
libfind_a_SOURCES += modetype.h nextelem.h printquoted.h listfile.h \
|
|
regextype.h dircallback.h
|
|
libfind_a_SOURCES += listfile.c nextelem.c extendbuf.c buildcmd.c savedirinfo.c \
|
|
forcefindlib.c qmark.c printquoted.c regextype.c dircallback.c
|
|
|
|
EXTRA_DIST += waitpid.c forcefindlib.c
|
|
|
|
|
|
libfind_a_LIBADD = @FINDLIBOBJS@
|
|
libfind_a_DEPENDENCIES = @FINDLIBOBJS@
|
|
# libfind_la_LIBADD = @LTFINDLIBOBJS@
|
|
|
|
# libfind_a_OBJECTS += @FINDLIBOBJS@
|
|
# libfind_la_OBJECTS += @LTFINDLIBOBJS@
|
|
|