Various cleanups and auto-fu tweaks.
* Make Makefile.am files look alike as much as possible.
* Remove debug: target and don't mess with the users DEBUG environment
variable: Autoconf checks for -g and automatically adds it to CFLAGS, which
is overridden by the user's $DEBUG. If the user didn't specify one, "make
install" will strip the resulting binaries and leave the debugging symbols
intact otherwise.
* Remove profile: target, as it is quite pointless in Ezstream. Also, the user
can add profiling flags via the $DEBUG variable as well.
* Remove -ffast-math and -fsigned-char from gcc, and enable two additional
warnings instead.
* Unconfuse Solaris compiler flags (unfortunately, the configure script still
fails in the libshout check with some obscure linker error): Do not force
-x04 and -fast optimizations, let the user decide (it doesn't matter for
Ezstream anyways.) Remove -xgc92, which is deprecated and actually makes
the resulting binary run slower on SPARC. Also remove -fsimple, which does
not help and has the potential of causing trouble, and don't enable verbose
warnings just to disable them afterwards with -w. Leave only -v for verbose
warnings.
* Const'ify getFormat*() functions and blankString, and squelch a few const-
related warnings.
* Squelch a signedness warning and fix two ;; syntax errors.
* Add a snapshot target to Makefile.am that creates a tarball of the form
ezstream-snapshot-YYYYMMDD.tar.gz.
git-svn-id: https://svn.xiph.org/trunk/ezstream@12562 0101bb08-14d6-0310-b084-bc0e0c8e3800
2007-02-25 09:00:15 -05:00
|
|
|
AUTOMAKE_OPTIONS = 1.9 foreign
|
2004-01-30 12:19:45 -05:00
|
|
|
|
2009-03-17 18:25:47 -04:00
|
|
|
SUBDIRS = shout
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
README.win32 config.h compat.h \
|
|
|
|
ezstream.sln ezstream.vcproj \
|
|
|
|
libflac.vcproj libogg.vcproj libshout.vcproj libspeex.vcproj \
|
2009-08-01 06:51:48 -04:00
|
|
|
libtheora.vcproj libvorbis.vcproj libvorbisfile.vcproj libz.vcproj \
|
|
|
|
taglib.vcproj taglib_c.vcproj
|
2004-01-30 12:19:45 -05:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
CLEANFILES = core *.core *~ .*~ ezstream.1.pdf
|
2007-03-08 20:49:22 -05:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
do_subst = sed -e 's,!!EXAMPLES_DIR!!,${PACKAGE_TARNAME}-${PACKAGE_VERSION}-win32/examples,g'
|
2007-03-08 20:49:22 -05:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
.PHONY: regen-win32
|
2007-03-09 08:43:26 -05:00
|
|
|
|
2007-03-08 20:49:22 -05:00
|
|
|
regen-win32: Makefile
|
|
|
|
$(do_subst) < $(top_srcdir)/doc/ezstream.1.in | nroff -Tps -mandoc - | ps2pdf - ezstream.1.pdf
|