⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 au1200 linux2.6.11 硬件解码mae驱动和maiplayer播放器源码
💻
字号:
# <LIC_AMD_STD># Copyright (c) 2005 Advanced Micro Devices, Inc.# # This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.# # This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# # You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA# # The full GNU General Public License is included in this distribution in the# file called COPYING# </LIC_AMD_STD> # <CTL_AMD_STD># </CTL_AMD_STD> # <DOC_AMD_STD># </DOC_AMD_STD> REL_PATH     = ../../../../maeMAE_PATH     = $(REL_PATH)/mae-cmodel/mae/envENV_PATH     = $(REL_PATH)/mae-cmodel/envPASS_PATH    = ../../MAEMAEWRAP_PATH = $(REL_PATH)/mae-wrapperDRV_PATH     = $(REL_PATH)/mae-driver-2UTIL_PATH     = $(REL_PATH)/../lib/utilityUTIL1_PATH     = $(REL_PATH)/../lib/utility/incUTIL2_PATH     = $(REL_PATH)/../lib/utility/srcMAIINC_PATH  = $(REL_PATH)/../mai/incLIBMPEG2_PATH= ../FIRST_SRCS =	$(LIBMPEG2_PATH)mpeg2dec.c \	$(LIBMPEG2_PATH)decode.c \	$(LIBMPEG2_PATH)header.c \	$(LIBMPEG2_PATH)motion_functions.c \	$(LIBMPEG2_PATH)slice.c \	$(LIBMPEG2_PATH)sliceMAE.c \ASM_SRCS = $(LIBMPEG2_PATH)slice_asm.SLAST_SRCS = \	$(LIBMPEG2_PATH)alloc.c \ 	$(MAEWRAP_PATH)/mae_interface.c \        $(MAEWRAP_PATH)/driverif.c \	$(UTIL2_PATH)/util_vrend.c \TARGETFILE2=lib$(COMPNAME).a#-DNO_PERF\CFLAGS=          \-DOS_Linux       \-DREF_MPEG2      \-DHAVE_CONFIG_H  \-DDRV_ENABLED \-DMAE_HW \-DNEW_MAE_DRIVER \$(INCLUDES)INCLUDES =			\-I.				\-I..				\-I../../include	\-I$(MAE_PATH)              	\-I$(ENV_PATH)              	\-I$(PASS_PATH)			\-I$(MAEWRAP_PATH)		\-I$(DRV_PATH)  \-I$(UTIL_PATH) \-I$(UTIL1_PATH) \-I$(MAIINC_PATH) \-I$(LIBMPEG2_PATH)OBJS=$(subst .c,.o,$(FIRST_SRCS))  \     $(subst .S,.o,$(ASM_SRCS))    \     $(subst .c,.o,$(LAST_SRCS))   \PG_OBJS=$(subst .o,.po,$(OBJS))CC =gcc -mips32 -mmad -O3 #-mips32r2 -Wa,-mips32r2 -mmad -O3CXX=g++ -mips32 -mmad -O3 #-mips32r2 -Wa,-mips32r2 -mmad -O3DEL=rmLIBS = all: normalprofiled:	$(PG_OBJS)AR=ar	$(CC) --profile --static -o  mpeg2dec_pg $(CFLAGS) -pg $(PG_OBJS) $(LIBS) -lc_p -lm_pnormal: $(OBJS)	$(CC) -o  mpeg2dec    $(CFLAGS)     $(OBJS)    $(LIBS)%.o : %.c	$(CC) $(CFLAGS) -o $@ -c $<%.o : %.S	$(CC) $(CFLAGS) -o $@ -c $<%.o : %.cpp	$(CXX) $(CFLAGS) -o $@ -c $<%.po : %.c	$(CC) $(CFLAGS) -pg -o $*.po -c $<%.po : %.S	$(CC) $(CFLAGS) -pg -o $*.po -c $<%.po : %.cpp	$(CXX) $(CFLAGS) -pg -o $*.po -c $<clean:	rm -f $(OBJS) $(PG_OBJS)	rm -f *.o$(TARGETPATH2): $(TARGETINTDIR1) $(OBJ)	mkdir -p "$(TARGETDIR2)"	$(AR) rcs "$(TARGETPATH2)" $(OBJ)

⌨️ 快捷键说明

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