Fix CMake include install directory
[platform/upstream/libvorbis.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
4
5 ACLOCAL_AMFLAGS = -I m4
6
7 SUBDIRS = m4 include vq lib test doc
8
9 if BUILD_EXAMPLES 
10 SUBDIRS += examples 
11 endif 
12
13 m4datadir = $(datadir)/aclocal
14 m4data_DATA = vorbis.m4
15
16 pkgconfigdir = $(libdir)/pkgconfig
17 pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc
18
19 EXTRA_DIST = \
20         CHANGES COPYING \
21         autogen.sh \
22         libvorbis.spec libvorbis.spec.in \
23         vorbis.m4 \
24         vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \
25         vorbis-uninstalled.pc.in \
26         vorbisenc-uninstalled.pc.in \
27         vorbisfile-uninstalled.pc.in \
28         symbian macosx win32 \
29         CMakeLists.txt cmake/FindOgg.cmake cmake/VorbisConfig.cmake.in
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@"