Makefile.am 793 Bytes
Newer Older
1
## Process this file with automake to produce Makefile.in
2
3
4
5
6
if HAVE_LIBFLAC
flac_sources = flac.c flac.h easyflac.c easyflac.h
else
flac_sources =
endif
7

Jack Moffitt's avatar
Jack Moffitt committed
8
9
SUBDIRS = man

10
11
12
13
datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@

14
15
bin_PROGRAMS = oggenc

16
INCLUDES = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @I18N_CFLAGS@
17

18
oggenc_LDADD = @OGGENC_FLAC_OBJS@ @SHARE_LIBS@ \
19
	       @VORBISENC_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ \
20
	       @LIBICONV@ @I18N_LIBS@ @FLAC_LIBS@
21

22
23
oggenc_DEPENDENCIES = @OGGENC_FLAC_OBJS@ @SHARE_LIBS@

24
25
oggenc_SOURCES = $(flac_sources) \
                 oggenc.c audio.c encode.c platform.c \
26
                 audio.h encode.h platform.h resample.c resample.h
27

28

29
30
31
32
33
debug:
	$(MAKE) all CFLAGS="@DEBUG@"

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