[CVE-2018-10393] heap buffer overflow
[platform/upstream/libvorbis.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 #AUTOMAKE_OPTIONS = 1.7 foreign dist-zip dist-bzip2
4 AUTOMAKE_OPTIONS = foreign 1.10 dist-zip
5 ACLOCAL_AMFLAGS = -I m4
6 SUBDIRS = m4 include vq lib test doc
7
8 if BUILD_EXAMPLES 
9 SUBDIRS += examples 
10 endif 
11
12 m4datadir = $(datadir)/aclocal
13 m4data_DATA = vorbis.m4
14
15 pkgconfigdir = $(libdir)/pkgconfig
16 pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc
17
18 EXTRA_DIST = \
19         CHANGES COPYING \
20         todo.txt autogen.sh \
21         libvorbis.spec libvorbis.spec.in \
22         vorbis.m4 \
23         vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \
24         vorbis-uninstalled.pc.in \
25         vorbisenc-uninstalled.pc.in \
26         vorbisfile-uninstalled.pc.in \
27         symbian \
28         macos macosx win32
29
30
31 DISTCHECK_CONFIGURE_FLAGS = --enable-docs
32
33 dist-hook:
34         for item in $(EXTRA_DIST); do \
35           if test -d $$item; then \
36             echo -n "cleaning $$item dir for distribution..."; \
37             rm -rf `find $(distdir)/$$item -name .svn`; \
38             echo "OK"; \
39           fi; \
40         done
41
42 debug:
43         $(MAKE) all CFLAGS="@DEBUG@"
44
45 profile:
46         $(MAKE) all CFLAGS="@PROFILE@"