99e676b59b
PR: 60568 Submitted by: Ports Fury
39 lines
1016 B
Plaintext
39 lines
1016 B
Plaintext
--- cli/Makefile.in.orig Wed Oct 22 06:22:31 2003
|
|
+++ cli/Makefile.in Sun Oct 26 10:19:56 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
|
|
@@ -40,7 +44,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
|
|
@@ -50,7 +54,7 @@
|
|
$(CC) $(CFLAGS) -MM $< > .deps/$*.d
|
|
|
|
$(CLI): .deps $(OBJS)
|
|
- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS)
|
|
+ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS) $(GRETLLIB) $(READLINE_LIBS) $(INTL_LIBS) $(LDFLAGS)
|
|
|
|
.deps:
|
|
mkdir $@
|