1## Process this file with automake to produce Makefile.in
2
3AUTOMAKE_OPTIONS = foreign 1.6 dist-zip
4
5SUBDIRS = src include doc
6
7m4datadir = $(datadir)/aclocal
8m4data_DATA = ogg.m4
9
10pkgconfigdir = $(libdir)/pkgconfig
11pkgconfig_DATA = ogg.pc
12
13EXTRA_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
18dist-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
26debug:
27	$(MAKE) all CFLAGS="@DEBUG@"
28
29profile:
30	$(MAKE) all CFLAGS="@PROFILE@"
31