Use the readline emulation in libedit.
This commit is contained in:
parent
401f1157b0
commit
6e61e626a9
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.16 1998/05/22 17:18:02 tv Exp $
|
# $NetBSD: Makefile,v 1.17 1998/07/25 11:19:24 mycroft Exp $
|
||||||
|
|
||||||
TOP= $(.CURDIR)/../..
|
TOP= $(.CURDIR)/../..
|
||||||
dist= $(TOP)/dist
|
dist= $(TOP)/dist
|
||||||
@ -16,10 +16,6 @@ TARGET_ARCH?=$(MACHINE_ARCH)
|
|||||||
# Debugging?
|
# Debugging?
|
||||||
# CPPFLAGS=-g
|
# CPPFLAGS=-g
|
||||||
|
|
||||||
# Find out where libreadline.a lives.
|
|
||||||
LIBREADLINE!=cd ${TOP}/lib/readline; \
|
|
||||||
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/libreadline.a\n" | ${MAKE} -s -f-
|
|
||||||
|
|
||||||
# Note: nm.h, tm.h are in $(.OBJDIR),
|
# Note: nm.h, tm.h are in $(.OBJDIR),
|
||||||
# and config.h, xm.h are in $(.CURDIR)
|
# and config.h, xm.h are in $(.CURDIR)
|
||||||
INCLS+= -I$(.OBJDIR) -I$(.CURDIR)
|
INCLS+= -I$(.OBJDIR) -I$(.CURDIR)
|
||||||
@ -71,8 +67,8 @@ COMMON_SRCS = version.c blockframe.c breakpoint.c findvar.c stack.c thread.c \
|
|||||||
SRCS= main.c $(COMMON_SRCS) annotate.c inflow.c gnu-regex.c
|
SRCS= main.c $(COMMON_SRCS) annotate.c inflow.c gnu-regex.c
|
||||||
OBJS= init.o
|
OBJS= init.o
|
||||||
|
|
||||||
LDADD+= $(LIBREADLINE)
|
LDADD+= -ledit
|
||||||
DPADD+= $(LIBREADLINE)
|
DPADD+= $(LIBEDIT)
|
||||||
|
|
||||||
LDADD+= -lbfd
|
LDADD+= -lbfd
|
||||||
DPADD+= $(LIBBFD)
|
DPADD+= $(LIBBFD)
|
||||||
|
Loading…
Reference in New Issue
Block a user