summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-05-07 22:41:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-05-07 22:41:17 +0000
commitb8a23f9e4980e6a041d750c325ab2845aea8488a (patch)
treed10400e99208595638f13e7fe3b279274a173e56 /uisimulator
parentd23afcd4f4ad72b1c2c087055a9ba4457f2646cd (diff)
downloadrockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.tar.gz
rockbox-b8a23f9e4980e6a041d750c325ab2845aea8488a.zip
Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles Fixed code to include autoconf.h Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/Makefile5
-rw-r--r--uisimulator/win32/Makefile8
-rw-r--r--uisimulator/x11/Makefile5
3 files changed, 11 insertions, 7 deletions
diff --git a/uisimulator/common/Makefile b/uisimulator/common/Makefile
index 62a124ac97..e4f3dd93c2 100644
--- a/uisimulator/common/Makefile
+++ b/uisimulator/common/Makefile
@@ -23,7 +23,8 @@ RM = rm -f
23DEBUG = -g 23DEBUG = -g
24 24
25# Use this for simulator-only files 25# Use this for simulator-only files
26INCLUDES = -I. -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) -I$(ROOTDIR)/uisimulator/$(SIMVER) 26INCLUDES = -I. -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) \
27-I$(ROOTDIR)/uisimulator/$(SIMVER) -I$(BUILDDIR)
27 28
28# This sets up 'SRC' based on the files mentioned in SOURCES 29# This sets up 'SRC' based on the files mentioned in SOURCES
29include $(TOOLSDIR)/makesrc.inc 30include $(TOOLSDIR)/makesrc.inc
@@ -39,7 +40,7 @@ DIRS = .
39 40
40CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(GCCOPTS) 41CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(GCCOPTS)
41 42
42OUTFILE = $(OBJDIR)/libcomsim.a 43OUTFILE = $(BUILDDIR)/libcomsim.a
43 44
44all: $(OUTFILE) 45all: $(OUTFILE)
45 46
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index f04a54bdd4..1921e54ca3 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -24,7 +24,8 @@ DEPFILE = $(OBJDIR)/dep-simwin
24RM = rm -f 24RM = rm -f
25DEBUG = -g 25DEBUG = -g
26 26
27INCLUDES = -I. -I$(SIMCOMMON) -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) 27INCLUDES = -I. -I$(SIMCOMMON) -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) \
28 -I$(BUILDDIR)
28 29
29DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \ 30DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
30$(TARGET) -DAPPSVERSION=\"$(VERSION)\" -DMEM=${MEMORYSIZE} $(EXTRA_DEFINES) 31$(TARGET) -DAPPSVERSION=\"$(VERSION)\" -DMEM=${MEMORYSIZE} $(EXTRA_DEFINES)
@@ -39,7 +40,7 @@ DIRS = .
39 40
40CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall -mno-cygwin 41CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall -mno-cygwin
41 42
42OUTFILE = $(OBJDIR)/libsim.a 43OUTFILE = $(BUILDDIR)/libsim.a
43 44
44all: $(OUTFILE) 45all: $(OUTFILE)
45 @echo "MAKE in common sim" 46 @echo "MAKE in common sim"
@@ -62,7 +63,8 @@ $(OBJDIR)/UI256.bmp: UI-$(ARCHOS).bmp
62 @cp $< $@ 63 @cp $< $@
63 64
64$(OBJDIR)/uisw32-res.o: uisw32.rc $(OBJDIR)/UI256.bmp 65$(OBJDIR)/uisw32-res.o: uisw32.rc $(OBJDIR)/UI256.bmp
65 $(WINDRES) --include-dir $(OBJDIR) -i $< -o $@ 66 @echo "WINDRES"
67 @$(WINDRES) --include-dir $(OBJDIR) -i $< -o $@
66 68
67include $(TOOLSDIR)/make.inc 69include $(TOOLSDIR)/make.inc
68 70
diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile
index f032c664be..4d3e1e7fce 100644
--- a/uisimulator/x11/Makefile
+++ b/uisimulator/x11/Makefile
@@ -25,7 +25,8 @@ RM = rm -f
25DEBUG = -g 25DEBUG = -g
26 26
27# Use this for simulator-only files 27# Use this for simulator-only files
28INCLUDES = -I. -I$(SIMCOMMON) -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) 28INCLUDES = -I. -I$(SIMCOMMON) -I$(OBJDIR) -I$(FIRMDIR)/export -I$(APPSDIR) \
29 -I$(BUILDDIR)
29 30
30# This sets up 'SRC' based on the files mentioned in SOURCES 31# This sets up 'SRC' based on the files mentioned in SOURCES
31include $(TOOLSDIR)/makesrc.inc 32include $(TOOLSDIR)/makesrc.inc
@@ -41,7 +42,7 @@ DIRS = .
41 42
42CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(GCCOPTS) 43CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) $(GCCOPTS)
43 44
44OUTFILE = $(OBJDIR)/libsim.a 45OUTFILE = $(BUILDDIR)/libsim.a
45 46
46all: $(OUTFILE) 47all: $(OUTFILE)
47 @$(MAKE) -C $(SIMCOMMON) 48 @$(MAKE) -C $(SIMCOMMON)