Mercurial > hg > audiostuff
diff spandsp-0.0.3/spandsp-0.0.3/Makefile.am @ 5:f762bf195c4b
import spandsp-0.0.3
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 16:00:21 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spandsp-0.0.3/spandsp-0.0.3/Makefile.am Fri Jun 25 16:00:21 2010 +0200 @@ -0,0 +1,83 @@ +## Makefile.am -- Process this file with automake to produce Makefile.in +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License version 2, as +## published by the Free Software Foundation. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +## +## $Id: Makefile.am,v 1.20 2006/12/06 13:53:36 steveu Exp $ + +AM_CFLAGS = $(COMP_VENDOR_CFLAGS) + +noinst_SCRIPTS = spandsp.spec + +nobase_data_DATA = spandsp/global-tones.xml spandsp/tones.dtd + +MAINTAINERCLEANFILES = Makefile.in + +EXTRA_DIST = DueDiligence \ + spandsp.spec \ + wrapper.xsl \ + libspandsp.vcproj \ + doc/libspandsp-doxygen \ + src/msvc/gettimeofday.c \ + src/msvc/inttypes.h \ + src/msvc/tgmath.h \ + src/msvc/unistd.h \ + src/msvc/sys/time.h \ + src/msvc/spandsp.def \ + src/msvc/msvcproj.head \ + src/msvc/msvcproj.foot \ + src/msvc/vc8proj.head \ + src/msvc/vc8proj.foot \ + src/libspandsp.sln \ + spandsp/global-tones.xml \ + spandsp/tones.dtd + +if COND_DOC + MAYBE_DOC=doc +endif +if COND_TESTS + MAYBE_TESTS=tests +endif +if COND_ITUTESTS + MAYBE_ITUTESTS=itutests +endif +SUBDIRS = src $(MAYBE_DOC) $(MAYBE_TESTS) $(MAYBE_ITUTESTS) + +DIST_SUBDIRS = src doc tests itutests + +faq: faq.xml + cd faq ; xsltproc ../wrapper.xsl ../faq.xml + +rpm: rpm-build + +rpm-build: + $(MAKE) -$(MAKEFLAGS) bump.rpm.release + $(MAKE) -$(MAKEFLAGS) dist + rm -rf rpm/BUILD/* + rm -f rpm/RPMS/*/* + rm -f rpm/SOURCES/* + rm -f rpm/SPECS/* + rm -f rpm/SRPMS/* + rpm -ta --sign @PACKAGE@-@VERSION@.tar.gz + +bump.rpm.release: spandsp.spec + VERSION="x"; \ + test -f $(srcdir)/rpm.release && . $(srcdir)/rpm.release; \ + NEXT_RELEASE=0; \ + test "$$VERSION" = "@VERSION@" && NEXT_RELEASE="$$RELEASE"; \ + RELEASE=`expr $$NEXT_RELEASE + 1`; \ + echo "VERSION=@VERSION@" >$(srcdir)/rpm.release; \ + echo "RELEASE=$$RELEASE" >>$(srcdir)/rpm.release; \ + sed 's/^Release: .*/Release: '$$RELEASE'/' \ + <spandsp.spec >spandsp.spec.new; \ + mv spandsp.spec.new spandsp.spec