Makefile.am 895 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

8 9 10 11 12 13
if HAVE_KATE
kate_sources = lyrics.c lyrics.h
else
kate_sources =
endif

Jack Moffitt's avatar
Jack Moffitt committed
14 15
SUBDIRS = man

16 17 18 19
datadir = @datadir@
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@

20 21
bin_PROGRAMS = oggenc

22
AM_CPPFLAGS = @SHARE_CFLAGS@ @OGG_CFLAGS@ @VORBIS_CFLAGS@ @KATE_CFLAGS@ @I18N_CFLAGS@
23

24
oggenc_LDADD = @SHARE_LIBS@ \
25
	       @VORBISENC_LIBS@ @VORBIS_LIBS@ @KATE_LIBS@ @OGG_LIBS@ \
26
	       @LIBICONV@ @I18N_LIBS@ @FLAC_LIBS@
27

28
oggenc_DEPENDENCIES = @SHARE_LIBS@
29

30 31 32
oggenc_SOURCES = $(flac_sources) $(kate_sources) \
                 oggenc.c audio.c encode.c platform.c resample.c skeleton.c \
                 audio.h encode.h platform.h resample.h skeleton.h
33

34

35 36 37 38 39
debug:
	$(MAKE) all CFLAGS="@DEBUG@"

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