aboutsummaryrefslogtreecommitdiffstats
path: root/math/gretl/files/patch-lib::Makefile.in
blob: 2fa61b8b6174b29a1eb9ad3d2444ab31535b7c99 (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
--- lib/Makefile.in.orig    Thu Jul 11 00:20:39 2002
+++ lib/Makefile.in Sat Jul 27 08:40:14 2002
@@ -11,8 +11,8 @@
 XML_CFLAGS = @XML_CFLAGS@
 XML_LIBS = @XML_LIBS@
 
-ifeq ($(INSTALL_PROGRAM),)
-  INSTALL_PROGRAM = $(INSTALL) -m 755
+ifeq ($(INSTALL_SCRIPT),)
+  INSTALL_SCRIPT = $(INSTALL) -m 755
 endif
 ifeq ($(INSTALL_DATA),)
   INSTALL_DATA = $(INSTALL) -m 644
@@ -28,7 +28,7 @@
 
 # General compile options and libs:
 LIBGRETL = libgretl.la
-LIBS = -lm -ldl -L/usr/local/lib -lz $(XML_LIBS)
+LIBS = -lm -lz $(XML_LIBS)
 
 #### End of system configuration section. ####
 
@@ -65,15 +65,15 @@
 .PHONY: 
 
 install: $(LIBGRETL) install-data
-   $(LIBTOOL) $(INSTALL_PROGRAM) $< $(libdir)/$<
+   $(LIBTOOL) $(INSTALL_DATA) $< $(libdir)/$<
 
 install-strip: $(LIBGRETL) install-data
-   $(LIBTOOL) $(INSTALL_PROGRAM) -s $< $(libdir)/$<
+   $(LIBTOOL) $(INSTALL_DATA) -s $< $(libdir)/$<
 
 install-data: installdirs
    $(INSTALL_DATA) $(srcdir)/*.h $(includedir)
    $(INSTALL_DATA) ../gretl.m4 $(aclocaldir)
-   $(INSTALL_PROGRAM) ../gretl-config $(bindir)
+   $(INSTALL_SCRIPT) ../gretl-config $(bindir)
 
 installdirs:
    $(topsrc)/tools/mkinstalldirs $(libdir) $(includedir) $(aclocaldir)