aboutsummaryrefslogtreecommitdiff
path: root/readline/Makefile.in
diff options
context:
space:
mode:
authorKris Warkentin <kewarken@qnx.com>2003-03-03 14:45:43 +0000
committerKris Warkentin <kewarken@qnx.com>2003-03-03 14:45:43 +0000
commit25ed0b71b67c7671c7cb269d15b9dd219776d0a1 (patch)
treef5ce3aae1ece64963b1a24432022ad53b668c9c7 /readline/Makefile.in
parenta9d68a1ea5c1dc9c5bfd1eef0ee8c40252718b46 (diff)
downloadgdb-25ed0b71b67c7671c7cb269d15b9dd219776d0a1.zip
gdb-25ed0b71b67c7671c7cb269d15b9dd219776d0a1.tar.gz
gdb-25ed0b71b67c7671c7cb269d15b9dd219776d0a1.tar.bz2
Fixed configuration of wcwidth.
Diffstat (limited to 'readline/Makefile.in')
-rw-r--r--readline/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/readline/Makefile.in b/readline/Makefile.in
index 720fb39..f039ec6 100644
--- a/readline/Makefile.in
+++ b/readline/Makefile.in
@@ -86,6 +86,8 @@ GCC_LINT_CFLAGS = $(XCCFLAGS) $(GCC_LINT_FLAGS) @CFLAGS@ @LOCAL_CFLAGS@
LIBRARY_NAME = libreadline.a
STATIC_LIBS = libreadline.a libhistory.a
+WCWIDTH_OBJ = @WCWIDTH_OBJ@
+
# The C code source files for this library.
CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \
$(srcdir)/vi_mode.c $(srcdir)/parens.c $(srcdir)/rltty.c \
@@ -98,7 +100,7 @@ CSOURCES = $(srcdir)/readline.c $(srcdir)/funmap.c $(srcdir)/keymaps.c \
$(srcdir)/histfile.c $(srcdir)/nls.c $(srcdir)/search.c \
$(srcdir)/shell.c $(srcdir)/savestring.c $(srcdir)/tilde.c \
$(srcdir)/text.c $(srcdir)/misc.c $(srcdir)/compat.c \
- $(srcdir)/mbutil.c
+ $(srcdir)/mbutil.c $(srcdir)/support/wcwidth.c
# The header files for this library.
HSOURCES = readline.h rldefs.h chardefs.h keymaps.h history.h histlib.h \
@@ -111,7 +113,8 @@ TILDEOBJ = tilde.o
OBJECTS = readline.o vi_mode.o funmap.o keymaps.o parens.o search.o \
rltty.o complete.o bind.o isearch.o display.o signals.o \
util.o kill.o undo.o macro.o input.o callback.o terminal.o \
- text.o nls.o misc.o compat.o xmalloc.o $(HISTOBJ) $(TILDEOBJ)
+ text.o nls.o misc.o compat.o xmalloc.o $(HISTOBJ) $(TILDEOBJ) \
+ $(WCWIDTH_OBJ)
# The texinfo files which document this library.
DOCSOURCE = doc/rlman.texinfo doc/rltech.texinfo doc/rluser.texinfo
@@ -147,6 +150,10 @@ libhistory.a: $(HISTOBJ) xmalloc.o
$(AR) $(ARFLAGS) $@ $(HISTOBJ) xmalloc.o
-test -n "$(RANLIB)" && $(RANLIB) $@
+wcwidth.o: $(srcdir)/support/wcwidth.c
+ $(RM) $@
+ $(CC) $(CCFLAGS) -c $(srcdir)/support/wcwidth.c
+
# Since tilde.c is shared between readline and bash, make sure we compile
# it with the right flags when it's built as part of readline
tilde.o: tilde.c