aboutsummaryrefslogtreecommitdiffstats
path: root/math/gretl/files/patch-plugin::Makefile.in
blob: 56252cb48e4338a25802541e855a0b74a5e8623d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- plugin/Makefile.in.orig 2008-05-27 01:47:52.000000000 +0900
+++ plugin/Makefile.in  2008-06-18 13:56:53.000000000 +0900
@@ -11,6 +11,10 @@
 INSTALL = @INSTALL@
 LN = @LN_S@
 
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+INTL_LIBS = @LTLIBINTL@
+
 build_gui = @build_gui@
 have_gmp = @have_gmp@
 build_mailer = @build_mailer@
@@ -45,7 +49,7 @@
 
 override CFLAGS += -I.. -I$(topsrc)/gui2 -DHAVE_CONFIG_H
 
-LIBTOOL = ../libtool
+LIBTOOL = @LIBTOOL@
 COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) 
 LINK = $(LIBTOOL) --mode=link $(CC) -module -avoid-version -rpath $(plugindir)
 
@@ -175,7 +179,7 @@
 
 override CFLAGS += $(GRETLINC) $(GTK_CFLAGS) $(GMP_CFLAGS) $(MPFR_CFLAGS) \
    $(XML_CFLAGS) $(GRETL_LIBOLE2_CFLAGS) $(ZIP_CFLAGS) $(AUDIO_CFLAGS) \
-   $(ODBC_CFLAGS) -I. $(GMPDEF)
+   $(ODBC_CFLAGS) -I. $(GMPDEF) $(CPPFLAGS)
 
 %.lo: %.c
    $(COMPILE) $< 
@@ -296,13 +300,13 @@
 .PHONY: 
 
 install: $(GRETLLIB) $(PLUGINS) $(URCDATA) $(DWDATA) installdirs 
-   $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \
+   $(LIBTOOL) --mode=install $(INSTALL_DATA) \
    $(PLUGINS) $(DESTDIR)$(plugindir)
    $(INSTALL_DATA) $(URCDATA) $(DESTDIR)$(plugindir)/data
    $(INSTALL_DATA) $(DWDATA) $(DESTDIR)$(plugindir)/data
 
 install-strip: $(GRETLLIB) $(PLUGINS) installdirs
-   $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s \
+   $(LIBTOOL) --mode=install $(INSTALL_DATA) -s \
    $(PLUGINS) $(DESTDIR)$(plugindir)
 
 installdirs: