--- plugin/Makefile.in.orig Wed Apr 9 08:46:09 2003 +++ plugin/Makefile.in Mon Apr 14 12:45:07 2003 @@ -8,6 +8,10 @@ INSTALL = @INSTALL@ LN = @LN_S@ +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +INTL_LIBS = @LTLIBINTL@ + have_gtk = @have_gtk@ GTK_CFLAGS = @GTK_CFLAGS@ GTK_LIBS = @GTK_LIBS@ @@ -36,8 +40,8 @@ override CFLAGS += -I.. -DHAVE_CONFIG_H LIBTOOL = ../libtool -COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir) +COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(CPPFLAGS) +LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir) $(LDFLAGS) GRETLINC = -I$(topsrc)/lib/src GRETLLIB = ../lib/libgretl-1.0.la @@ -46,7 +50,7 @@ GTK_CFLAGS += -DGTK_DISABLE_DEPRECATED GRETL_LIBOLE2_CFLAGS := -I$(topsrc)/plugin $(shell pkg-config --cflags glib-2.0) else - GRETL_LIBOLE2_CFLAGS := -I$(topsrc)/plugin $(shell glib-config --cflags) + GRETL_LIBOLE2_CFLAGS := -I$(topsrc)/plugin $(shell $(GLIB_CONFIG) --cflags) endif SRCS = excel_import.c gnumeric_import.c gretl_matrix.c import_common.c \ @@ -130,15 +134,15 @@ .PHONY: install: $(PLUGINS) installdirs - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \ + $(LIBTOOL) --mode=install $(INSTALL_DATA) \ $(PLUGINS) $(plugindir) install-strip: $(PLUGINS) installdirs - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s \ + $(LIBTOOL) --mode=install $(INSTALL_DATA) -s \ $(PLUGINS) $(plugindir) install-lapack: $(GRETLLIB) $(LAPACK_PLUGINS) installdirs - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \ + $(LIBTOOL) --mode=install $(INSTALL_DATA) \ $(LAPACK_PLUGINS) $(plugindir) installdirs: