Makefile.am 1.41 KB
Newer Older
1 2
## Process this file with automake to produce Makefile.in

3 4 5 6
datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@

Jack Moffitt's avatar
Jack Moffitt committed
7
docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
8
mandir = @MANDIR@
calc's avatar
calc committed
9

Ralph Giles's avatar
Ralph Giles committed
10 11
bin_PROGRAMS = ogg123

12
INCLUDES = @OGG_CFLAGS@ @VORBIS_CFLAGS@ @AO_CFLAGS@ @CURL_CFLAGS@ \
13
           @PTHREAD_CFLAGS@ @SHARE_CFLAGS@ @I18N_CFLAGS@
Jack Moffitt's avatar
Jack Moffitt committed
14

Ralph Giles's avatar
Ralph Giles committed
15
ogg123_LDADD = @OGG123_FLAC_OBJS@ @OGG123_SPEEX_OBJS@ @SHARE_LIBS@ \
16 17
	       @VORBISFILE_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ @AO_LIBS@ \
               @SOCKET_LIBS@ @LIBICONV@ @CURL_LIBS@ @PTHREAD_CFLAGS@ \
Ralph Giles's avatar
Ralph Giles committed
18
               @PTHREAD_LIBS@ @I18N_LIBS@ @FLAC_LIBS@ @SPEEX_LIBS@
19

Ralph Giles's avatar
Ralph Giles committed
20 21 22 23 24 25 26 27 28 29
ogg123_DEPENDENCIES = @OGG123_FLAC_OBJS@ @OGG123_SPEEX_OBJS@ @SHARE_LIBS@
ogg123_SOURCES = audio.c buffer.c callbacks.c \
                cfgfile_options.c cmdline_options.c \
                file_transport.c format.c http_transport.c \
                ogg123.c oggvorbis_format.c playlist.c \
                status.c transport.c  vorbis_comments.c \
                audio.h buffer.h callbacks.h compat.h \
                cfgfile_options.h cmdline_options.h \
                format.h ogg123.h playlist.h status.h \
                transport.h vorbis_comments.h
30

Ralph Giles's avatar
Ralph Giles committed
31 32
man_MANS = ogg123.1
doc_DATA = ogg123rc-example
Jack Moffitt's avatar
Jack Moffitt committed
33

34 35 36
EXTRA_ogg123_SOURCES = flac_format.c easyflac.c easyflac.h speex_format.c \
                $(man_MANS) $(doc_DATA)

37 38 39 40 41
debug:
	$(MAKE) all CFLAGS="@DEBUG@"

profile:
	$(MAKE) all CFLAGS="@PROFILE@"