summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-23 08:59:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-23 08:59:42 +0000
commitd74e7e6837c92e33eeff2fdbdca8833c973dbd21 (patch)
tree9a0c26f214ec94e2c58c6b058edcf37afe13b93f /ext/dl
parent443ddb09699926f74798fdb8440a24ebda358088 (diff)
* eval.c (ruby_cleanup): initialize stack bottom for embedding.
[ruby-dev:21686] * ext/dl/extconf.rb: move list of files to clean from DEPEND file, to get rid of macro redefinitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/depend3
-rw-r--r--ext/dl/extconf.rb3
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/dl/depend b/ext/dl/depend
index 3d62fe3421b..fba3df7a3d1 100644
--- a/ext/dl/depend
+++ b/ext/dl/depend
@@ -1,6 +1,3 @@
-CLEANFILES = test/test.o
-DISTCLEANFILES = call.func callback.func cbtable.func dlconfig.rb dlconfig.h \
- test/libtest.so test/*~ *~ mkmf.log
LDSHARED_TEST = $(LDSHARED) $(LDFLAGS) test/test.o -o test/libtest.so $(LOCAL_LIBS)
libtest.so: test/libtest.so
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb
index bd92313b7e8..e7121344481 100644
--- a/ext/dl/extconf.rb
+++ b/ext/dl/extconf.rb
@@ -177,6 +177,9 @@ $INSTALLFILES = [
["./dlconfig.h", "$(archdir)$(target_prefix)", "."],
["dl.h", "$(archdir)$(target_prefix)", ""],
]
+$cleanfiles = %w[test/test.o]
+$distcleanfiles = %w[call.func callback.func cbtable.func dlconfig.rb
+./dlconfig.h test/libtest.so test/*~ *~ mkmf.log]
create_makefile('dl')
rescue SystemExit