makefile

来自「symbian 下的helix player源代码」· 代码 · 共 1,001 行 · 第 1/5 页

TXT
1,001
字号
__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\symbian_pref.cpp hxstrutl.cpp hxdefpackethookhlp.cpp dbcs.cpp hxrand.cpp netbyte.cpp pacutil.cpp portaddr.cpp activewrap.cpp activopt.cpp asmrulep.cpp baseobj.cpp cachobj.cpp commreg.cpp cookhlpr.cpp cookies.cpp cpacemkr.cpp chxuuid.cpp db_dict.cpp key.cpp md5.c md5hl.c mimechk.cpp miscsp.cpp mmx_util.c cpuident.c nptime.cpp ntptime.cpp pathutil.cpp perplex.cpp pckunpck.cpp hxmangle.cpp hxurl.cpp hxwinver.cpp pref.cpp property.cpp random32.c readpath.cpp rlstate.cpp hxathsp.cpp hxcomsp.cpp hxcorsp.cpp hxdbsp.cpp hxengsp.cpp hxfilsp.cpp hxmonsp.cpp hxpktsp.cpp hxplgsp.cpp hxplnsp.cpp hxinfcod.cpp smpte.cpp timerep.cpp tparse.c verutil.cpp vsrcinfo.cpp watchlst.cpp localrep.c rtsputil.cpp crdcache.cpp char_stack.cpp hxparse.cpp buffutil.cpp addupcol.cpp chxkeepalive.cpp chxminiccf.cpp chxcharstack.cpp packedvalues.cpp hxprefutil.cpp stream_desc_hlpr.cpp hxcbobj.cpp clone_values.cpp tconverter\fxpoint\tconverter_fxp.cpp

OBJS=$(COMPILED_OBJS) $(SOURCE_OBJS)

COMPILED_OBJS=thumb-rel32\obj\platform\symbian\symbian_pref.o thumb-rel32\obj\hxstrutl.o thumb-rel32\obj\hxdefpackethookhlp.o thumb-rel32\obj\dbcs.o thumb-rel32\obj\hxrand.o thumb-rel32\obj\netbyte.o thumb-rel32\obj\pacutil.o thumb-rel32\obj\portaddr.o thumb-rel32\obj\activewrap.o thumb-rel32\obj\activopt.o thumb-rel32\obj\asmrulep.o thumb-rel32\obj\baseobj.o thumb-rel32\obj\cachobj.o thumb-rel32\obj\commreg.o thumb-rel32\obj\cookhlpr.o thumb-rel32\obj\cookies.o thumb-rel32\obj\cpacemkr.o thumb-rel32\obj\chxuuid.o thumb-rel32\obj\db_dict.o thumb-rel32\obj\key.o thumb-rel32\obj\md5.o thumb-rel32\obj\md5hl.o thumb-rel32\obj\mimechk.o thumb-rel32\obj\miscsp.o thumb-rel32\obj\mmx_util.o thumb-rel32\obj\cpuident.o thumb-rel32\obj\nptime.o thumb-rel32\obj\ntptime.o thumb-rel32\obj\pathutil.o thumb-rel32\obj\perplex.o thumb-rel32\obj\pckunpck.o thumb-rel32\obj\hxmangle.o thumb-rel32\obj\hxurl.o thumb-rel32\obj\hxwinver.o thumb-rel32\obj\pref.o thumb-rel32\obj\property.o thumb-rel32\obj\random32.o thumb-rel32\obj\readpath.o thumb-rel32\obj\rlstate.o thumb-rel32\obj\hxathsp.o thumb-rel32\obj\hxcomsp.o thumb-rel32\obj\hxcorsp.o thumb-rel32\obj\hxdbsp.o thumb-rel32\obj\hxengsp.o thumb-rel32\obj\hxfilsp.o thumb-rel32\obj\hxmonsp.o thumb-rel32\obj\hxpktsp.o thumb-rel32\obj\hxplgsp.o thumb-rel32\obj\hxplnsp.o thumb-rel32\obj\hxinfcod.o thumb-rel32\obj\smpte.o thumb-rel32\obj\timerep.o thumb-rel32\obj\tparse.o thumb-rel32\obj\verutil.o thumb-rel32\obj\vsrcinfo.o thumb-rel32\obj\watchlst.o thumb-rel32\obj\localrep.o thumb-rel32\obj\rtsputil.o thumb-rel32\obj\crdcache.o thumb-rel32\obj\char_stack.o thumb-rel32\obj\hxparse.o thumb-rel32\obj\buffutil.o thumb-rel32\obj\addupcol.o thumb-rel32\obj\chxkeepalive.o thumb-rel32\obj\chxminiccf.o thumb-rel32\obj\chxcharstack.o thumb-rel32\obj\packedvalues.o thumb-rel32\obj\hxprefutil.o thumb-rel32\obj\stream_desc_hlpr.o thumb-rel32\obj\hxcbobj.o thumb-rel32\obj\clone_values.o thumb-rel32\obj\tconverter\fxpoint\tconverter_fxp.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 pub\platform\symbian -I ..\include -I ..\container\pub -I ..\dbgtool\pub -I ..\system\pub -I ..\fileio\pub -I ..\runtime\pub -I .\pub -I ..\..\common\dbgtool\pub

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

STATIC_LIBS=..\..\common\system\thumb-rel32\syslib.lib ..\..\common\dbgtool\thumb-rel32\debuglib.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\utillib.lib

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\utillib.lib: $(OBJS)
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-rm thumb-rel32\utillib.lib
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/ar" rv thumb-rel32\utillib.lib $(OBJS)
	"C:\Symbian\6.1\Shared/EPOC32/gcc/bin/ranlib" thumb-rel32\utillib.lib

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

thumb-rel32\obj\cpuident.o: cpuident.c
	-@if NOT exist "thumb-rel32" mkdir "thumb-rel32"
	-@if NOT exist "thumb-rel32\obj" mkdir "thumb-rel32\obj"

⌨️ 快捷键说明

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