]> git.saurik.com Git - bison.git/blobdiff - src/Makefile.am
* src/bison.simple (YYSTYPE, YYLTYPE): Move their definitions
[bison.git] / src / Makefile.am
index 479bd977bdda4994202960f1529d1f1c85ed0a83..9ad2cc506fbfbe954be495ae518c528fb0a59ba8 100644 (file)
@@ -5,8 +5,14 @@ DEFS = @DEFS@ \
   -DBISON_HAIRY=\"$(pkgdatadir)/bison.hairy\" \
   -DLOCALEDIR=\"$(datadir)/locale\"
 
-INCLUDES = -I../intl -I$(top_srcdir)/lib -I..
-LDADD = @INTLLIBS@ ../lib/libbison.a
+# libintl.h in is build/intl, intl/libgettext.h in src/,
+# config.h in build/.
+INCLUDES = -I$(top_builddir)/intl \
+           -I$(top_builddir)      \
+           -I$(top_srcdir)/lib    \
+           -I$(top_srcdir)
+
+LDADD = $(INTLLIBS) ../lib/libbison.a
 
 bin_PROGRAMS = bison