MPEG-4音频参考程序:# MPEG-4 Audio VM
# makefile (requires GNU make)
#
# $Id: makefile,v 1.60 1999/07/26 13:17:56 purnhage Exp $
#
# Authors:
# BG Bernhard Grill, Uni Erlangen
# HP Heiko Purnhagen, Uni Hannover
# BT Bodo Teichmann, FhG/IIS
# SE Sebastien Etienne, CCETT Rennes
#
# Changes:
# 11-jun-96 BG basic concept
# 13-jun-96 HP first version
# 14-jun-96 HP test stuff added
# 19-jun-96 HP indiline.a added
# 20-jun-96 HP modifications proposed by BG
# 28-jun-96 HP fixed COPTS bug
# 04-jul-96 HP restructured makefile, fixed CFLAGS/LIBS bug
# 04-jul-96 HP included "pre-linked object file directory" by BG
# 05-jul-96 HP fixed override CFLAGS/LIBS
# 20-aug-96 BG OS2 modifications
# 26-aug-96 HP removed PLOBJS, adapted to vm directory structure
# 26-aug-96 HP CVS
# 13-sep-96 HP removed -O option for Linux g++
# 25-oct-96 HP adapted makefile options / added makefile.cfg
# 01-nov-96 HP added "depend" target
# 03-dec-96 HP added comment re. include dependency files
# added library dependency rules
# 21-jan-97 HP added audio i/o module
# 31-jan-97 HP seperated encoder and -g directories
# 05-feb-97 HP added COMLIBS
# 12-feb-97 HP make CFLAGS and LDFLAGS values passed on and evaluated
# 14-feb-97 HP included PICOLA speed control (by Panasonic)
# 11-mar-97 HP included PICOLA source code
# 21-mar-97 BT fixed CC and IRIX things, platform autodetect
# 26-mar-97 CCETT included G729 -g source code
# 20-may-97 HP clean up
# 22-may-97 HP added DEBUGPLOT (substitutes PLOTMTV)
# 03-jun-97 HP disabled DEBUGPLOT as default
# 07-nov-97 HP merged with FhG mods
# 08-apr-98 HP added OSF platform
# 09-apr-98 HP/CF added rm before ar when making libs
# 13-oct-98 HP improved platform detection
# 02-dec-98 HP/nn merged version-dependent directory stuff by FhG
# 11-jan-99 HP linux_gcc
# 20-jan-99 HP cleaned up platform dependency stuff and CFLAGS defaults
# 21-jan-99 HP audio.c & austream.c
# 22-jan-99 HP USE_AFSP
# 23-apr-99 HP updated, some files renamed for IM1-compability
# 28-apr-99 HP using AFSP_INCLUDE_PATH / AFSP_LIBRARY_PATH ...
#----------------------------------------------------------------------
#----------------------------------------------------------------------
# Notes:
#
# This makefile provides automatic handling of different system
# platforms. Therefore it is required to set the environment
# variable SYSTEM_NAME according to the actual platform.
# Currently, these platforms are supported:
# IRIX
# Linux
# Solaris
# ... and most other UNIX platforms ...
#
# If CFLAGS or LDFLAGS are changed for a subsequent invocation of make,
# object files and binaries are NOT remade automatically with the new
# options! Use "make clean" first ...
#
# To make mp4auenc and mp4audec, type:
# make all
#
# To allow make running e.g. 4 jobs at once, type:
# make MFLAGS=-j4
#
# On most platforms, the default compiler is g++. To use the platform's
# native compiler (e.g. cc) instead, type:
# make MAKE_CC=native
# and to use gcc, type:
# make MAKE_CC=gnu
#
#----------------------------------------------------------------------
# BG: OS2 fix
ifeq "$(SYSTEM_NAME)" "OS2"
SHELL = /bin/sh
export SHELL
endif
# HP 981013
ifeq "$(SYSTEM_NAME)" ""
ifeq "$(OSTYPE)" ""
SYSTEM_NAME = $(shell uname -s)
else
ifeq "$(OSTYPE)" "linux"
SYSTEM_NAME = Linux
endif
ifeq "$(OSTYPE)" "linux-gnu"
SYSTEM_NAME = Linux
endif
ifeq "$(OSTYPE)" "solaris"
SYSTEM_NAME = Solaris
endif
ifeq "$(OSTYPE)" "iris4d"
SYSTEM_NAME = IRIX
endif
ifeq "$(OSTYPE)" "sunos4"
SYSTEM_NAME = SunOS
endif
ifeq "$(OSTYPE)" "osf1"
SYSTEM_NAME = OSF
endif
ifeq "$(OSTYPE)" "cygwin32"
SYSTEM_NAME = cdk
endif
endif
endif
ifeq "$(SYSTEM_NAME)" ""
include error:\ SYSTEM_NAME\ environment\ variable\ not\ defined\ !!!
include Options:\ SunOS\ IRIX\ Linux\ OS2\ Solaris\ OSF\ cdk\ !!!
endif
ifeq "$(MAKELEVEL)" "0"
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !