Lines 1-16
Link Here
|
1 |
--- vm/Makefile Fri Aug 15 17:58:34 2003 |
1 |
--- vm/Makefile.orig Thu Aug 21 03:23:17 2003 |
2 |
+++ vm/Makefile.patch Sat Aug 16 02:26:48 2003 |
2 |
+++ vm/Makefile Tue Sep 23 00:57:31 2003 |
3 |
@@ -19,9 +19,6 @@ |
3 |
@@ -19,8 +19,8 @@ |
4 |
RM = rm -f |
|
|
5 |
NAME = elfsh |
6 |
|
7 |
-DLOPT_freebsd4.4 = |
8 |
-DLOPT_linux-gnu = -ldl |
9 |
-DLOPT_solaris = -ldl |
10 |
#EXTRAOPT = -lefence |
11 |
|
12 |
# Uncomment that to use libasm |
13 |
@@ -29,14 +26,14 @@ |
14 |
#LDASMOPT = -lasm |
4 |
#LDASMOPT = -lasm |
15 |
|
5 |
|
16 |
# Uncommant that to use libreadline |
6 |
# Uncommant that to use libreadline |
Lines 19-31
Link Here
|
19 |
+READLNOPT = -DUSE_READLN |
9 |
+READLNOPT = -DUSE_READLN |
20 |
+LDREADLNOPT = -lreadline -ltermcap |
10 |
+LDREADLNOPT = -lreadline -ltermcap |
21 |
|
11 |
|
|
|
12 |
|
13 |
# End of configurable Makefile |
14 |
@@ -40,7 +40,7 @@ |
15 |
RM = rm -f |
16 |
NAME = elfsh |
17 |
|
22 |
-CFLAGS = -rdynamic -fPIC -g3 -O2 -Wall -Iinclude \ |
18 |
-CFLAGS = -rdynamic -fPIC -g3 -O2 -Wall -Iinclude \ |
23 |
+CFLAGS += -rdynamic -fPIC -g3 -Wall -Iinclude \ |
19 |
+CFLAGS += -rdynamic -fPIC -g3 -Wall -Iinclude \ |
24 |
-I../libhash/include/ -I../libelfsh/include/ \ |
20 |
-I../libhash/include/ -I../libelfsh/include/ \ |
25 |
-DELFSH_INTERN $(ASMOPT) $(READLNOPT) |
21 |
-DELFSH_INTERN $(DLOPT) $(ASMOPT) $(READLNOPT) |
26 |
LDFLAGS = -L../libelfsh/ -lelfsh -L../libhash/ -lhashelfsh \ |
|
|
27 |
- -rdynamic -g3 -ldl $(LDASMOPT) $(LDREADLNOPT) \ |
28 |
+ -rdynamic -g3 $(LDASMOPT) $(LDREADLNOPT) \ |
29 |
$(EXTRAOPT) |
30 |
|