makefile

来自「symbian 下的helix player源代码」· 代码 · 共 443 行 · 第 1/2 页

TXT
443
字号
__STANDARD__=YES

SRCROOT=..\..

RM=rm -rf

RM_DIR=rm -rf

MAKE_DEP=

MAKE_DEP_FLAGS=$(INCLUDES) $(DEFINES)

LD=

LDFLAGS=

CP=copy

MAKE=nmake

CC="C:\Symbian\6.1\Shared/EPOC32/gcc/bin/thumb-epoc-pe-gcc"

CXXFLAGS=-s -fomit-frame-pointer -mthumb-interwork -nostdinc -fno-builtin -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -O2  $(INCLUDES) $(DEFINES)

CC="C:\Symbian\6.1\Shared/EPOC32/gcc/bin/thumb-epoc-pe-gcc"

CCFLAGS=-x c++ -s -fomit-frame-pointer -mthumb-interwork -nostdinc -fno-builtin -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -O2  $(INCLUDES) $(DEFINES)

CC="C:\Symbian\6.1\Shared/EPOC32/gcc/bin/thumb-epoc-pe-gcc"

CXXFLAGS=-s -fomit-frame-pointer -mthumb-interwork -nostdinc -fno-builtin -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -O2  $(INCLUDES) $(DEFINES)

SRCS=platform\symbian\process_events.cpp string.cpp stdlib.cpp assert.cpp hlxosstr.cpp safestring.cpp windows.cpp time.cpp stat.cpp errno.cpp stdio.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\platform\symbian\process_events.o thumb-rel32\obj\string.o thumb-rel32\obj\stdlib.o thumb-rel32\obj\assert.o thumb-rel32\obj\hlxosstr.o thumb-rel32\obj\safestring.o thumb-rel32\obj\windows.o thumb-rel32\obj\time.o thumb-rel32\obj\stat.o thumb-rel32\obj\errno.o thumb-rel32\obj\stdio.o

SOURCE_OBJS=

INCLUDES=-I ..\..\common\runtime\pub -I ..\..\common\system\pub -I C:\Symbian\6.1\SERIES60\EPOC32\include -I C:\Symbian\6.1\SERIES60\EPOC32\include\libc -I ..\..\common\include -I .\pub -I ..\..\common\dbgtool\pub

DEFINES=-I . -include thumb-rel32\common_runtime_ribodefs.h

STATIC_LIBS=..\..\common\system\thumb-rel32\syslib.lib ..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\common\runtime\thumb-rel32\runtlib.lib

DYNAMIC_LIBS="C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\estlib.lib"

.s.obj: 
	$(CC) $(CXXFLAGS) -o $@ -c $<

.c.o: 
	$(CC) $(CCFLAGS) -o $@ -c $<

.cpp.o: 
	$(CC) $(CXXFLAGS) -o $@ -c $<

all: thumb-rel32\obj thumb-rel32\runtlib.lib

thumb-rel32\obj: 
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"

all_objects: $(OBJS)

thumb-rel32\runtlib.lib: $(OBJS)
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-rm thumb-rel32\runtlib.lib
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/ar" rv thumb-rel32\runtlib.lib $(OBJS)
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/ranlib" thumb-rel32\runtlib.lib

thumb-rel32\obj\platform\symbian\process_events.o: platform\symbian\process_events.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	-@if NOT exist "thumb-rel32\obj\platform" mkdir "thumb-rel32\obj\platform"
	-@if NOT exist "thumb-rel32\obj\platform\symbian" mkdir "thumb-rel32\obj\platform\symbian"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\platform\symbian\process_events.o -c platform\symbian\process_events.cpp

thumb-rel32\obj\string.o: string.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\string.o -c string.cpp

thumb-rel32\obj\stdlib.o: stdlib.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\stdlib.o -c stdlib.cpp

thumb-rel32\obj\assert.o: assert.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\assert.o -c assert.cpp

thumb-rel32\obj\hlxosstr.o: hlxosstr.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\hlxosstr.o -c hlxosstr.cpp

thumb-rel32\obj\safestring.o: safestring.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\safestring.o -c safestring.cpp

thumb-rel32\obj\windows.o: windows.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\windows.o -c windows.cpp

thumb-rel32\obj\time.o: time.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\time.o -c time.cpp

thumb-rel32\obj\stat.o: stat.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\stat.o -c stat.cpp

