Lucas Eckels | 8e01cdc | 2012-08-06 15:16:01 -0700 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in |
| 2 | |
| 3 | AUTOMAKE_OPTIONS = 1.7 foreign dist-zip dist-bzip2 |
| 4 | |
| 5 | SUBDIRS = m4 include vq lib test doc |
| 6 | |
| 7 | if BUILD_EXAMPLES |
| 8 | SUBDIRS += examples |
| 9 | endif |
| 10 | |
| 11 | m4datadir = $(datadir)/aclocal |
| 12 | m4data_DATA = vorbis.m4 |
| 13 | |
| 14 | pkgconfigdir = $(libdir)/pkgconfig |
| 15 | pkgconfig_DATA = vorbis.pc vorbisenc.pc vorbisfile.pc |
| 16 | |
| 17 | EXTRA_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 | |
| 30 | DISTCHECK_CONFIGURE_FLAGS = --enable-docs |
| 31 | |
| 32 | dist-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 | |
| 41 | debug: |
| 42 | $(MAKE) all CFLAGS="@DEBUG@" |
| 43 | |
| 44 | profile: |
| 45 | $(MAKE) all CFLAGS="@PROFILE@" |