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

📄 makefile

📁 au1200 linux2.6.11 硬件解码mae驱动和maiplayer播放器源码
💻
字号:
#!/usr/bin/make# <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>## Makefile for AMD Media Acceleration Engine (MAE) Front End driver## Builds MAE-FE driver as a module by wrapping the standard Linux Makefile# as appropriate. Make targets that should be done in context of the# standard kernel makefile are reinvoked using the kernel makefile.## This Makefile detects "local" vs. "kernel" targets based on TOPDIR which# is set if and only if kernel makes.# </DOC_AMD_STD> MAE_FE_MOD=mae-driver.oMAE_FE_OBJ=au1xxx_mae.o au1xxx_mae_dump.o  MAE_FE_DEL_OBJ=../au1xxx_mae.o ../au1xxx_mae_dump.oifndef TOPDIR## these are the wrapper and local targets## default kernel directory is specified: KERNELSRC=../../../../../Travis/linux24/linux24-cvs# KERNELVER=-2.4.26# KERNELSUFFIX=# KERNELDIR=$(KERNELSRC)$(KERNELVER)$(KERNELSUFFIX) KERNELDIR=$(KERNELSRC).PHONY : allall : modulesmodules :  	@cp Makefile ../	make -C $(KERNELDIR) SUBDIRS=$(PWD)/../ $@	dep :	@cp Makefile ../  	make -C $(KERNELDIR) SUBDIRS=$(PWD)/../ $@clean : 	-rm -f $(MAE_FE_DEL_OBJ) ../$(MAE_FE_MOD) 	-rm -f $(patsubst %,.%.flags,$(MAE_FE_OBJ))else## these are the setting for the "kernel" targets# obj-m += $(MAE_FE_MOD)sinclude $(TOPDIR)/Rules.make$(MAE_FE_MOD) :  $(MAE_FE_OBJ)	$(LD) -r $(filter %.o, $^) -o $@ endif

⌨️ 快捷键说明

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