os.h: change elif _WIN32 to elif defined(_WIN32)
[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 \
29         macosx win32
30
31
32 DISTCHECK_CONFIGURE_FLAGS = --enable-docs
33
34 dist-hook:
35         for item in $(EXTRA_DIST); do \
36           if test -d $$item; then \
37             echo -n "cleaning $$item dir for distribution..."; \
38             rm -rf `find $(distdir)/$$item -name .svn`; \
39             echo "OK"; \
40           fi; \
41         done
42
43 debug:
44         $(MAKE) all CFLAGS="@DEBUG@"
45
46 profile:
47         $(MAKE) all CFLAGS="@PROFILE@"