thumb-rel32\obj\errno.o: errno.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\errno.o -c errno.cpp

thumb-rel32\obj\stdio.o: stdio.cpp
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\stdio.o -c stdio.cpp

clean: 
	$(RM) thumb-rel32\runtlib.lib thumb-rel32\obj\platform\symbian\process_events.o thumb-rel32\obj\string.o
	$(RM) thumb-rel32\obj\stdlib.o thumb-rel32\obj\assert.o thumb-rel32\obj\hlxosstr.o thumb-rel32\obj\safestring.o
	$(RM) thumb-rel32\obj\windows.o thumb-rel32\obj\time.o thumb-rel32\obj\stat.o thumb-rel32\obj\errno.o thumb-rel32\obj\stdio.o

..\..\release\runtlib.lib: thumb-rel32\runtlib.lib
	-@if NOT exist "..\..\release" mkdir "..\..\release"
	rm -rf "..\..\release\runtlib.lib"
	copy "thumb-rel32\runtlib.lib" "..\..\release\runtlib.lib"

copy: ..\..\release\runtlib.lib

depend: 
	python C:\source\build\bin\mkdepend /tthumb-rel32\obj /mMakefile $(DEFINES) $(INCLUDES) $(SRCS)
# DO NOT DELETE -- mkdepend depends on this line
thumb-rel32\obj\platform\symbian\process_events.obj: "platform\symbian\process_events.cpp"
thumb-rel32\obj\platform\symbian\process_events.obj: "..\..\common\runtime\pub\platform/symbian/process_events.h"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32base.h"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\platform\symbian\process_events.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32base.inl"
thumb-rel32\obj\platform\symbian\process_events.obj: "thumb-rel32\common_runtime_ribodefs.h"
thumb-rel32\obj\string.obj: "string.cpp"
thumb-rel32\obj\string.obj: "..\..\common\runtime\pub\hlxclib/string.h"
thumb-rel32\obj\string.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_stdc.h"
thumb-rel32\obj\string.obj: "..\..\common\runtime\pub\hlxclib\string.h"
thumb-rel32\obj\string.obj: "..\..\common\runtime\pub\hlxclib\stdlib.h"
thumb-rel32\obj\string.obj: "..\..\common\include\hxtypes.h"
thumb-rel32\obj\string.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\string.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\string.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\string.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\string.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\string.obj: "..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\string.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\string.obj: "..\..\common\include\hxbastsd.h"
thumb-rel32\obj\string.obj: "..\..\common\runtime\pub\hlxclib\ctype.h"
thumb-rel32\obj\string.obj: "..\..\common\runtime\pub\hlxclib/stdlib.h"
thumb-rel32\obj\string.obj: "thumb-rel32\common_runtime_ribodefs.h"
thumb-rel32\obj\stdlib.obj: "stdlib.cpp"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/stdio.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_debug.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_stdc.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_fs.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/sys/types.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/types.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stddef.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\machine/types.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/time.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/time.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\_ansi.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\time.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_timeutil.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\include\hxtypes.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\stdlib.obj: "..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\stdlib.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\include\hxbastsd.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\windows.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxosstr.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/stdlib.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\stdlib.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/string.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\string.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\ctype.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\platform/wince/get_disk_free.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/windows.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\stdio.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\stdarg.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib/assert.h"
thumb-rel32\obj\stdlib.obj: "..\..\common\runtime\pub\hlxclib\assert.h"
thumb-rel32\obj\stdlib.obj: "thumb-rel32\common_runtime_ribodefs.h"
thumb-rel32\obj\assert.obj: "assert.cpp"
thumb-rel32\obj\assert.obj: "..\..\common\runtime\pub\hlxclib/assert.h"
thumb-rel32\obj\assert.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_debug.h"
thumb-rel32\obj\assert.obj: "..\..\common\runtime\pub\hlxclib\assert.h"
thumb-rel32\obj\assert.obj: "..\..\common\include\hxtypes.h"
thumb-rel32\obj\assert.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\assert.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\assert.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\assert.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\assert.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\assert.obj: "..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\assert.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\assert.obj: "..\..\common\include\hxbastsd.h"
thumb-rel32\obj\assert.obj: "..\..\common\runtime\pub\hlxclib/windows.h"
thumb-rel32\obj\assert.obj: "..\..\common\runtime\pub\hlxclib\windows.h"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?