summaryrefslogtreecommitdiff
path: root/ext/dl/depend
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 16:55:34 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-30 16:55:34 +0000
commit3deee712f5645d269b573b127ee1dd108e5d0e90 (patch)
tree749671e116b62b229a04205414d8ef8b86f0d918 /ext/dl/depend
parentc4eb738b7458c5f38153de5552a281de04586d4e (diff)
* ext/dl/mkcallback.rb: split callback.h to callback-[0-9].c to reduce
memory consumption on compilation. [ruby-dev:31898] * ext/dl/depend: add dependency for callback-[0-9].[co]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/depend')
-rw-r--r--ext/dl/depend15
1 files changed, 14 insertions, 1 deletions
diff --git a/ext/dl/depend b/ext/dl/depend
index fe89a9fae3b..1093960e10d 100644
--- a/ext/dl/depend
+++ b/ext/dl/depend
@@ -6,6 +6,19 @@ handle.o: handle.c dl.h $(hdrdir)/ruby.h
dl.o: dl.c dl.h callback.h $(hdrdir)/ruby.h $(hdrdir)/io.h
+callback-0.o: callback-0.c $(hdrdir)/ruby.h
+callback-1.o: callback-1.c $(hdrdir)/ruby.h
+callback-2.o: callback-2.c $(hdrdir)/ruby.h
+callback-3.o: callback-3.c $(hdrdir)/ruby.h
+callback-4.o: callback-4.c $(hdrdir)/ruby.h
+callback-5.o: callback-5.c $(hdrdir)/ruby.h
+callback-6.o: callback-6.c $(hdrdir)/ruby.h
+callback-7.o: callback-7.c $(hdrdir)/ruby.h
+callback-8.o: callback-8.c $(hdrdir)/ruby.h
+
+callback-0.c callback-1.c callback-2.c \
+callback-3.c callback-4.c callback-5.c \
+callback-6.c callback-7.c callback-8.c \
callback.h: $(srcdir)/mkcallback.rb dl.h
@echo "generating callback.h"
- @$(RUBY) $(srcdir)/mkcallback.rb $(srcdir)/dl.h > $@
+ @$(RUBY) $(srcdir)/mkcallback.rb $(srcdir)/dl.h