f4709165ed
There is a reather long list of changes available in ${WRKSRC}/doc/ChangeLog.
35 lines
1,001 B
Text
35 lines
1,001 B
Text
$NetBSD: patch-ab,v 1.2 2004/02/17 12:45:56 cube Exp $
|
|
|
|
--- vm/Makefile.orig 2003-08-21 03:23:17.000000000 +0200
|
|
+++ vm/Makefile
|
|
@@ -19,8 +19,8 @@
|
|
#LDASMOPT = -lasm
|
|
|
|
# Uncommant that to use libreadline
|
|
-#READLNOPT = -DUSE_READLN
|
|
-#LDREADLNOPT = -lreadline -ltermcap
|
|
+READLNOPT = -DUSE_READLN
|
|
+LDREADLNOPT = -lreadline -ltermcap
|
|
|
|
|
|
# End of configurable Makefile
|
|
@@ -36,15 +36,15 @@ SRC = grammar.c disasm.c dyn.c hdr.c m
|
|
OBJ = $(SRC:.c=.o)
|
|
SRC_DYN = elfsh_etdyn.c
|
|
OBJ_DYN = $(SRC_DYN:.c=.o)
|
|
-CC = gcc
|
|
-RM = rm -f
|
|
+# CC = gcc
|
|
+# RM = rm -f
|
|
NAME = elfsh
|
|
|
|
-CFLAGS = -rdynamic -fPIC -g3 -O2 -Wall -Iinclude \
|
|
+CFLAGS += -rdynamic -fPIC -g3 -O2 -Wall -Iinclude \
|
|
-I../libhash/include/ -I../libelfsh/include/ \
|
|
-DELFSH_INTERN $(DLOPT) $(ASMOPT) $(READLNOPT)
|
|
|
|
-LDFLAGS = -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh \
|
|
+LDFLAGS += -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh \
|
|
-rdynamic -g3 $(LDASMOPT) $(LDREADLNOPT) $(DLOPT)\
|
|
$(EXTRAOPT)
|
|
|