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

📄 lib.mak

📁 mgcp协议源代码。支持多种编码:g711
💻 MAK
字号:
## lib.mak## Make rules for building libraries rather than applications.## Portable Windows Library## Copyright (c) 1993-1998 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 Portable Windows Library.## The Initial Developer of the Original Code is Equivalence Pty. Ltd.## Contributor(s): ______________________________________.#       # $Log: lib.mak,v $# Revision 1.9  2000/05/19 01:26:31  robertj# Added copyright notice#ifeq ($(P_SHAREDLIB),1)ifndef MAJOR_VERSIONMAJOR_VERSION	:= 1endififndef MINOR_VERSIONMINOR_VERSION	:= 0endififndef BUILD_TYPEBUILD_TYPE	:= aelseBUILD_TYPE	:= $(subst pl,,$(subst beta,b,$(subst alpha,a,$(BUILD_TYPE))))endififndef BUILD_NUMBERBUILD_NUMBER	:= 0endifLIBNAME_MAJ		= $(LIB_BASENAME).$(MAJOR_VERSION)LIBNAME_MIN		= $(LIBNAME_MAJ).$(MINOR_VERSION)LIBNAME_PAT		= $(LIBNAME_MIN).$(BUILD_NUMBER)$(BUILD_TYPE)$(LIBDIR)/$(LIB_BASENAME): $(LIBDIR)/$(LIBNAME_PAT)	@rm -f $(LIBDIR)/$(LIB_BASENAME)	ln -s $(LIBDIR)/$(LIBNAME_PAT) $(LIBDIR)/$(LIB_BASENAME)	@rm -f $(LIBDIR)/$(LIBNAME_MAJ)	ln -s $(LIBDIR)/$(LIBNAME_PAT) $(LIBDIR)/$(LIBNAME_MAJ)	@rm -f $(LIBDIR)/$(LIBNAME_MIN)	ln -s $(LIBDIR)/$(LIBNAME_PAT) $(LIBDIR)/$(LIBNAME_MIN)$(LIBDIR)/$(LIBNAME_PAT): $(OBJS)	@if [ ! -d $(LIBDIR) ] ; then mkdir $(LIBDIR) ; fi	gcc -shared -Wl,-soname,$(LIB_BASENAME).1 -o $(LIBDIR)/$(LIBNAME_PAT) $(OBJS)CLEAN_FILES += $(LIBDIR)/$(LIBNAME_PAT) $(LIBDIR)/$(LIB_BASENAME) $(LIBDIR)/$(LIBNAME_MAJ) $(LIBDIR)/$(LIBNAME_MIN)install: $(LIBDIR)/$(LIBNAME_PAT)	$(INSTALL) $(LIBDIR)/$(LIBNAME_PAT) $(INSTALLLIB_DIR)/$(LIBNAME_PAT)	ln -s $(INSTALLLIB_DIR)/$(LIBNAME_PAT) $(INSTALLLIB_DIR)/$(LIB_BASENAME)	ln -s $(INSTALLLIB_DIR)/$(LIBNAME_PAT) $(INSTALLLIB_DIR)/$(LIBNAME_MAJ)	ln -s $(INSTALLLIB_DIR)/$(LIBNAME_PAT) $(INSTALLLIB_DIR)/$(LIBNAME_MIN)else$(LIBDIR)/$(LIB_BASENAME): $(OBJS)	@if [ ! -d $(LIBDIR) ] ; then mkdir $(LIBDIR) ; fiifdef P_USE_RANLIB	$(AR) rc $(LIBDIR)/$(LIB_BASENAME) $(OBJS)	$(RANLIB) $(LIBDIR)/$(LIB_BASENAME)else	$(AR) rcs $(LIBDIR)/$(LIB_BASENAME) $(OBJS)endifCLEAN_FILES += $(LIBDIR)/$(LIB_BASENAME)endif

⌨️ 快捷键说明

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