From 5979f0e28835434b327fb4e98f48cfab3a9f22ab Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Mar 2002 09:24:39 +0000 Subject: [PATCH] * ext/digest: add depend file. * ext/digest/md5: ditto. * ext/digest/rmd160: ditto. * ext/digest/sha1: ditto. * ext/digest/sha2: ditto. * ext/iconv/MANIFEST: ditto. * ext/stringio/MANIFEST: ditto. * ext/syslog: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 18 ++++++++++++++++++ ext/configsub.rb | 2 +- ext/digest/MANIFEST | 1 + ext/digest/depend | 2 ++ ext/digest/md5/MANIFEST | 1 + ext/digest/md5/depend | 5 +++++ ext/digest/rmd160/MANIFEST | 1 + ext/digest/rmd160/depend | 7 +++++++ ext/digest/sha1/MANIFEST | 1 + ext/digest/sha1/depend | 7 +++++++ ext/digest/sha2/MANIFEST | 1 + ext/digest/sha2/depend | 7 +++++++ ext/extmk.rb.in | 2 +- ext/iconv/MANIFEST | 1 + ext/stringio/MANIFEST | 1 + ext/syslog/MANIFEST | 1 + ext/syslog/depend | 2 ++ 17 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 ext/digest/depend create mode 100644 ext/digest/md5/depend create mode 100644 ext/digest/rmd160/depend create mode 100644 ext/digest/sha1/depend create mode 100644 ext/digest/sha2/depend create mode 100644 ext/syslog/depend diff --git a/ChangeLog b/ChangeLog index ffe110ac84..4f71c4711a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +Mon Mar 18 18:04:05 2002 Nobuyoshi Nakada + + * ext/digest: add depend file. + + * ext/digest/md5: ditto. + + * ext/digest/rmd160: ditto. + + * ext/digest/sha1: ditto. + + * ext/digest/sha2: ditto. + + * ext/iconv/MANIFEST: ditto. + + * ext/stringio/MANIFEST: ditto. + + * ext/syslog: ditto. + Mon Mar 18 17:18:06 2002 Nobuyoshi Nakada * eval.c (rb_f_abort): should not bypass cleanup. diff --git a/ext/configsub.rb b/ext/configsub.rb index f90b2df360..679078ff11 100644 --- a/ext/configsub.rb +++ b/ext/configsub.rb @@ -12,7 +12,7 @@ BEGIN { File.foreach($config || "config.status") do |line| next if /^#/ =~ line - if /^s%@(\w+)@%(.*)%g/ =~ line + if /^s[%,]@(\w+)@[%,](.*)[%,]g/ =~ line name = $1 val = $2 || "" next if /^(INSTALL|DEFS|configure_input|srcdir)$/ =~ name diff --git a/ext/digest/MANIFEST b/ext/digest/MANIFEST index 8d2d999f69..32803c6b8e 100644 --- a/ext/digest/MANIFEST +++ b/ext/digest/MANIFEST @@ -32,3 +32,4 @@ sha2/sha2hl.c sha2/sha2init.c test.rb test.sh +depend diff --git a/ext/digest/depend b/ext/digest/depend new file mode 100644 index 0000000000..43601a208f --- /dev/null +++ b/ext/digest/depend @@ -0,0 +1,2 @@ +digest.o: digest.c digest.h $(hdrdir)/ruby.h $(topdir)/config.h \ + $(hdrdir)/defines.h $(hdrdir)/intern.h diff --git a/ext/digest/md5/MANIFEST b/ext/digest/md5/MANIFEST index 1b8a861b6b..923af92ed2 100644 --- a/ext/digest/md5/MANIFEST +++ b/ext/digest/md5/MANIFEST @@ -2,3 +2,4 @@ extconf.rb md5.c md5.h md5init.c +depend diff --git a/ext/digest/md5/depend b/ext/digest/md5/depend new file mode 100644 index 0000000000..30ad482101 --- /dev/null +++ b/ext/digest/md5/depend @@ -0,0 +1,5 @@ +md5.o: md5.c md5.h $(srcdir)/../defs.h $(hdrdir)/ruby.h $(topdir)/config.h \ + $(hdrdir)/defines.h $(hdrdir)/intern.h +md5init.o: md5init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h md5.h \ + $(srcdir)/../defs.h diff --git a/ext/digest/rmd160/MANIFEST b/ext/digest/rmd160/MANIFEST index ff16164ca7..017976de0d 100644 --- a/ext/digest/rmd160/MANIFEST +++ b/ext/digest/rmd160/MANIFEST @@ -3,3 +3,4 @@ rmd160.c rmd160.h rmd160hl.c rmd160init.c +depend diff --git a/ext/digest/rmd160/depend b/ext/digest/rmd160/depend new file mode 100644 index 0000000000..7cf1d5e639 --- /dev/null +++ b/ext/digest/rmd160/depend @@ -0,0 +1,7 @@ +rmd160.o: rmd160.c rmd160.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h +rmd160hl.o: rmd160hl.c rmd160.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h +rmd160init.o: rmd160init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ + rmd160.h $(srcdir)/../defs.h diff --git a/ext/digest/sha1/MANIFEST b/ext/digest/sha1/MANIFEST index f08f240383..99b83addfd 100644 --- a/ext/digest/sha1/MANIFEST +++ b/ext/digest/sha1/MANIFEST @@ -3,3 +3,4 @@ sha1.c sha1.h sha1hl.c sha1init.c +depend diff --git a/ext/digest/sha1/depend b/ext/digest/sha1/depend new file mode 100644 index 0000000000..31a5da06cf --- /dev/null +++ b/ext/digest/sha1/depend @@ -0,0 +1,7 @@ +sha1.o: sha1.c sha1.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h +sha1hl.o: sha1hl.c sha1.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h +sha1init.o: sha1init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ + sha1.h $(srcdir)/../defs.h diff --git a/ext/digest/sha2/MANIFEST b/ext/digest/sha2/MANIFEST index 03fbb0fcda..f117b94771 100644 --- a/ext/digest/sha2/MANIFEST +++ b/ext/digest/sha2/MANIFEST @@ -3,3 +3,4 @@ sha2.c sha2.h sha2hl.c sha2init.c +depend diff --git a/ext/digest/sha2/depend b/ext/digest/sha2/depend new file mode 100644 index 0000000000..2587415fdc --- /dev/null +++ b/ext/digest/sha2/depend @@ -0,0 +1,7 @@ +sha2.o: sha2.c sha2.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h +sha2hl.o: sha2hl.c sha2.h $(srcdir)/../defs.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h +sha2init.o: sha2init.c $(srcdir)/../digest.h $(hdrdir)/ruby.h \ + $(topdir)/config.h $(hdrdir)/defines.h $(hdrdir)/intern.h \ + sha2.h $(srcdir)/../defs.h diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index b7db0a31e9..dd7cabfc98 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -615,7 +615,7 @@ def extmake(target) end $LOCAL_LIBS = "" # to be assigned in extconf.rb $CFLAGS = "" - $CPPFLAGS = "" + $CPPFLAGS = "@CPPFLAGS@" $LDFLAGS = "" $LIBPATH = [$libdir] diff --git a/ext/iconv/MANIFEST b/ext/iconv/MANIFEST index c63959b26f..643f3b7f4d 100644 --- a/ext/iconv/MANIFEST +++ b/ext/iconv/MANIFEST @@ -1,3 +1,4 @@ MANIFEST extconf.rb iconv.c +depend diff --git a/ext/stringio/MANIFEST b/ext/stringio/MANIFEST index 2c42c84753..4f3a7dc6d0 100644 --- a/ext/stringio/MANIFEST +++ b/ext/stringio/MANIFEST @@ -1,3 +1,4 @@ MANIFEST README stringio.c +depend diff --git a/ext/syslog/MANIFEST b/ext/syslog/MANIFEST index 67c588a36e..b5306034b7 100644 --- a/ext/syslog/MANIFEST +++ b/ext/syslog/MANIFEST @@ -3,3 +3,4 @@ extconf.rb syslog.c syslog.txt test.rb +depend diff --git a/ext/syslog/depend b/ext/syslog/depend new file mode 100644 index 0000000000..45cbea293a --- /dev/null +++ b/ext/syslog/depend @@ -0,0 +1,2 @@ +syslog.o: syslog.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h \ + $(hdrdir)/intern.h