blob: b873bef50c5dc2f0c66849579f14720c773c3dd3 (
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
|
--- cli/Makefile.in.orig Sun Jun 29 04:06:18 2003
+++ cli/Makefile.in Fri Jul 25 20:49:23 2003
@@ -9,12 +9,16 @@
exec_prefix = @exec_prefix@
bindir = @bindir@
datadir = @datadir@
-localedir = $(datadir)/locale
+localedir = $(prefix)/share/locale
have_readline = @have_readline@
READLINE_LIBS = @READLINE_LIBS@
READLINE_CFLAGS = @READLINE_CFLAGS@
+CPPFLAGS = @CPPFLAGS@
+LDFLAGS = @LDFLAGS@
+INTL_LIBS = @LTLIBINTL@
+
ifeq ($(CC),)
CC = gcc
endif
@@ -39,7 +43,7 @@
DEFS = -DLOCALEDIR=\"$(localedir)\" -DHAVE_CONFIG_H
-override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS)
+override CFLAGS += -I.. -I$(topsrc) -I$(libsrc) $(READLINE_CFLAGS) $(DEFS) $(CPPFLAGS)
CLI = gretlcli
LIBTOOL = ../libtool
@@ -49,7 +53,7 @@
$(CC) -MM -MG -I$(libsrc) $(DEFS) $< >$*.d 2>/dev/null
$(CLI): $(OBJS)
- ../libtool --mode=link $(CC) -o $@ $^ $(GRETLLIB) $(READLINE_LIBS)
+ ../libtool --mode=link $(CC) -o $@ $^ $(GRETLLIB) $(READLINE_LIBS) $(INTL_LIBS) $(LDFLAGS)
-include gretlcli.d
|