makefile

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

TXT
650
字号
__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\symbimgdec.cpp comimgrend.cpp nativeimgdec.cpp comimgrenddll.cpp comimgrend_dll_stub.c comimgrend.uid.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\platform\symbian\symbimgdec.o thumb-rel32\obj\comimgrend.o thumb-rel32\obj\nativeimgdec.o thumb-rel32\obj\comimgrenddll.o thumb-rel32\obj\comimgrend_dll_stub.o thumb-rel32\obj\comimgrend.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 ..\..\..\..\client\include -I ..\..\..\..\datatype\image\unified\include -I .\pub -I ..\..\..\..\common\dbgtool\pub -I ..\..\..\..\common\util\pub -I ..\..\..\..\common\container\pub -I ..\..\..\..\datatype\image\wbmp\common\pub

DEFINES=-I . -include thumb-rel32\datatype_image_unified_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\util\thumb-rel32\utillib.lib ..\..\..\..\common\container\thumb-rel32\contlib.lib ..\..\..\..\common\dbgtool\thumb-rel32\debuglib.lib ..\..\..\..\common\system\thumb-rel32\syslib.lib ..\..\..\..\datatype\image\wbmp\common\thumb-rel32\wbmpcomlib.lib

DYNAMIC_LIBS="C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\estlib.lib" "C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\MEDIACLIENTIMAGE.LIB" "C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\FBSCLI.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\comimgrend.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\comimgrend.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\comimgrend_libs.lib $(STATIC_LIBS)
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def comimgrend.def --output-exp thumb-rel32\comimgrend.exp --dllname thumb-rel32\comimgrend.dll
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll comimgrend.lnk thumb-rel32\comimgrend.exp --dll --base-file thumb-rel32\comimgrend.bas -o thumb-rel32\comimgrend.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\comimgrend_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\comimgrend.exp
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/dlltool" -m thumb --def comimgrend.def --dllname thumb-rel32\comimgrend.dll --base-file thumb-rel32\comimgrend.bas --output-exp thumb-rel32\comimgrend.exp
	python C:\source\build\bin\rlink.py ld -s --thumb-entry _E32Dll -u _E32Dll comimgrend.lnk thumb-rel32\comimgrend.exp --dll -Map thumb-rel32\comimgrend.dll.map -o thumb-rel32\comimgrend.dll C:\Symbian\6.1\SERIES60\EPOC32\Release\THUMB\UREL\edll.lib $(OBJS) thumb-rel32\comimgrend_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\comimgrend.dll thumb-rel32\comimgrend.dll
	rm thumb-rel32\comimgrend.exp thumb-rel32\comimgrend.bas
	rm thumb-rel32\comimgrend_libs.lib

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

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

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

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

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

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

clean: 
	$(RM) thumb-rel32\comimgrend.dll thumb-rel32\obj\platform\symbian\symbimgdec.o thumb-rel32\obj\comimgrend.o
	$(RM) thumb-rel32\obj\nativeimgdec.o thumb-rel32\obj\comimgrenddll.o thumb-rel32\obj\comimgrend_dll_stub.o
	$(RM) thumb-rel32\obj\comimgrend.uid.o

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

copy: ..\..\..\..\release\comimgrend.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\platform\symbian\symbimgdec.obj: "platform\symbian\symbimgdec.cpp"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "..\..\..\..\common\include\hxtypes.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32def.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des8.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32des16.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32std.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "..\..\..\..\common\include\platform/symbian/symbiantypes.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\libc\sys/param.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "..\..\..\..\common\include\hxbastsd.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "..\..\..\..\common\include\hxwintyp.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\coemain.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32base.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32base.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\w32std.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\fntstore.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\f32file.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32svr.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32keys.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32hal.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\e32pccd.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\f32file.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\gdi.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\s32std.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\s32strm.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\s32strm.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\s32std.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\gdi.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\openfont.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\bitdev.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\fbs.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\bitmap.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\bitbase.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\bitstd.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\bitdev.inl"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\barsc.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\badesca.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\bamdesca.h"
thumb-rel32\obj\platform\symbian\symbimgdec.obj: "C:\Symbian\6.1\SERIES60\EPOC32\include\basched.h"

⌨️ 快捷键说明

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