From: Craig S. <cso...@us...> - 2004-04-29 14:48:11
|
Update of /cvsroot/openh323/openh323/plugins/audio/Speex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8472/plugins/audio/Speex Added Files: Makefile.in Log Message: Reconfigured plugin makefiles per suggestions from Damien Sandras Changed install targets to use $(INSTALL) --- NEW FILE: Makefile.in --- # # Makefile for Speex 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.1 2004/04/29 14:48:00 csoutheren # Reconfigured plugin makefiles per suggestions from Damien Sandras # Changed install targets to use $(INSTALL) # # Revision 1.4 2004/04/27 09:59:27 csoutheren # Updated codec specific Makefiles # # Revision 1.3 2004/04/09 12:24:18 csoutheren # Renamed h323plugin.h to opalplugin.h, and modified everything else # as required # # Revision 1.2 2004/04/04 12:57:49 csoutheren # Updated Makefiles and fixed Linux problems # # PREFIX=@INSTALLPREFIX@ exec_prefix = ${PREFIX} LIBDIR=@LIBDIR@ H323_SYSTEM_SPEEX=@H323_SYSTEM_SPEEX@ CC=@CC@ CXX=@CXX@ ifndef PREFIX PREFIX=/usr/local endif SONAME = speexccodec SRCDIR = ./libspeex SRCS = speexcodec.cxx ifndef H323_SYSTEM_SPEEX SRCS += $(SRCDIR)/nb_celp.c $(SRCDIR)/sb_celp.c $(SRCDIR)/lpc.c $(SRCDIR)/ltp.c $(SRCDIR)/lsp.c \ $(SRCDIR)/quant_lsp.c $(SRCDIR)/lsp_tables_nb.c $(SRCDIR)/gain_table.c $(SRCDIR)/gain_table_lbr.c \ $(SRCDIR)/cb_search.c $(SRCDIR)/filters.c $(SRCDIR)/bits.c $(SRCDIR)/modes.c $(SRCDIR)/vq.c \ $(SRCDIR)/high_lsp_tables.c $(SRCDIR)/vbr.c $(SRCDIR)/hexc_table.c $(SRCDIR)/exc_5_256_table.c \ $(SRCDIR)/exc_5_64_table.c $(SRCDIR)/exc_8_128_table.c $(SRCDIR)/exc_20_32_table.c \ $(SRCDIR)/exc_10_32_table.c $(SRCDIR)/exc_10_16_table.c $(SRCDIR)/hexc_10_32_table.c $(SRCDIR)/misc.c \ $(SRCDIR)/speex_header.c $(SRCDIR)/speex_callbacks.c EXTRALIBS = else EXTRALIBS = -lspeex endif OBJDIR = ./obj vpath %.o $(OBJDIR) vpath %.c $(SRCDIR) vpath %.cxx $(SRCDIR) $(OBJDIR)/%.o : %.c @mkdir -p $(OBJDIR) >/dev/null 2>&1 $(CC) -g -c $(CCFLAGS) -o $@ $< $(OBJDIR)/%.o : %.cxx @mkdir -p $(OBJDIR) >/dev/null 2>&1 $(CXX) -g -c -I../../../include $(CCFLAGS) -o $@ $< PLUGIN = ./speex_audio.so OBJECTS = $(addprefix $(OBJDIR)/,$(patsubst %.cxx,%.o,$(patsubst %.c,%.o,$(notdir $(SRCS))))) $(PLUGIN): $(OBJECTS) $(CC) -shared -Wl,-soname,$(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) ########################################### |