X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1853982561f87a729024577156def20433035946..2ca209c11d0185c0ae67861205e316f6311595b4:/lib/Makefile.am

diff --git a/lib/Makefile.am b/lib/Makefile.am
index e56419a5..51790f56 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -4,11 +4,18 @@ AUTOMAKE_OPTIONS = ansi2knr
 
 noinst_LIBRARIES = libbison.a
 
-INCLUDES = -I.. -I$(srcdir) -I../intl
+INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/src -I../intl
 
-libbison_a_SOURCES = getopt.c getopt1.c
+# Heck, we are still using an old version of Automake which does not
+# understand LIBOBJ additions using $objext...
+
+EXTRA_DIST = malloc.c realloc.c
+
+libbison_a_SOURCES = \
+  getopt.h getopt.c getopt1.c \
+  hash.h hash.c \
+  quote.h quote.c quotearg.h quotearg.c \
+  xalloc.h xmalloc.c xstrdup.c
 
 libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
 libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)
-
-noinst_HEADERS = getopt.h