[Scummvm-cvs-logs] CVS: scummvm/backends/dc dc-fs.cpp,NONE,1.1.2.1 .cvsignore,1.3,1.3.2.1 Makefile,1.3,1.3.2.1

Marcus Comstedt marcus_c at users.sourceforge.net
Wed Dec 4 13:27:04 CET 2002


Update of /cvsroot/scummvm/scummvm/backends/dc
In directory sc8-pr-cvs1:/tmp/cvs-serv13144

Modified Files:
      Tag: branch-0-3-0
	.cvsignore Makefile 
Added Files:
      Tag: branch-0-3-0
	dc-fs.cpp 
Log Message:
Should now compile again.

--- NEW FILE: dc-fs.cpp ---
/* ScummVM - Scumm Interpreter
 * Copyright (C) 2002 The ScummVM project
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * $Header: /cvsroot/scummvm/scummvm/backends/dc/Attic/dc-fs.cpp,v 1.1.2.1 2002/12/04 21:26:20 marcus_c Exp $
 */

#include <backends/fs/fs.h>
#include <common/engine.h>

FilesystemNode *FilesystemNode::getRoot() {
  error ("No filesystem implemented for DC!");
}

Index: .cvsignore
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- .cvsignore	13 Sep 2002 14:22:42 -0000	1.3
+++ .cvsignore	4 Dec 2002 21:26:05 -0000	1.3.2.1
@@ -4,4 +4,5 @@
 simon
 sound
 common
-scummvm
+backends
+scummvm.elf

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/Makefile,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- Makefile	18 Oct 2002 01:35:46 -0000	1.3
+++ Makefile	4 Dec 2002 21:26:10 -0000	1.3.2.1
@@ -11,7 +11,7 @@
 INCLUDES:= -I./ -I../.. -I../../common
 CPPFLAGS= $(DEFINES) $(INCLUDES)
 LIBS	= ronin/libronin.a ronin/libz.a -lm
-EXEEXT =
+EXEEXT = .elf
 MKDIR = mkdir -p
 ECHO = /usr/ucb/echo -n
 CAT = cat
@@ -19,16 +19,22 @@
 AR = sh-elf-ar cru
 RANLIB = sh-elf-ranlib
 
-OBJS =	dcmain.o time.o display.o audio.o input.o selector.o icon.o \
-	label.o vmsave.o
+OBJS :=	dcmain.o time.o display.o audio.o input.o selector.o icon.o \
+	label.o vmsave.o dc-fs.o
 
 include ../../Makefile.common
 
 INCS	+= portdefs.h dc.h
+LIBS    := scumm/libscumm.a common/libcommon.a $(LIBS)
 
 $(OBJS): Makefile ronin
 
 ronin:
 	ln -s $(ronindir) $@
 
+%/module.mk :
+	@mkdir -p $*
+	@test -h common.rules || ln -s ../../common.rules ./
+	@test ! -f ../../$@ || \
+	  ln -s `echo $* | sed -e 's/[^/][^/]*/../g'`/../../$@ $@
 





More information about the Scummvm-git-logs mailing list