summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/Makefile8
-rw-r--r--uisimulator/win32/atoi.h20
-rw-r--r--uisimulator/win32/dir-win32.c1
-rw-r--r--uisimulator/win32/dir-win32.h2
-rw-r--r--uisimulator/win32/file.h2
5 files changed, 28 insertions, 5 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 6daf8d70e1..f18352ac61 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -31,9 +31,13 @@ endif
31 31
32PREVAPPDIR= .. 32PREVAPPDIR= ..
33FIRMWAREDIR = ../../firmware 33FIRMWAREDIR = ../../firmware
34
35# build some sources from these dirs
34DRIVERS = $(FIRMWAREDIR)/drivers 36DRIVERS = $(FIRMWAREDIR)/drivers
35COMMON = $(FIRMWAREDIR)/common 37COMMON = $(FIRMWAREDIR)/common
36LIBMADDIR = $(PREVAPPDIR)/common/libmad 38
39# include here:
40EXPORT = $(FIRMWAREDIR)/export
37TOOLSDIR = ../../tools 41TOOLSDIR = ../../tools
38DOCSDIR = ../../docs 42DOCSDIR = ../../docs
39 43
@@ -54,7 +58,7 @@ $(KEYPAD) $(DISPLAY) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) $(RTC)
54LDFLAGS = -lgdi32 -luser32 -mwindows 58LDFLAGS = -lgdi32 -luser32 -mwindows
55 59
56# Use this for simulator-only files 60# Use this for simulator-only files
57INCLUDES = -I. -I$(DRIVERS) -I$(COMMON) -I$(FIRMWAREDIR) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(MACHINEDIR) -I$(OBJDIR) 61INCLUDES = -I. -I$(EXPORT) -I$(APPDIR) -I$(MACHINEDIR) -I../common -I$(MACHINEDIR) -I$(OBJDIR)
58 62
59# The true Rockbox Applications should use this include path: 63# The true Rockbox Applications should use this include path:
60APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES) 64APPINCLUDES = -I$(FIRMWAREDIR)/include $(INCLUDES)
diff --git a/uisimulator/win32/atoi.h b/uisimulator/win32/atoi.h
new file mode 100644
index 0000000000..c95cfca64f
--- /dev/null
+++ b/uisimulator/win32/atoi.h
@@ -0,0 +1,20 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20int atoi(const char *);
diff --git a/uisimulator/win32/dir-win32.c b/uisimulator/win32/dir-win32.c
index 09ca45c354..4441003657 100644
--- a/uisimulator/win32/dir-win32.c
+++ b/uisimulator/win32/dir-win32.c
@@ -21,7 +21,6 @@
21#include <windows.h> 21#include <windows.h>
22#include <malloc.h> 22#include <malloc.h>
23#include "dir-win32.h" 23#include "dir-win32.h"
24#include "dir.h"
25 24
26// Directory operations 25// Directory operations
27// 26//
diff --git a/uisimulator/win32/dir-win32.h b/uisimulator/win32/dir-win32.h
index 6a19b5c535..67b37dfc74 100644
--- a/uisimulator/win32/dir-win32.h
+++ b/uisimulator/win32/dir-win32.h
@@ -23,7 +23,7 @@
23#define mkdir(x) dos_mkdir(x) 23#define mkdir(x) dos_mkdir(x)
24 24
25#include <io.h> 25#include <io.h>
26#include "dir.h" 26#include "../../firmware/include/dir.h"
27 27
28 28
29#endif // #ifndef __FILE_WIN32_H__ 29#endif // #ifndef __FILE_WIN32_H__
diff --git a/uisimulator/win32/file.h b/uisimulator/win32/file.h
index eb1ab82fa9..81fe3dd86a 100644
--- a/uisimulator/win32/file.h
+++ b/uisimulator/win32/file.h
@@ -24,5 +24,5 @@ int win32_rename(char *oldpath, char *newpath);
24 24
25#define rename(x,y) win32_rename(x,y) 25#define rename(x,y) win32_rename(x,y)
26 26
27#include "../../firmware/common/file.h" 27#include "../../firmware/include/file.h"
28 28