summaryrefslogtreecommitdiffstats
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-02-18 13:47:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-02-18 13:47:17 +0000
commitcdde25b597eb4047e9db27bb8bbcf938e4a43cfe (patch)
treed25f47817cc8515228c8ea0eb33ab71bfc2159d4 /firmware/SOURCES
parentf436476f9f0eeae4640197866ea5b5fa068df7e9 (diff)
downloadrockbox-cdde25b597eb4047e9db27bb8bbcf938e4a43cfe.tar.gz
rockbox-cdde25b597eb4047e9db27bb8bbcf938e4a43cfe.zip
Unified build system to use SOURCES for sim builds too, a single Makefile-look
made by configure and various related adjustments. This has not yet been tested on cygwin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES48
1 files changed, 29 insertions, 19 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 535b221127..a5e95e7152 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -1,11 +1,15 @@
+#ifndef SIMULATOR
backlight.c
+#endif
buffer.c
common/atoi.c
common/ctype.c
+#ifndef SIMULATOR
common/dir.c
+common/file.c
+#endif
common/disk.c
common/errno.c
-common/file.c
common/memcmp.c
common/qsort.c
common/random.c
@@ -16,7 +20,7 @@ common/strcat.c
common/strchr.c
common/strcmp.c
common/strcpy.c
-#if CONFIG_CPU == SH7034
+#if (CONFIG_CPU == SH7034) && !defined(SIMULATOR)
common/strlen_a.S
#else
common/strlen.c
@@ -33,7 +37,20 @@ common/memset_a.S
common/memcpy.c
common/memset.c
#endif
-debug.c
+#ifdef HAVE_LCD_CHARCELLS
+drivers/lcd-player-charset.c
+drivers/lcd-player.c
+#endif
+#ifdef HAVE_LCD_BITMAP
+#if CONFIG_LCD == LCD_S1D15E06
+drivers/lcd-h100.c
+#else
+drivers/lcd-recorder.c
+#endif
+#endif
+drivers/power.c
+drivers/led.c
+#ifndef SIMULATOR
drivers/adc.c
#ifdef HAVE_MMC
drivers/ata_mmc.c
@@ -54,42 +71,35 @@ tuner_philips.c
#endif
#endif
drivers/i2c.c
-#ifdef HAVE_LCD_CHARCELLS
-drivers/lcd-player-charset.c
-drivers/lcd-player.c
-#endif
-#ifdef HAVE_LCD_BITMAP
-#if CONFIG_LCD == LCD_S1D15E06
-drivers/lcd-h100.c
-#else
-drivers/lcd-recorder.c
-#endif
-#endif
-drivers/led.c
#if CONFIG_HWCODEC != MASNONE
drivers/mas.c
#endif
-drivers/power.c
#ifdef HAVE_RTC
drivers/rtc.c
#endif
drivers/serial.c
+#endif /* !SIMULATOR */
#ifdef HAVE_LCD_BITMAP
font.c
#endif
hwcompat.c
id3.c
+#ifndef SIMULATOR
kernel.c
+rolo.c
+thread.c
+crt0.S
+#endif
mp3_playback.c
mp3data.c
mpeg.c
+#ifndef WIN32 /* the win32 sim has its own versin of these: */
panic.c
+debug.c
+#endif
powermgmt.c
-rolo.c
system.c
-thread.c
usb.c
-crt0.S
#if CONFIG_CPU == SH7034
bitswap.S
descramble.S