makefile

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

TXT
297
字号
__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=rm_recog.cpp recog_util.cpp mpa_frame_header.cpp hxsymrecog.uid.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\rm_recog.o thumb-rel32\obj\recog_util.o thumb-rel32\obj\mpa_frame_header.o thumb-rel32\obj\hxsymrecog.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\dbgtool\pub -I ..\..\common\include -I ..\..\common\container\pub -I ..\..\clientapps\symbianplayer\platform\symbian\file\pub -I .\pub

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

STATIC_LIBS=..\..\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\container\thumb-rel32\contlib.lib ..\..\common\runtime\thumb-rel32\runtlib.lib

DYNAMIC_LIBS="C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\estlib.lib" "C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\EUSER.LIB" "C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\APMIME.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\hxsymrecog.mdl

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

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

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

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

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

clean: 
	$(RM) thumb-rel32\hxsymrecog.mdl thumb-rel32\obj\rm_recog.o thumb-rel32\obj\recog_util.o thumb-rel32\obj\mpa_frame_header.o
	$(RM) thumb-rel32\obj\hxsymrecog.uid.o

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

copy: ..\..\release\hxsymrecog.mdl

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\rm_recog.obj: "rm_recog.cpp"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32svr.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32keys.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32base.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32base.inl"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32hal.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32pccd.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\apmrec.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\apmstd.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\apmrec.inl"
thumb-rel32\obj\rm_recog.obj: "..\..\common\dbgtool\pub\hxassert.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib/assert.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_debug.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib\assert.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\include\hxtypes.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\include\hxbastsd.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib/limits.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib\limits.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\include\hxresult.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib/stdio.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_stdc.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_fs.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib/sys/types.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/types.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\stddef.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\machine/types.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib/time.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/time.h"
thumb-rel32\obj\rm_recog.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\_ansi.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib\time.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\platform/openwave/hx_op_timeutil.h"
thumb-rel32\obj\rm_recog.obj: "..\..\common\runtime\pub\hlxclib\windows.h"

⌨️ 快捷键说明

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