Makefile.am 676 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
9
oggencsources = oggenc.c audio.c encode.c platform.c \
                 audio.h encode.h platform.h resample.c resample.h

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
19
20
oggenc_LDADD = @SHARE_LIBS@ \
	       @VORBISENC_LIBS@ @VORBIS_LIBS@ @OGG_LIBS@ \
	       @LIBICONV@ @I18N_LIBS@
21
oggenc_DEPENDENCIES = @SHARE_LIBS@
22

23
oggenc_SOURCES = $(oggencsources)
24

25

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

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