New method of checking out and configuring gnulib - define which version we need...
[findutils.git] / lib / Makefile.am
blob3f6b1fe08c4856be6137b86d317a83fd23cabddd
1 ## Process this file with automake to produce Makefile.in.
3 AUTOMAKE_OPTIONS = 1.5 gnits 
4 # no-dependencies
6 noinst_LIBRARIES = libfind.a
8 if CROSS_COMPILING
9 # The regexprops program needs to be a native executable, so we 
10 # can't build it with a cross-compiler.
11 else
12 noinst_PROGRAMS = regexprops
13 regexprops_SOURCES = regexprops.c regextype.c
14 endif
16 libfind_a_SOURCES = gnulib-version.c
17 EXTRA_DIST = modetype.h wait.h extendbuf.h savedirinfo.h buildcmd.h \
18         gnulib-version.h gnulib-version.sh gnulib-version.c
19 BUILT_SOURCES = gnulib-version.c
20 SUFFIXES =
21 MOSTLYCLEANFILES = 
22 CLEANFILES = 
23 DISTCLEANFILES =
24 MAINTAINERCLEANFILES =
25 IMPORT_GNULIB_CONFIG = $(top_srcdir)/import-gnulib.config
27 INCLUDES = -I../gnulib/lib -I$(top_srcdir)/gnulib/lib 
28 LDADD = ../gnulib/lib/libgnulib.a @INTLLIBS@
30 libfind_a_SOURCES += modetype.h nextelem.h printquoted.h listfile.h regextype.h
31 libfind_a_SOURCES += listfile.c nextelem.c extendbuf.c buildcmd.c savedirinfo.c forcefindlib.c qmark.c printquoted.c regextype.c
33 EXTRA_DIST += waitpid.c forcefindlib.c
36 libfind_a_LIBADD = @FINDLIBOBJS@
37 libfind_a_DEPENDENCIES = @FINDLIBOBJS@
38 # libfind_la_LIBADD = @LTFINDLIBOBJS@
40 # libfind_a_OBJECTS  += @FINDLIBOBJS@
41 # libfind_la_OBJECTS += @LTFINDLIBOBJS@
43 $(srcdir)/gnulib-version.c: $(srcdir)/gnulib-version.sh $(IMPORT_GNULIB_CONFIG)
44         sh $(srcdir)/gnulib-version.sh $(top_srcdir) $(srcdir)  $(IMPORT_GNULIB_CONFIG)