Makefile.am 973 B

123456789101112131415161718192021222324252627282930313233343536
  1. ## Process this file with automake to produce Makefile.in
  2. AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
  3. if THEORA_ENABLE_EXAMPLES
  4. EXAMPLES_DIR = examples
  5. else
  6. EXAMPLES_DIR =
  7. endif
  8. SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
  9. # we include the whole debian/ dir in EXTRA_DIST because there's a problem
  10. # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
  11. # to pick up on the lowercase changelog file and add ChangeLog to DIST_COMMON
  12. # because of it, breaking make dist. This works just as well.
  13. EXTRA_DIST = \
  14. README CHANGES COPYING LICENSE \
  15. autogen.sh win32 macosx symbian SConstruct \
  16. libtheora.spec libtheora.spec.in \
  17. theora-uninstalled.pc.in
  18. pkgconfigdir = $(libdir)/pkgconfig
  19. pkgconfig_DATA = theora.pc theoradec.pc theoraenc.pc
  20. # Remove the .svn folders included in the tarball
  21. dist-hook:
  22. find $(distdir) -type d -name '.svn' | xargs rm -rf
  23. debug:
  24. $(MAKE) all CFLAGS="@DEBUG@"
  25. profile:
  26. $(MAKE) all CFLAGS="@PROFILE@"