4282e2610010086e7d76d6223cebd080b26c29dd
[platform/upstream/libvorbis.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign dist-zip
4
5 SUBDIRS = lib include doc examples vq
6
7 m4datadir = $(datadir)/aclocal
8 m4data_DATA = vorbis.m4
9
10 pkgconfigdir = $(libdir)/pkgconfig
11 pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc
12
13 # we include the whole debian/ dir in EXTRA_DIST because there's a problem
14 # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
15 # to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON
16 # because of it, breaking make dist.  This works just as well.
17 EXTRA_DIST = \
18         todo.txt autogen.sh \
19         libvorbis.spec libvorbis.spec.in \
20         vorbis.m4 \
21         vorbis.pc.in vorbisenc.pc.in vorbisfile.pc.in \
22         vorbis-uninstalled.pc.in \
23         vorbisenc-uninstalled.pc.in \
24         vorbisfile-uninstalled.pc.in \
25         debian macos macosx win32
26
27
28 DISTCHECK_CONFIGURE_FLAGS = --enable-docs
29
30 dist-hook:
31         rm -rf `find $(distdir)/debian -name .svn`
32         rm -rf `find $(distdir)/debian -name "Makefile*"`
33         rm -rf `find $(distdir)/macos -name .svn`
34         rm -rf `find $(distdir)/macosx -name .svn`
35         rm -rf `find $(distdir)/win32 -name .svn`
36
37 debug:
38         $(MAKE) all CFLAGS="@DEBUG@"
39
40 profile:
41         $(MAKE) all CFLAGS="@PROFILE@"