📄 makefile.in
字号:
#
# Makefile for G.726 codec plugin
#
# Copyright (C) 2004 Post Increment, All Rights Reserved
#
# 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 Post Increment
#
# Contributor(s): ______________________________________.
#
# $Log: Makefile.in,v $
# Revision 1.3 2004/08/22 04:20:17 csoutheren
# Added -fPIC to build commands to fix problems on 64 bit platforms
# Thanks to Klaus Kaempf
#
# Revision 1.2 2004/06/24 23:33:16 csoutheren
# Changed Makefiles to ensure all plugins have correct suffix
#
# Revision 1.1 2004/05/10 11:28:57 csoutheren
# Added G.726 plugin
#
#
STDCCFLAGS += -fPIC
PREFIX=@INSTALLPREFIX@
exec_prefix = ${PREFIX}
LIBDIR=@LIBDIR@
H323_SYSTEM_GSM=@H323_SYSTEM_GSM@
CC=@CC@
CXX=@CXX@
LDSO=@LDSO@
ifndef PREFIX
PREFIX=/usr/local
endif
SONAME = g726
SRCDIR = ./g726
OBJDIR = ./obj
SRCS += g726codec.c \
g711.c \
$(SRCDIR)/g726_16.c \
$(SRCDIR)/g726_24.c \
$(SRCDIR)/g726_32.c \
$(SRCDIR)/g726_40.c \
$(SRCDIR)/g72x.c
vpath %.o $(OBJDIR)
vpath %.c $(SRCDIR)
$(OBJDIR)/%.o : %.c
@mkdir -p $(OBJDIR) >/dev/null 2>&1
$(CC) -I../../../include -I./g726 $(STDCCFLAGS) $(OPTCCFLAGS) $(CFLAGS) -c $< -o $@
PLUGIN = ./g726_audio_pwplugin.so
OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.c,%.o,$(notdir $(SRCS))))
$(PLUGIN): $(OBJECTS)
$(CC) $(LDSO)$(SONAME) -o $@ $^ $(EXTRALIBS)
install:
mkdir -p $(DESTDIR)$(LIBDIR)/pwlib/codecs/audio/
cp $(PLUGIN) $(DESTDIR)$(LIBDIR)/pwlib/codecs/audio/
uninstall:
rm -f $(DESTDIR)$(LIBDIR)/pwlib/codecs/audio/$(PLUGIN)
clean:
rm -f $(OBJECTS) $(PLUGIN)
###########################################
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -