1 ## Process this file with automake to produce Makefile.in 2 3 AUTOMAKE_OPTIONS = foreign 1.6 dist-zip 4 5 SUBDIRS = src include doc 6 7 m4datadir = $(datadir)/aclocal 8 m4data_DATA = ogg.m4 9 10 pkgconfigdir = $(libdir)/pkgconfig 11 pkgconfig_DATA = ogg.pc 12 13 EXTRA_DIST = README AUTHORS CHANGES COPYING \ 14 libogg.spec libogg.spec.in \ 15 ogg.m4 ogg.pc.in ogg-uninstalled.pc.in \ 16 macos macosx win32 17 18 dist-hook: 19 for item in $(EXTRA_DIST); do \ 20 if test -d $$item; then \ 21 echo -n "cleaning dir $$item for distribution..."; \ 22 rm -rf `find $(distdir)/$$item -name .svn`; \ 23 echo "OK"; \ 24 fi; \ 25 done 26 debug: 27 $(MAKE) all CFLAGS="@DEBUG@" 28 29 profile: 30 $(MAKE) all CFLAGS="@PROFILE@" 31