summaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-20 15:30:28 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-20 15:30:28 +0000
commit21669ba304aa932a2aa8b004ad59c0f3bb3435c1 (patch)
tree8d47e5678e829369032447754c2f4034192b2994 /common.mk
parent760fe7968bfd857ad3868caf01738eee252d9fc9 (diff)
downloadruby-21669ba304aa932a2aa8b004ad59c0f3bb3435c1.tar.gz
ruby-21669ba304aa932a2aa8b004ad59c0f3bb3435c1.tar.xz
ruby-21669ba304aa932a2aa8b004ad59c0f3bb3435c1.zip
* strftime.c: new file.
* common.mk (COMMONOBJS): added strftime.$(OBJEXT). * time.c (time_strftime): do not use strftime(3). supported %L(millisecond) and %N(nanosecond). * test/ruby/test_time.rb: added tests for %L and %N. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 33a5f0bbc..8f55681e1 100644
--- a/common.mk
+++ b/common.mk
@@ -64,6 +64,7 @@ COMMONOBJS = array.$(OBJEXT) \
signal.$(OBJEXT) \
sprintf.$(OBJEXT) \
st.$(OBJEXT) \
+ strftime.$(OBJEXT) \
string.$(OBJEXT) \
struct.$(OBJEXT) \
time.$(OBJEXT) \
@@ -568,6 +569,7 @@ sprintf.$(OBJEXT): {$(VPATH)}sprintf.c $(RUBY_H_INCLUDES) {$(VPATH)}st.h \
{$(VPATH)}encoding.h {$(VPATH)}vsnprintf.c
st.$(OBJEXT): {$(VPATH)}st.c {$(VPATH)}config.h {$(VPATH)}defines.h \
{$(VPATH)}st.h
+strftime.$(OBJEXT): {$(VPATH)}strftime.c {$(VPATH)}config.h
string.$(OBJEXT): {$(VPATH)}string.c $(RUBY_H_INCLUDES) \
{$(VPATH)}st.h {$(VPATH)}re.h {$(VPATH)}regex.h {$(VPATH)}oniguruma.h \
{$(VPATH)}encoding.h