--- Makefile.am 2012-04-20 23:38:36.000000000 +0000 +++ Makefile.am.new 2013-07-27 13:27:38.075267654 +0000 @@ -1,7 +1,7 @@ bin_PROGRAMS = xte rgb2pat png2pat visgrep pat2ppm patextract xmousepos man_MANS = pat2ppm.1 patextract.1 png2pat.1 rgb2pat.1 visgrep.1 xautomation.7 xmousepos.1 xte.1 xte_SOURCES = xte.c debug.c kbd.h keysym_map.h multikey_map.h -xte_LDADD = $(X_LIBS) $(X_EXTRALIBS) -lXtst -lX11 +xte_LDADD = $(X_LIBS) $(X_EXTRALIBS) -lXtst -lX11 -lXi rgb2pat_SOURCES = rgb2pat.c image.c image.h debug.c debug.h rgb2pat_LDADD = -lpng png2pat_SOURCES = png2pat.c image.c image.h debug.c debug.h