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