Makefile.am 1.2 KB

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