blob: 9eac6fca008c0498d7c0d2166fdd2237d630f5c2 (
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
48
49
|
--- plugin/Makefile.in.orig Thu Jul 11 00:20:39 2002
+++ plugin/Makefile.in Sat Jul 27 08:43:08 2002
@@ -2,6 +2,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
+libdir = @libdir@
CC = @CC@
CFLAGS = @CFLAGS@
MAKE = @MAKE@
@@ -25,7 +26,7 @@
endif
# Installation directory
-share = $(prefix)/share/gretl
+gretldir = $(libdir)/gretl
LIBTOOL = $(topsrc)/libtool
COMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS)
@@ -45,7 +46,7 @@
query-ms-ole.lo=ms-ole.lo
vpath %.c libole2
vpath %.h libole2
- LIBOLE2_CFLAGS = -I. `glib-config --cflags`
+ LIBOLE2_CFLAGS = -I. `$(GLIB_CONFIG) --cflags`
endif
all: $(PLUGINS)
@@ -98,15 +99,15 @@
.PHONY:
install: $(PLUGINS) installdirs
- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) \
- $(PLUGINS) $(share)/plugins
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) \
+ $(PLUGINS) $(gretldir)/plugins
install-strip: $(PLUGINS) installdirs
- $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -s \
- $(PLUGINS) $(share)/plugins
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) -s \
+ $(PLUGINS) $(gretldir)/plugins
installdirs:
- $(topsrc)/tools/mkinstalldirs $(share)/plugins
+ $(topsrc)/tools/mkinstalldirs $(gretldir)/plugins
clean:
rm -f *.o *.lo $(PLUGINS) core
|