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

📄 makefile_static

📁 au1200 linux2.6.11 硬件解码mae驱动和maiplayer播放器源码
💻
字号:
# Filename: Makefile# Targets:#    libmaiengine.a -  MAI Engine library## Inputs (optional):#    BUILD_MODE: release, debug, profile#    BUILDSDIR:  top level output directory (binaries)#    GCFLAGS: global compile flags (passed to all makefiles)## Copyright 2004 ADVANCED MICRO DEVICES, INC. All Rights Reserved.#COMPNAME=maiengineTOPDIR=../../../../../../..MAIDIR=$(TOPDIR)/main/maiAPPINCDIR=$(TOPDIR)/main/app/maiplayer/incifeq ("$(BUILDSDIR)", "")# Default, MAI Components all go to same top level builds directoryBUILDSDIR=.endif# ARCHNAME can be used for CPU specific build options (i.e. mips, i686, etc.)ARCHNAME=$(strip $(shell uname -m))# TARGETSTARGETFILE1=lib$(COMPNAME).a# If no configuration is specified, "Debug" will be usedifeq ("$(BUILD_MODE)", "")BUILD_MODE = debugendif# Handle "CFG" which is the variable passed by SlickEditifeq ("$(CFG)","Release")BUILD_MODE = releaseendififeq ("$(CFG)","Debug")BUILD_MODE = debugendif                                                                                # Setup build directories and target file namesBUILDSSUBDIR=$(BUILDSDIR)/$(ARCHNAME)ifeq ("$(BUILD_MODE)","debug")BUILDSSUBDIR=$(BUILDSDIR)/$(ARCHNAME)dbgendififeq ("$(BUILD_MODE)","release")BUILDSSUBDIR=$(BUILDSDIR)/$(ARCHNAME)relendififeq ("$(BUILD_MODE)","profile")BUILDSSUBDIR=$(BUILDSDIR)/$(ARCHNAME)profendif# TARGETINTDIR is the intermediate path (for object files) TARGETINTDIR1=$(BUILDSSUBDIR)/$(COMPNAME)# TARGETDIR1 is the final path for target executablesTARGETDIR1=$(BUILDSSUBDIR)/$(COMPNAME)# TARGETPATH is full target filename with pathTARGETPATH1=$(TARGETDIR1)/$(TARGETFILE1)                                                                                # Make command to use for dependenciesMAKE=makeCC=gcc# Common compile/link attributesCFLAGS=$(GCFLAGS)DEFINES = -DLINUX=1 -DOS_Linux -D_XOPEN_SOURCE=500ifeq ("$(BUILD_MODE)","debug")CFLAGS+=-gendififeq ("$(BUILD_MODE)","profile")CFLAGS+=-pgendififeq ($(ARCHNAME),mips)DEFINES+=-DMIPSendifCINC=-I../ -I../../ \	-I$(MAIDIR)/inc -I$(TOPDIR)/main/include/mai \	-I$(APPINCDIR)OBJS = $(TARGETINTDIR1)/maiengine.o \	$(TARGETINTDIR1)/mai_prescan.o \	$(TARGETINTDIR1)/avi_reader.o \	$(TARGETINTDIR1)/mai_connect.o \	$(TARGETINTDIR1)/mai_osal.oCOMPILE=$(CC) -c $(CFLAGS) $(DEFINES) -o "$(TARGETINTDIR1)/$(*F).o" $(CINC) "$<"# Build rulesall: $(TARGETPATH1)$(TARGETPATH1): $(TARGETINTDIR1) $(OBJS) makefile	mkdir -p "$(TARGETDIR1)" 	ar r "$(TARGETPATH1)" $(OBJS)$(TARGETINTDIR1):	mkdir -p "$(TARGETINTDIR1)"$(TARGETINTDIR1)/%.o:	../../%.c	$(COMPILE)$(TARGETINTDIR1)/%.o:	$(MAIDIR)/%.c	$(COMPILE)# Rebuild this projectrebuild: cleanall all# Clean this projectclean:	@rm -f $(TARGETPATH1)	@rm -f $(OBJS)# Clean this project and all dependenciescleanall: clean

⌨️ 快捷键说明

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