diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-06-16 04:24:38 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-06-16 04:24:38 +0000 |
commit | 16487ee284f17cfbf6fad9f6b2fedc57f0f37e0a (patch) | |
tree | 0c0aab325ab782ff559d1cfa5df269e786219ee3 /ext | |
parent | 83687c4eb47e2bcbe463d097317d068d1dd0b734 (diff) |
baseline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb.in | 12 | ||||
-rw-r--r-- | ext/socket/socket.c | 2 | ||||
-rw-r--r-- | ext/tcltklib/tcltklib.c | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index e4823edb85..0c32954577 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -332,6 +332,16 @@ $(TARGET): $(OBJS) $(TARGET): $(OBJS) cc -r $(CFLAGS) -o $(TARGET) $(OBJS) " + elsif PLATFORM =~ "-openstep" + mfile.printf "\ +$(TARGET): $(OBJS) + cc -r $(CFLAGS) -o $(TARGET) $(OBJS) +" + elsif PLATFORM =~ "-rhapsody" + mfile.printf "\ +$(TARGET): $(OBJS) + cc -r $(CFLAGS) -o $(TARGET) $(OBJS) +" elsif $static mfile.printf "\ $(TARGET): $(OBJS) @@ -379,7 +389,7 @@ def extmake(target) return if $nodynamic and not $static $objs = nil - $libs = PLATFORM =~ /cygwin32|beos/ ? nil : "-lc" + $libs = PLATFORM =~ /cygwin32|beos|openstep|nextstep|rhapsody/ ? nil : "-lc" $local_libs = nil # to be assigned in extconf.rb $CFLAGS = nil $LDFLAGS = nil diff --git a/ext/socket/socket.c b/ext/socket/socket.c index f9903654b6..d527e308e8 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -9,7 +9,7 @@ ************************************************/ #include "ruby.h" -#include "io.h" +#include "rubyio.h" #include <stdio.h> #include <sys/types.h> #ifndef NT diff --git a/ext/tcltklib/tcltklib.c b/ext/tcltklib/tcltklib.c index 952a9f73c2..e144c5f082 100644 --- a/ext/tcltklib/tcltklib.c +++ b/ext/tcltklib/tcltklib.c @@ -5,7 +5,7 @@ */ #include "ruby.h" -#include "sig.h" +#include "rubysig.h" #include <stdio.h> #include <string.h> #include <tcl.h> |