use the new paths

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3223 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2003-02-07 10:21:50 +00:00
parent 910cc29d92
commit 3d84988597
5 changed files with 28 additions and 5 deletions

View file

@ -31,9 +31,13 @@ endif
PREVAPPDIR= ..
FIRMWAREDIR = ../../firmware
# build some sources from these dirs
DRIVERS = $(FIRMWAREDIR)/drivers
COMMON = $(FIRMWAREDIR)/common
LIBMADDIR = $(PREVAPPDIR)/common/libmad
# include here:
EXPORT = $(FIRMWAREDIR)/export
TOOLSDIR = ../../tools
DOCSDIR = ../../docs
@ -54,7 +58,7 @@ $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) $(RTC)
LDFLAGS = -lgdi32 -luser32 -mwindows
# Use this for simulator-only files
INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(MACHINEDIR) -I$(OBJDIR)
INCLUDES = -I. -I$(EXPORT) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(MACHINEDIR) -I$(OBJDIR)
# The true Rockbox Applications should use this include path:
APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)

20
uisimulator/win32/atoi.h Normal file
View file

@ -0,0 +1,20 @@
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
int atoi(const char *);

View file

@ -21,7 +21,6 @@
#include <windows.h>
#include <malloc.h>
#include "dir-win32.h"
#include "dir.h"
// Directory operations
//

View file

@ -23,7 +23,7 @@
#define mkdir(x) dos_mkdir(x)
#include <io.h>
#include "dir.h"
#include "../../firmware/include/dir.h"
#endif // #ifndef __FILE_WIN32_H__

View file

@ -24,5 +24,5 @@ int win32_rename(char *oldpath, char *newpath);
#define rename(x,y) win32_rename(x,y)
#include "../../firmware/common/file.h"
#include "../../firmware/include/file.h"