-I$(top_srcdir)/lib
# Heck, we are still using an old version of Automake which does not
-# understand LIBOBJ additions using $objext...
-
-EXTRA_DIST = malloc.c realloc.c
+# understand inner AC_LIBOBJ (i.e., from Autoconf itself, not from
+# configure.in).
+EXTRA_DIST = malloc.c realloc.c strnlen.c
libbison_a_SOURCES = \
+ argmatch.h argmatch.c \
+ gettext.h \
basename.c dirname.h dirname.c \
getopt.h getopt.c getopt1.c \
hash.h hash.c \
xalloc.h xmalloc.c xstrdup.c xstrndup.c \
readpipe.c
+# Implementation of bitsets
+libbison_a_SOURCES += \
+libiberty.h \
+abitset.c bitset.c bitset_stats.h ebitset.c lbitset.h \
+abitset.h bitset.h bitsetv.c ebitset.h \
+bbitset.h bitset_stats.c bitsetv.h lbitset.c
+
+# Additional bitset operations.
+libbison_a_SOURCES += \
+ bitsetv-print.h bitsetv-print.c
+
+# timevars, stolen from GCC.
+libbison_a_SOURCES += \
+ timevar.h timevar.c timevar.def
+
libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)