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

📄 makefile

📁 radius协议源码÷The Radius Stack will connect to a Radius Server. This stack implementation is built upo
💻
字号:
## Makefile## Make file for Open H323 library## Copyright (c) 1998-2000 Equivalence Pty. Ltd.## The contents of this file are subject to the Mozilla Public License# Version 1.0 (the "License"); you may not use this file except in# compliance with the License. You may obtain a copy of the License at# http://www.mozilla.org/MPL/## Software distributed under the License is distributed on an "AS IS"# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See# the License for the specific language governing rights and limitations# under the License.## The Original Code is Open H323 Library.## The Initial Developer of the Original Code is Equivalence Pty. Ltd.## Contributor(s): ______________________________________.## $Log: Makefile,v $# Revision 1.23  2000/07/14 12:38:56  craigs# Prototype code to remove H.235## Revision 1.22  2000/06/06 06:01:48  craigs# Added Linux version of VPB API## Revision 1.21  2000/06/05 09:31:16  robertj# Removed copy and paste error adding gsm_decode.c twice.## Revision 1.20  2000/06/05 07:06:42  robertj# Added LPC-10 codec.## Revision 1.19  2000/05/15 13:50:09  robertj# Added dummy code for Quicknet xJack interface on platforms that do not yet have drivers.## Revision 1.18  2000/05/11 02:27:18  robertj# Removed "sample" directory and added "samples/simple" for demo app.## Revision 1.17  2000/05/02 04:32:25  robertj# Fixed copyright notice comment.## Revision 1.16  2000/04/26 03:01:59  robertj# Changed lib filename generation to use the version file for sample app.## Revision 1.15  2000/04/26 01:07:23  robertj# Removed tarfile creation target, this is done differently now.## Revision 1.14  2000/04/18 01:07:04  craigs# Fixed problem with compiling on machines without telephony files## Revision 1.13  2000/04/06 17:50:28  craigs# Removed ixjuser.h## Revision 1.12  2000/04/05 16:27:38  craigs# Fixed problem with Linux makefile## Revision 1.11  2000/04/03 23:54:56  robertj# Added missing H.235 dependency.## Revision 1.10  2000/03/24 03:17:45  robertj# Directory restructuring.## Revision 1.9  2000/03/14 11:20:49  rogerh# Compile the ixj code on FreeBSD. This is needed for openphone support.## Revision 1.8  2000/03/03 12:20:40  robertj# Fixed non fatal error in make rules and allowed for missing sample apps.## Revision 1.7  2000/02/29 19:55:57  craigs# Fixed problem with make include files in wrong order## Revision 1.6  2000/02/24 11:53:31  craigs# Fixed problem with .o files not going into correct directory## Revision 1.5  2000/02/17 07:02:43  craigs# Moved declaration of HAS_IXJ, HAS_VPB and LINUX_TELEPHONY into common Makefile## Revision 1.4  2000/02/04 09:36:58  craigs# Removed platform dependent grabber stuff## Revision 1.3  2000/02/04 05:11:19  craigs# Updated for new Makefiles and for new video transmission code## Revision 1.2  2000/02/03 23:33:52  robertj# Added missing "opt" in ASN parser compile line, thanks Brad Midgley## Revision 1.1  2000/02/02 04:02:06  craigs# Local makefile for library##ifndef PWLIBDIRPWLIBDIR=$(HOME)/pwlibendifinclude $(PWLIBDIR)/make/unix.makifndef OPENH323DIROPENH323DIR=$(HOME)/openh323endifOD323_LIBRARY_MAKEFILE=1include $(OPENH323DIR)/openh323u.makOBJDIR	=	$(OH323_OBJDIR)LIBDIR	=	$(OH323_LIBDIR)TARGET	=	$(LIBDIR)/$(OH323_FILE)VERSION_FILE = ../samples/simple/version.h########################################ifdef OH323_SUPPRESS_H235ASN_EXCLUDE	+= h235_exclude.txtendifSUBDIRS := test dump323 openam pstngw#ifneq (,$(wildcard $(PWLIBDIR)/src/pwlib))#SUBDIRS += openphone#endifASN_FILES	:= $(OH323_SRCDIR)/h225.asn \               $(OH323_SRCDIR)/h245.asn \               $(OH323_SRCDIR)/mcspdu.asn \               $(OH323_SRCDIR)/gccpdu.asn \               $(OH323_SRCDIR)/ldap.asnifndef OH323_SUPPRESS_H235ASN_FILES	+= $(OH323_SRCDIR)/h235.asn endifHEADER_FILES	:= $(OH323_INCDIR)/h323.hCOMMON_SOURCES	:= $(OH323_SRCDIR)/h323.cxx $(OH323_SRCDIR)/h323ep.cxxHEADER_FILES	+= $(OH323_INCDIR)/h323neg.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/h323neg.cxxHEADER_FILES	+= $(OH323_INCDIR)/h323pdu.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/h323pdu.cxxHEADER_FILES	+= $(OH323_INCDIR)/h323rtp.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/h323rtp.cxxHEADER_FILES	+= $(OH323_INCDIR)/h323caps.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/h323caps.cxxHEADER_FILES	+= $(OH323_INCDIR)/q931.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/q931.cxxHEADER_FILES	+= $(OH323_INCDIR)/x224.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/x224.cxxHEADER_FILES	+= $(OH323_INCDIR)/codecs.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/codecs.cxxHEADER_FILES	+= $(OH323_INCDIR)/gsmcodec.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/gsmcodec.cxxHEADER_FILES	+= $(OH323_INCDIR)/lpc10codec.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/lpc10codec.cxxHEADER_FILES	+= $(OH323_INCDIR)/h261codec.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/h261codec.cxxHEADER_FILES	+= $(OH323_INCDIR)/channels.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/channels.cxxHEADER_FILES	+= $(OH323_INCDIR)/transports.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/transports.cxxHEADER_FILES	+= $(OH323_INCDIR)/jitter.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/jitter.cxxHEADER_FILES	+= $(OH323_INCDIR)/rtp.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/rtp.cxxHEADER_FILES	+= $(OH323_INCDIR)/gkclient.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/gkclient.cxxHEADER_FILES	+= $(OH323_INCDIR)/videoio.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/videoio.cxxHEADER_FILES	+= $(OH323_INCDIR)/lid.hCOMMON_SOURCES	+= $(OH323_SRCDIR)/lid.cxxHEADER_FILES    += $(OH323_INCDIR)/ixjlid.hifdef HAS_IXJCOMMON_SOURCES  += $(OH323_SRCDIR)/ixjunix.cxxelseCOMMON_SOURCES  += $(OH323_SRCDIR)/ixjdummy.cxxendififdef HAS_VPBCOMMON_SOURCES  += $(OH323_SRCDIR)/vpblid.cxxendifCOMMON_SOURCES	+= $(OH323_SRCDIR)/g711.cGSM_DIR 	= gsmGSM_SRCDIR	= $(GSM_DIR)/srcGSM_INCDIR	= $(GSM_DIR)/incHEADER_FILES	+= $(GSM_INCDIR)/gsm.h \                   $(GSM_INCDIR)/config.h \                   $(GSM_INCDIR)/private.h \                   $(GSM_INCDIR)/proto.h \                   $(GSM_INCDIR)/unproto.h \                   $(GSM_DIR)/README \                   $(GSM_DIR)/COPYRIGHT \                   $(GSM_DIR)/PART_OF_TOASTCOMMON_SOURCES	+= $(GSM_SRCDIR)/gsm_create.c \                   $(GSM_SRCDIR)/gsm_destroy.c \				   $(GSM_SRCDIR)/gsm_decode.c \                   $(GSM_SRCDIR)/gsm_encode.c \				   $(GSM_SRCDIR)/code.c \                   $(GSM_SRCDIR)/decode.c \                   $(GSM_SRCDIR)/add.c \				   $(GSM_SRCDIR)/lpc.c \                   $(GSM_SRCDIR)/rpe.c \                   $(GSM_SRCDIR)/preprocess.c \				   $(GSM_SRCDIR)/long_term.c \                   $(GSM_SRCDIR)/short_term.c \                   $(GSM_SRCDIR)/table.cLPC10_DIR 	= lpc10LPC10_INCDIR	= $(LPC10_DIR)LPC10_SRCDIR	= $(LPC10_DIR)/srcHEADER_FILES	+= $(LPC10_INCDIR)/lpc10.hCOMMON_SOURCES	+= $(LPC10_SRCDIR)/f2clib.c \		   $(LPC10_SRCDIR)/analys.c \		   $(LPC10_SRCDIR)/bsynz.c \		   $(LPC10_SRCDIR)/chanwr.c \		   $(LPC10_SRCDIR)/dcbias.c \		   $(LPC10_SRCDIR)/decode_.c \		   $(LPC10_SRCDIR)/deemp.c \		   $(LPC10_SRCDIR)/difmag.c \		   $(LPC10_SRCDIR)/dyptrk.c \		   $(LPC10_SRCDIR)/encode_.c \		   $(LPC10_SRCDIR)/energy.c \		   $(LPC10_SRCDIR)/ham84.c \		   $(LPC10_SRCDIR)/hp100.c \		   $(LPC10_SRCDIR)/invert.c \		   $(LPC10_SRCDIR)/irc2pc.c \		   $(LPC10_SRCDIR)/ivfilt.c \		   $(LPC10_SRCDIR)/lpcdec.c \		   $(LPC10_SRCDIR)/lpcenc.c \		   $(LPC10_SRCDIR)/lpcini.c \		   $(LPC10_SRCDIR)/lpfilt.c \		   $(LPC10_SRCDIR)/median.c \		   $(LPC10_SRCDIR)/mload.c \		   $(LPC10_SRCDIR)/onset.c \		   $(LPC10_SRCDIR)/pitsyn.c \		   $(LPC10_SRCDIR)/placea.c \		   $(LPC10_SRCDIR)/placev.c \		   $(LPC10_SRCDIR)/preemp.c \		   $(LPC10_SRCDIR)/prepro.c \		   $(LPC10_SRCDIR)/random.c \		   $(LPC10_SRCDIR)/rcchk.c \		   $(LPC10_SRCDIR)/synths.c \		   $(LPC10_SRCDIR)/tbdm.c \		   $(LPC10_SRCDIR)/voicin.c \		   $(LPC10_SRCDIR)/vparms.c \VIC_DIR = vicHEADER_FILES	+= $(VIC_DIR)/p64.h \		   $(VIC_DIR)/dct.h \		   $(VIC_DIR)/p64-huff.h \		   $(VIC_DIR)/config.h \		   $(VIC_DIR)/bsd-endian.h \		   $(VIC_DIR)/crdef.h \                   $(VIC_DIR)/encoder.h \                   $(VIC_DIR)/encoder-h261.h \                   $(VIC_DIR)/grabber.h \                   $(VIC_DIR)/p64encoder.h \                   $(VIC_DIR)/transmitter.h \                   $(VIC_DIR)/vid_coder.h \                   $(VIC_DIR)/videoframe.h \#                   $(VIC_DIR)/grabber-video4linux.h \#                   $(VIC_DIR)/rtp.h \#                   $(VIC_DIR)/rv.h COMMON_SOURCES	+= $(VIC_DIR)/dct.cxx \		   $(VIC_DIR)/p64.cxx \		   $(VIC_DIR)/huffcode.c \		   $(VIC_DIR)/bv.c \		   $(VIC_DIR)/encoder-h261.cxx \                   $(VIC_DIR)/p64encoder.cxx \                   $(VIC_DIR)/transmitter.cxx \                   $(VIC_DIR)/vid_coder.cxx \                   $(VIC_DIR)/grabber.cxx #                   $(VIC_DIR)/grabber-video4linux.cxx # The following are required by the ptlib.makSOURCES		= $(OH323_SRCDIR)/h225.cxx \		  $(OH323_SRCDIR)/h245_1.cxx \		  $(OH323_SRCDIR)/h245_2.cxx \		  $(OH323_SRCDIR)/h245_3.cxx \		  $(OH323_SRCDIR)/mcspdu.cxx \		  $(OH323_SRCDIR)/gccpdu.cxx \		  $(OH323_SRCDIR)/ldap.cxx \		  $(COMMON_SOURCES) \ifndef OH323_SUPPRESS_H235SOURCES		+= $(OH323_SRCDIR)/h235.cxx endifCLEAN_FILES	= $(ASN_FILES:.asn=*.cxx) $(OH323_LIB) \		  $(OH323_INCDIR)/h225.h \		  $(OH323_INCDIR)/h245.h \		  $(OH323_INCDIR)/mcspdu.h \		  $(OH323_INCDIR)/gccpdu.h \		  $(OH323_INCDIR)/ldap.h ifndef OH323_SUPPRESS_H235CLEAN_FILES	+= $(OH323_INCDIR)/h235.h endififdef NOTRACESTDCCFLAGS += -DPASN_NOPRINTONOBJ_SUFFIX := nelseSTDCCFLAGS += -DPTRACINGendifVPATH_CXX := $(OH323_SRCDIR)VPATH_C := $(OH323_SRCDIR)####################################################include $(PWLIBDIR)/make/common.mak####################################################LIB_BASENAME	=	$(OH323_FILE)include $(PWLIBDIR)/make/lib.mak##################################################### Build the .cxx files from the .asn filesifdef ASN_EXCLUDEASNPARSE_DIR = $(PWLIBDIR)/tools/asnparser.newASNPARSE = $(ASNPARSE_DIR)/obj_$(PLATFORM_TYPE)_r/asnparser ASNPARSE += -x $(ASN_EXCLUDE)elseASNPARSE_DIR = $(PWLIBDIR)/tools/asnparserASNPARSE = $(ASNPARSE_DIR)/obj_$(PLATFORM_TYPE)_r/asnparser endif#### h245$(OH323_SRCDIR)/h245_1.cxx \$(OH323_SRCDIR)/h245_2.cxx \$(OH323_SRCDIR)/h245_3.cxx : $(OH323_INCDIR)/h245.h$(OH323_INCDIR)/h245.h: $(OH323_SRCDIR)/h245.asn $(ASNPARSE)	$(ASNPARSE) -s3 -m H245 -c $<	mv $(OH323_SRCDIR)/h245.h $(OH323_INCDIR)/h245.h#### h235ifndef OH323_SUPPRESS_H235$(OH323_SRCDIR)/h235.cxx $(OH323_SRCDIR)/h235_t.cxx : $(OH323_INCDIR)/h235.h$(OH323_INCDIR)/h235.h: $(OH323_SRCDIR)/h235.asn $(ASNPARSE)	$(ASNPARSE) -m H235 -c $<	mv $(OH323_SRCDIR)/h235.h $(OH323_INCDIR)/h235.hendif#### h225$(OH323_SRCDIR)/h225.cxx: $(OH323_INCDIR)/h225.h $(OH323_SRCDIR)/h235_t.cxx$(OH323_INCDIR)/h225.h: $(OH323_SRCDIR)/h225.asn $(ASNPARSE)	$(ASNPARSE) -m H225 -c $<	mv $(OH323_SRCDIR)/h225.h $(OH323_INCDIR)/h225.h#### mcs$(OH323_SRCDIR)/mcspdu.cxx: $(OH323_INCDIR)/mcspdu.h$(OH323_INCDIR)/mcspdu.h: $(OH323_SRCDIR)/mcspdu.asn $(ASNPARSE)	$(ASNPARSE) -m MCS -c $<	mv $(OH323_SRCDIR)/mcspdu.h $(OH323_INCDIR)/mcspdu.h#### gcc$(OH323_SRCDIR)/gccpdu.cxx: $(OH323_INCDIR)/gccpdu.h$(OH323_INCDIR)/gccpdu.h: $(OH323_SRCDIR)/gccpdu.asn $(ASNPARSE)	$(ASNPARSE) -m GCC -c $<	mv $(OH323_SRCDIR)/gccpdu.h $(OH323_INCDIR)/gccpdu.h#### ldap$(OH323_SRCDIR)/ldap.cxx: $(OH323_INCDIR)/ldap.h$(OH323_INCDIR)/ldap.h: $(OH323_SRCDIR)/ldap.asn $(ASNPARSE)	$(ASNPARSE) -m LDAP -c $<	mv $(OH323_SRCDIR)/ldap.h $(OH323_INCDIR)/ldap.h$(ASNPARSE):	$(MAKE) -C $(ASNPARSE_DIR) DEBUG= optifndef OH323_SUPPRESS_H235# ensure that h.235.h is created for the h225 compilation$(OH323_OBJDIR)/h225.o: $(OH323_INCDIR)/h235.hendif# Build rules for VIC codecs$(OH323_OBJDIR)/%.o : $(VIC_DIR)/%.cxx	@if [ ! -d $(OH323_OBJDIR) ] ; then mkdir -p $(OH323_OBJDIR) ; fi	$(CPLUS) -I$(VIC_DIR) $(STDCCFLAGS) $(CFLAGS) -c $< -o $@$(OH323_OBJDIR)/%.o : $(VIC_DIR)/%.c	@if [ ! -d $(OH323_OBJDIR) ] ; then mkdir -p $(OH323_OBJDIR) ; fi	$(CC) -I$(VIC_DIR) $(STDCCFLAGS) $(CFLAGS) -c $< -o $@$(DEPDIR)/%.dep : $(VIC_DIR)/%.c	@if [ ! -d $(DEPDIR) ] ; then mkdir -p $(DEPDIR) ; fi	@printf %s $(OH323_OBJDIR)/ > $@	$(CPLUS) -I$(VIC_DIR) $(STDCCFLAGS) $(CFLAGS) -M $< >> $@$(DEPDIR)/%.dep : $(VIC_DIR)/%.cxx	@if [ ! -d $(DEPDIR) ] ; then mkdir -p $(DEPDIR) ; fi	@printf %s $(OH323_OBJDIR)/ > $@	$(CPLUS) -I$(VIC_DIR) $(STDCCFLAGS) $(CFLAGS) -M $< >> $@# Build rules for the GSM codec$(OH323_OBJDIR)/%.o : $(GSM_SRCDIR)/%.c	@if [ ! -d $(OH323_OBJDIR) ] ; then mkdir -p $(OH323_OBJDIR) ; fi	$(CC) -ansi -I$(GSM_INCDIR) -DNeedFunctionPrototypes=1 $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@$(DEPDIR)/%.dep : $(GSM_SRCDIR)/%.c	@if [ ! -d $(DEPDIR) ] ; then mkdir -p $(DEPDIR) ; fi	@printf %s $(OH323_OBJDIR)/ > $@	$(CC) -ansi -I$(GSM_INCDIR) -DNeedFunctionPrototypes=1 $(CFLAGS) -M $< >> $@# Build rules for the LPC10 codec$(OH323_OBJDIR)/%.o : $(LPC10_SRCDIR)/%.c	@if [ ! -d $(OH323_OBJDIR) ] ; then mkdir -p $(OH323_OBJDIR) ; fi	$(CC) -I$(LPC10_INCDIR) $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@$(DEPDIR)/%.dep : $(LPC10_SRCDIR)/%.c	@if [ ! -d $(DEPDIR) ] ; then mkdir -p $(DEPDIR) ; fi	@printf %s $(OH323_OBJDIR)/ > $@	$(CC) -I$(LPC10_INCDIR) $(CFLAGS) -M $< >> $@# Pass through commands to the subdirectory for test appifneq (,$(SUBDIR))debug ::	set -e; for i in $(SUBDIRS) ; do $(MAKE) -C $$i debug ; doneopt::	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i opt; donedebugclean::	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i debugclean; doneoptclean::	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i optclean; donedebugdepend::	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i debugdepend; doneoptdepend::	set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i optdepend; doneendifnotrace::	$(MAKE) NOTRACE=1 opt

⌨️ 快捷键说明

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