rv20.mak

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

MAK
256
字号
__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=frontend\rv20api.cpp rv20_dll_stub.c rv20.uid.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\rv20\frontend\rv20api.o thumb-rel32\obj\rv20\rv20_dll_stub.o thumb-rel32\obj\rv20\rv20.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 ..\..\..\..\..\common\dbgtool\pub -I ..\..\..\..\..\datatype\rm\include -I ..\..\..\..\..\datatype\rm\video\codec\rvg2dec\frontend -I .\pub -I ..\..\..\..\..\common\container\pub -I ..\..\..\..\..\common\util\pub -I ..\..\..\..\..\datatype\common\util\pub

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

STATIC_LIBS=c:\source\helix\datatype_dist\rm\video\codec\common\thumb-rel32\rvcodcomlib.lib c:\source\helix\datatype_dist\rm\video\codec\rvg2dec\thumb-rel32\rv20lib.lib ..\..\..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\..\..\common\runtime\thumb-rel32\runtlib.lib ..\..\..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\..\..\common\container\thumb-rel32\contlib.lib ..\..\..\..\..\common\util\thumb-rel32\utillib.lib ..\..\..\..\..\datatype\common\util\thumb-rel32\dtutillib.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\rv20 thumb-rel32\rv20.dll

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

all_objects: $(OBJS)

thumb-rel32\rv20.dll: $(OBJS) $(STATIC_LIBS)
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	python C:\source\build\bin\armerge -d thumb-rel32\obj\rv20\lib thumb-rel32\rv20_libs.lib $(STATIC_LIBS)
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def rv20.def --output-exp thumb-rel32\rv20.exp --dllname thumb-rel32\rv20.dll
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll rv20.lnk thumb-rel32\rv20.exp --dll --base-file thumb-rel32\rv20.bas -o thumb-rel32\rv20.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\rv20_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\rv20.exp
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def rv20.def --dllname thumb-rel32\rv20.dll --base-file thumb-rel32\rv20.bas --output-exp thumb-rel32\rv20.exp
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll rv20.lnk thumb-rel32\rv20.exp --dll -Map thumb-rel32\rv20.dll.map -o thumb-rel32\rv20.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\rv20_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\rv20.dll thumb-rel32\rv20.dll
	rm thumb-rel32\rv20.exp thumb-rel32\rv20.bas
	rm thumb-rel32\rv20_libs.lib

thumb-rel32\obj\rv20\frontend\rv20api.o: frontend\rv20api.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\rv20" mkdir "thumb-rel32\obj\rv20"
	-@if NOT exist "thumb-rel32\obj\rv20\frontend" mkdir "thumb-rel32\obj\rv20\frontend"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\rv20\frontend\rv20api.o -c frontend\rv20api.cpp

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

thumb-rel32\obj\rv20\rv20.uid.o: rv20.uid.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\rv20" mkdir "thumb-rel32\obj\rv20"
	$(CC) $(CXXFLAGS) -o thumb-rel32\obj\rv20\rv20.uid.o -c rv20.uid.cpp

clean: 
	$(RM) thumb-rel32\rv20.dll thumb-rel32\obj\rv20\frontend\rv20api.o thumb-rel32\obj\rv20\rv20_dll_stub.o
	$(RM) thumb-rel32\obj\rv20\rv20.uid.o

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

copy: ..\..\..\..\..\release\rv20.dll

depend: 
	python C:\source\build\bin\mkdepend /tthumb-rel32\obj\rv20 /mrv20.mak $(DEFINES) $(INCLUDES) $(SRCS)
# DO NOT DELETE -- mkdepend depends on this line
thumb-rel32\obj\rv20\frontend\rv20api.obj: "frontend\rv20api.cpp"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\include\hxtypes.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\include\hxbastsd.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\include\hxresult.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\dbgtool\pub\hxassert.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/assert.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\runtime\pub\platform/openwave/hx_op_debug.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\assert.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/limits.h"
thumb-rel32\obj\rv20\frontend\rv20api.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\limits.h"

⌨️ 快捷键说明

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