summaryrefslogtreecommitdiff
path: root/wince
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-10 21:35:45 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-10 21:35:45 +0000
commit72483cdcca360eda40e9fcad298d090658f975b9 (patch)
tree6ebb26742f1fee6b485a2f7b5baa84e15c659b14 /wince
parent5fc7312d1b6da1acccc8cf7dfff2bed79b48a33c (diff)
* Makefile.in, */Makefile.sub (VPATH): add enc directory.
* common.mk (ENCOBJS): encoding objects. * enc: directory for encodings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince')
-rw-r--r--wince/Makefile.sub7
1 files changed, 6 insertions, 1 deletions
diff --git a/wince/Makefile.sub b/wince/Makefile.sub
index d8f1f86..63a3068 100644
--- a/wince/Makefile.sub
+++ b/wince/Makefile.sub
@@ -28,7 +28,6 @@ iconinc=-I$(icondirs: = -I)
!endif
###############
-VPATH = $(srcdir);$(srcdir)/missing;$(srcdir)/wince
.SUFFIXES: .y .def .lib
!if !defined(CC)
@@ -185,6 +184,10 @@ INSTALLED_LIST= .installed.list
WINMAINOBJ = wincemain.$(OBJEXT)
+arch_hdrdir = $(EXTOUT)/include/$(arch)
+hdrdir = $(srcdir)/include
+VPATH = $(arch_hdrdir)/ruby;$(hdrdir)/ruby;$(srcdir);$(srcdir)/enc;$(srcdir)/missing;$(srcdir)/wince
+
all: $(srcdir)/wince/Makefile.sub $(srcdir)/common.mk
ruby: $(PROGRAM)
@@ -490,6 +493,8 @@ class File
end
<<KEEP
+{$(srcdir)/enc}.c.obj:
+ $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
{$(srcdir)/missing}.c.obj:
$(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) -c -Tc$(<:\=/)
{$(srcdir)/win32}.c.obj: