makefile

来自「symbian 下的helix player源代码」· 代码 · 共 204 行

TXT
204
字号
__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=rasipr.cpp sipr_dll_stub.c sipr.uid.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\rasipr.o thumb-rel32\obj\sipr_dll_stub.o thumb-rel32\obj\sipr.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\include -I ..\..\..\..\..\datatype\rm\include -I ..\..\..\..\..\datatype\rm\audio\common\pub -I ..\..\..\..\..\datatype\rm\audio\codec\sipro\pub -I .\pub -I ..\..\..\..\..\common\dbgtool\pub -I ..\..\..\..\..\common\util\pub -I ..\..\..\..\..\common\container\pub

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

STATIC_LIBS=c:\source\helix\datatype_dist\rm\audio\codec\sipro\fixpt\thumb-rel32\sipro.lib ..\..\..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\..\..\common\runtime\thumb-rel32\runtlib.lib ..\..\..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\..\..\common\util\thumb-rel32\utillib.lib ..\..\..\..\..\common\container\thumb-rel32\contlib.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\sipr.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\sipr.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\sipr_libs.lib $(STATIC_LIBS)
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def sipr.def --output-exp thumb-rel32\sipr.exp --dllname thumb-rel32\sipr.dll
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll sipr.lnk thumb-rel32\sipr.exp --dll --base-file thumb-rel32\sipr.bas -o thumb-rel32\sipr.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\sipr_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\sipr.exp
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def sipr.def --dllname thumb-rel32\sipr.dll --base-file thumb-rel32\sipr.bas --output-exp thumb-rel32\sipr.exp
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll sipr.lnk thumb-rel32\sipr.exp --dll -Map thumb-rel32\sipr.dll.map -o thumb-rel32\sipr.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\sipr_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\sipr.dll thumb-rel32\sipr.dll
	rm thumb-rel32\sipr.exp thumb-rel32\sipr.bas
	rm thumb-rel32\sipr_libs.lib

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

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

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

clean: 
	$(RM) thumb-rel32\sipr.dll thumb-rel32\obj\rasipr.o thumb-rel32\obj\sipr_dll_stub.o thumb-rel32\obj\sipr.uid.o

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

copy: ..\..\..\..\..\release\sipr.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\rasipr.obj: "rasipr.cpp"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxcom.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxtypes.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxbastsd.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxresult.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxiids.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxpiids.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/string.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\platform/openwave/hx_op_stdc.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\string.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\stdlib.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\ctype.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/stdlib.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/memory.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\memory.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\atomicbase.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\system\pub\microsleep.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/time.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\_ansi.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\time.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\machine/types.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stddef.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\unistd.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/unistd.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/types.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxmutexlock.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stdio.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stdarg_e.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/stdio_t.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\common\include\hxengin.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\errno.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/errno.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\datatype\rm\include\racodec.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\datatype\include\hxacodec.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\datatype\rm\audio\codec\sipro\pub\wrapsipr2.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\datatype\rm\audio\codec\sipro\pub\sipr_api.h"
thumb-rel32\obj\rasipr.obj: "..\..\..\..\..\datatype\rm\audio\codec\sipro\pub\property.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stdlib.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/reent.h"
thumb-rel32\obj\rasipr.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys\time.h"
thumb-rel32\obj\rasipr.obj: "thumb-rel32\datatype_rm_audio_codec_sipro_ribodefs.h"
thumb-rel32\obj\sipr_dll_stub.obj: "sipr_dll_stub.c"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\string.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\_ansi.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stddef.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\system\pub\hxglobalmgr.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxtypes.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxbastsd.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxcom.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxresult.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxiids.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxpiids.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/string.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\platform/openwave/hx_op_stdc.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\string.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\stdlib.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\ctype.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/stdlib.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib/memory.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\runtime\pub\hlxclib\memory.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\atomicbase.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\system\pub\microsleep.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/time.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\time.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\machine/types.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\unistd.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/unistd.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/types.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxmutexlock.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stdio.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stdarg_e.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/stdio_t.h"
thumb-rel32\obj\sipr_dll_stub.obj: "..\..\..\..\..\common\include\hxengin.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\errno.h"
thumb-rel32\obj\sipr_dll_stub.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/errno.h"
thumb-rel32\obj\sipr_dll_stub.obj: "thumb-rel32\datatype_rm_audio_codec_sipro_ribodefs.h"
thumb-rel32\obj\sipr.uid.obj: "sipr.uid.cpp"
thumb-rel32\obj\sipr.uid.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\E32STD.H"
thumb-rel32\obj\sipr.uid.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\sipr.uid.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\sipr.uid.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\sipr.uid.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\sipr.uid.obj: "thumb-rel32\datatype_rm_audio_codec_sipro_ribodefs.h"

⌨️ 快捷键说明

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