makefile

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

TXT
428
字号
__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=mp3rend.cpp plugin.cpp mp3render_dll_stub.c mp3render.uid.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\mp3rend.o thumb-rel32\obj\plugin.o thumb-rel32\obj\mp3render_dll_stub.o thumb-rel32\obj\mp3render.uid.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 ..\..\..\datatype\common\util\pub -I ..\..\..\datatype\mp3\codec\pub -I .\pub -I ..\..\..\common\dbgtool\pub -I ..\..\..\common\util\pub -I ..\..\..\common\container\pub -I ..\..\..\datatype\mp3\common\pub -I ..\..\..\datatype\mp3\payload\pub -I ..\..\..\datatype\mp3\codec\fixpt\pub -I ..\..\..\datatype\rm\common\pub

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

STATIC_LIBS=..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\common\runtime\thumb-rel32\runtlib.lib ..\..\..\common\runtime\thumb-rel32\runtlib.lib ..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\common\util\thumb-rel32\utillib.lib ..\..\..\common\container\thumb-rel32\contlib.lib ..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\datatype\mp3\common\thumb-rel32\mp3lib.lib ..\..\..\datatype\common\util\thumb-rel32\dtutillib.lib ..\..\..\datatype\mp3\payload\thumb-rel32\mp3payld.lib ..\..\..\datatype\mp3\codec\fixpt\thumb-rel32\mp3codecfixpt.lib ..\..\..\datatype\rm\common\thumb-rel32\rmcomlib.lib

DYNAMIC_LIBS="C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\estlib.lib" "C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\estlib.lib" "C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\euser.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\mp3render.dll

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\mp3render.dll: $(OBJS) $(STATIC_LIBS)
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	python C:\source\build\bin\armerge -d thumb-rel32\obj\lib thumb-rel32\mp3render_libs.lib $(STATIC_LIBS)
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def mp3render.def --output-exp thumb-rel32\mp3render.exp --dllname thumb-rel32\mp3render.dll
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll mp3render.lnk thumb-rel32\mp3render.exp --dll --base-file thumb-rel32\mp3render.bas -o thumb-rel32\mp3render.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\mp3render_libs.lib $(DYNAMIC_LIBS) C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\egcc.lib C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\euser.lib
	rm thumb-rel32\mp3render.exp
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def mp3render.def --dllname thumb-rel32\mp3render.dll --base-file thumb-rel32\mp3render.bas --output-exp thumb-rel32\mp3render.exp
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll mp3render.lnk thumb-rel32\mp3render.exp --dll -Map thumb-rel32\mp3render.dll.map -o thumb-rel32\mp3render.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\mp3render_libs.lib $(DYNAMIC_LIBS) C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\egcc.lib C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\euser.lib
	"C:\Symbian\6.1\Shared/epoc32/tools/petran" -nocall -uid1 0x10000079 -uid2 0x0 -uid3 0x0 thumb-rel32\mp3render.dll thumb-rel32\mp3render.dll
	rm thumb-rel32\mp3render.exp thumb-rel32\mp3render.bas
	rm thumb-rel32\mp3render_libs.lib

thumb-rel32\obj\mp3rend.o: mp3rend.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\mp3rend.o -c mp3rend.cpp

thumb-rel32\obj\plugin.o: plugin.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\plugin.o -c plugin.cpp

thumb-rel32\obj\mp3render_dll_stub.o: mp3render_dll_stub.c
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"
	$(CC) $(CCFLAGS) -o thumb-rel32\obj\mp3render_dll_stub.o -c mp3render_dll_stub.c

thumb-rel32\obj\mp3render.uid.o: mp3render.uid.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\mp3render.uid.o -c mp3render.uid.cpp

clean: 
	$(RM) thumb-rel32\mp3render.dll thumb-rel32\obj\mp3rend.o thumb-rel32\obj\plugin.o thumb-rel32\obj\mp3render_dll_stub.o
	$(RM) thumb-rel32\obj\mp3render.uid.o

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

copy: ..\..\..\release\mp3render.dll

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\mp3rend.obj: "mp3rend.cpp"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib/stdio.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\platform/openwave/hx_op_debug.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\platform/openwave/hx_op_stdc.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\platform/openwave/hx_op_fs.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib/sys/types.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/types.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stddef.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\machine/types.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib/time.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/time.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\_ansi.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib\time.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\platform/openwave/hx_op_timeutil.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\include\hxtypes.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\mp3rend.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\include\hxbastsd.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib\windows.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxosstr.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib/stdlib.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib\stdlib.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib/string.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib\string.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib\ctype.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\platform/wince/get_disk_free.h"
thumb-rel32\obj\mp3rend.obj: "..\..\..\common\runtime\pub\hlxclib/windows.h"

⌨️ 快捷键说明

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