~ubuntu-branches/ubuntu/hoary/flac/hoary

« back to all changes in this revision

Viewing changes to src/flac/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-04-16 15:14:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040416151431-eyloggqxpwbwpogz
Tags: 1.1.0-11
Ensure that libFLAC is linked with -lm on all architectures, and
regardless of whether nasm is present

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#  flac - Command-line FLAC encoder/decoder
2
 
#  Copyright (C) 2000,2001  Josh Coalson
 
2
#  Copyright (C) 2000,2001,2002,2003  Josh Coalson
3
3
#
4
4
#  This program is free software; you can redistribute it and/or
5
5
#  modify it under the terms of the GNU General Public License
16
16
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
17
 
18
18
bin_PROGRAMS = flac
19
 
CFLAGS = @CFLAGS@
 
19
CFLAGS = @CFLAGS@ @OGG_CFLAGS@
 
20
 
 
21
if FLaC__HAS_OGG
 
22
NEED_OGGFLAC_LIB = $(top_builddir)/src/libOggFLAC/libOggFLAC.la
 
23
endif
 
24
 
 
25
EXTRA_DIST = \
 
26
        Makefile.lite \
 
27
        flac.dsp
20
28
 
21
29
flac_SOURCES = \
22
30
        analyze.c \
23
31
        decode.c \
24
32
        encode.c \
25
 
        file.c \
26
33
        main.c \
 
34
        utils.c \
 
35
        vorbiscomment.c \
27
36
        analyze.h \
28
37
        decode.h \
29
38
        encode.h \
30
 
        file.h
 
39
        utils.h \
 
40
        vorbiscomment.h
31
41
 
32
 
flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
 
42
flac_LDADD = \
 
43
        $(NEED_OGGFLAC_LIB) \
 
44
        $(top_builddir)/src/share/grabbag/libgrabbag.la \
 
45
        $(top_builddir)/src/share/gain_analysis/libgain_analysis.la \
 
46
        $(top_builddir)/src/share/getopt/libgetopt.a \
 
47
        $(top_builddir)/src/share/utf8/libutf8.la \
 
48
        $(top_builddir)/src/libFLAC/libFLAC.la \
 
49
        @OGG_LIBS@ \
 
50
        @LIBICONV@ \
 
51
        -lm