Makefile.am 665 Bytes
Newer Older
1
2
3
4
## Process this file with automake to produce Makefile.in

AUTOMAKE_OPTIONS = foreign

Jack Moffitt's avatar
Jack Moffitt committed
5
6
SUBDIRS = man

7
8
if BUILD_OGGENC

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

13
14
bin_PROGRAMS = oggenc

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

17
18
19
oggenc_LDADD = @SHARE_LIBS@ \
	       @VORBISENC_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ \
	       @LIBICONV@ @I18N_LIBS@
20
oggenc_DEPENDENCIES = @SHARE_LIBS@
21

22
oggenc_SOURCES = oggenc.c audio.c encode.c platform.c \
23
                 audio.h encode.h platform.h resample.c resample.h
24

25
26
endif

27
28
29
30
31
debug:
	$(MAKE) all CFLAGS="@DEBUG@"

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