.
[gnulib.git] / lib / Makefile.am
index aca6539..a699ad0 100644 (file)
@@ -13,11 +13,14 @@ DEFS = -DLIBDIR=\"$(libdir)\" @DEFS@
 ## added by automake, but on systems with an up to date GNU libc,
 ## regex.c isn't even compiled.
 libfetish_a_SOURCES = \
+  acl.h acl.c \
   getdate.h getdate.y \
   posixtm.c posixtm.h \
+  posixver.c posixver.h \
   strftime.c \
   getopt.c getopt.h getopt1.c \
   hash.c hash.h \
+  hash-pjw.c hash-pjw.h \
   __fpending.h \
   addext.c \
   argmatch.c argmatch.h \
@@ -28,6 +31,7 @@ libfetish_a_SOURCES = \
   closeout.c closeout.h \
   diacrit.c diacrit.h \
   dirname.c dirname.h \
+  dirfd.h \
   dup-safer.c \
   exclude.c exclude.h \
   filemode.c filemode.h \
@@ -38,9 +42,9 @@ libfetish_a_SOURCES = \
   getline.h \
   getpagesize.h \
   getstr.c getstr.h \
+  gettime.c \
   getugroups.c \
   group-member.h \
-  gtod.h \
   hard-locale.c hard-locale.h \
   human.c human.h \
   idcache.c \
@@ -56,7 +60,6 @@ libfetish_a_SOURCES = \
   memcoll.c memcoll.h \
   modechange.c modechange.h \
   mountlist.h \
-  nanosleep.h \
   path-concat.c path-concat.h \
   pathmax.h \
   physmem.c physmem.h \
@@ -69,10 +72,12 @@ libfetish_a_SOURCES = \
   same.c same.h \
   save-cwd.c save-cwd.h \
   savedir.c savedir.h \
+  settime.c \
   sha.c sha.h \
   stdio-safer.h \
   stripslash.c \
   strverscmp.h \
+  timespec.h \
   unicodeio.c unicodeio.h \
   unistd-safer.h \
   userspec.c \
@@ -81,6 +86,7 @@ libfetish_a_SOURCES = \
   xgetcwd.c \
   xgethostname.c \
   xmalloc.c \
+  xmemcoll.c xmemcoll.h \
   xreadlink.c xreadlink.h \
   xstrdup.c \
   xstrtod.c xstrtod.h \
@@ -117,7 +123,6 @@ stat.c: xstat.in
          $(srcdir)/xstat.in > $@-t
        mv $@-t $@
 
-
 # The following is needed in order to install a simple file in $(libdir)
 # which is shared with other installed packages. We use a list of referencing
 # packages so that "make uninstall" will remove the file if and only if it
@@ -168,11 +173,18 @@ CLEANFILES = charset.alias ref-add.sed ref-del.sed
 
 ###############################################
 
+# FIXME: remove this dependency once automake handles it.
+# As of cvs automake of about 2002-01-13,
+# this dependency is necessary to avoid a build failure
+# when running `make check' before running `make all'.
+# Otherwise, unlocked-io.h is not built before it's needed.
+getdate$U.o: unlocked-io.h
+
 # FIXME: CAUTION this list is a duplicate of one in ../Makefile.cfg.
 io_functions = \
   clearerr feof ferror fflush fgets fputc fputs \
   fread fwrite getc getchar putc putchar
 
 unlocked-io.h: $(srcdir)/gen-uio Makefile.am
-       srcdir=$(srcdir) $(srcdir)/gen-uio $(io_functions) > $@t
+       srcdir=$(srcdir) $(SHELL) $(srcdir)/gen-uio $(io_functions) > $@t
        mv $@t $@