summaryrefslogtreecommitdiff
path: root/wince/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-22 14:52:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-22 14:52:59 +0000
commit984f9a0df167c8f68832388b10c0d395a099d7a9 (patch)
treedf2ac1f4ed4ba5cd77a5320c1a2858d689856173 /wince/Makefile.sub
parent21189400d60904d34ba756839c9129a731709c3c (diff)
* configure.in, lib/mkmf.rb: use simple commands if available.
* mkconfig.rb: remove autoconf internal variables from rbconfig.rb. * lib/mkmf.rb (create_makefile): substitute implicit rules in depend file. * {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST): include $(topdir) and $(hdrdir) to search path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/Makefile.sub')
-rw-r--r--wince/Makefile.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index b5856a8..6db823d 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -389,7 +389,8 @@ s,@LIBARG@,%s.lib,;t t
s,@LINK_SO@,$$(LDSHARED) -Fe$$(@) $$(OBJS) $$(LIBS) $$(LOCAL_LIBS) $$(DLDFLAGS),;t t
s,@COMPILE_C@,$$(CC) $$(CFLAGS) $$(CPPFLAGS) -c -Tc$$(<:\=/),;t t
s,@COMPILE_CXX@,$$(CXX) $$(CXXFLAGS) $$(CPPFLAGS) -c -Tp$$(<:\=/),;t t
-s,@COMPILE_RULES@,{$$(srcdir)}.%s{}.%s: .%s.%s:,;t t
+s,@COMPILE_RULES@,{$$(srcdir)}.%s{}.%s: {$$(topdir)}.%s{}.%s: {$$(hdrdir)}.%s{}.%s: .%s.%s:,;t t
+s,@RULE_SUBST@,{.;$$(srcdir);$$(topdir);$$(hdrdir)}%s,;t t
s,@TRY_LINK@,$$(CC) -Feconftest $$(INCFLAGS) -I$$(hdrdir) $$(CPPFLAGS) $$(CFLAGS) $$(src) $$(LOCAL_LIBS) $$(LIBS) -link $$(LDFLAGS) $$(LIBPATH) $$(XLDFLAGS),;t t
s,@COMMON_LIBS@,coredll winsock,;t t
s,@COMMON_MACROS@,WIN32_LEAN_AND_MEAN;t t