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-15 20:08:31 -04:00
|
|
|
bin_PROGRAMS = ezstream
|
2004-01-30 12:19:45 -05:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
ezstream_SOURCES = \
|
|
|
|
compat.c \
|
|
|
|
configfile.c \
|
|
|
|
ezstream.c \
|
2009-03-16 16:12:29 -04:00
|
|
|
getopt.c \
|
2009-03-15 20:08:31 -04:00
|
|
|
metadata.c \
|
|
|
|
playlist.c \
|
|
|
|
util.c \
|
|
|
|
xalloc.c
|
|
|
|
ezstream_LDADD = @LIBOBJS@ @EZ_LIBS@
|
2007-08-02 14:48:26 -04:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
INCLUDES = @COMPAT_INCLUDES@
|
|
|
|
AM_CFLAGS = @EZ_CFLAGS@
|
|
|
|
AM_CPPFLAGS = @EZ_CPPFLAGS@
|
|
|
|
AM_LDFLAGS = @EZ_LDFLAGS@
|
2007-08-02 14:48:26 -04:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
EXTRA_DIST = \
|
|
|
|
compat.h \
|
|
|
|
configfile.h \
|
|
|
|
metadata.h \
|
|
|
|
playlist.h \
|
|
|
|
strfctns.h \
|
|
|
|
util.h \
|
|
|
|
xalloc.h
|
2004-01-30 12:19:45 -05:00
|
|
|
|
2009-03-15 20:08:31 -04:00
|
|
|
CLEANFILES = core *.core *~ .*~
|