X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=erlang%2FMakefile.am;h=2c9e3592bcd898bb520a33dfdeb6f09dd1e62b20;hb=d81c0829ea4a99aadb98df37be9543a973269041;hp=933e6026e90bfdf9ada870be16b55fd29d0949ea;hpb=84763d7fca3668c62ee3fe53d0e00a5a672f687b;p=libguestfs.git diff --git a/erlang/Makefile.am b/erlang/Makefile.am index 933e602..2c9e359 100644 --- a/erlang/Makefile.am +++ b/erlang/Makefile.am @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. include $(top_srcdir)/subdir-rules.mk @@ -32,7 +32,7 @@ erlang_bindir = $(libdir)/erlang/lib/$(PACKAGE_NAME)-$(PACKAGE_VERSION)/ebin erlang_bin_DATA = guestfs.beam guestfs.beam: guestfs.erl - $(ERLC) +debug_info guestfs.erl + $(ERLC) +debug_info $^ bin_PROGRAMS = erl-guestfs @@ -41,12 +41,12 @@ erl_guestfs_SOURCES = erl-guestfs.c erl-guestfs-proto.c erl_guestfs_CFLAGS = \ -I$(top_srcdir)/src -I$(top_builddir)/src \ -I$(srcdir)/../gnulib/lib -I../gnulib/lib \ - -I$(ERL_INTERFACEDIR)/include \ + -I$(ERLANG_LIB_DIR_erl_interface)/include \ $(WARN_CFLAGS) $(WERROR_CFLAGS) erl_guestfs_LDADD = \ - $(ERL_INTERFACEDIR)/lib/liberl_interface.a \ - $(ERL_INTERFACEDIR)/lib/libei.a \ + $(ERLANG_LIB_DIR_erl_interface)/lib/liberl_interface.a \ + $(ERLANG_LIB_DIR_erl_interface)/lib/libei.a \ -lpthread \ $(top_builddir)/src/libguestfs.la \ ../gnulib/lib/libgnu.la