1# Makefile.in generated by automake 1.10.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# $Id: Makefile.am 1344 2009-06-22 01:11:09Z toni $
18
19# Moved to configure.ac's AM_INIT_AUTOMAKE
20#AUTOMAKE_OPTIONS = foreign
21VPATH = @srcdir@
22pkgdatadir = $(datadir)/@PACKAGE@
23pkglibdir = $(libdir)/@PACKAGE@
24pkgincludedir = $(includedir)/@PACKAGE@
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26install_sh_DATA = $(install_sh) -c -m 644
27install_sh_PROGRAM = $(install_sh) -c
28install_sh_SCRIPT = $(install_sh) -c
29INSTALL_HEADER = $(INSTALL_DATA)
30transform = $(program_transform_name)
31NORMAL_INSTALL = :
32PRE_INSTALL = :
33POST_INSTALL = :
34NORMAL_UNINSTALL = :
35PRE_UNINSTALL = :
36POST_UNINSTALL = :
37build_triplet = @build@
38host_triplet = @host@
39target_triplet = @target@
40subdir = .
41DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
42	$(srcdir)/Makefile.in $(srcdir)/doxygen.cfg.in \
43	$(srcdir)/mp3plot.spec.in $(top_srcdir)/configure \
44	$(top_srcdir)/freebsd/Makefile.in AUTHORS COPYING ChangeLog \
45	INSTALL TODO config.guess config.sub install-sh missing
46ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
48	$(top_srcdir)/m4/ax_boost_base.m4 \
49	$(top_srcdir)/m4/ax_boost_program_options.m4 \
50	$(top_srcdir)/m4/ax_boost_thread.m4 $(top_srcdir)/configure.ac
51am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
52	$(ACLOCAL_M4)
53am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
54 configure.lineno config.status.lineno
55mkinstalldirs = $(install_sh) -d
56CONFIG_HEADER = $(top_builddir)/src/config.h
57CONFIG_CLEAN_FILES = freebsd/Makefile mp3plot.spec doxygen.cfg
58depcomp =
59am__depfiles_maybe =
60SOURCES =
61DIST_SOURCES =
62RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
63	html-recursive info-recursive install-data-recursive \
64	install-dvi-recursive install-exec-recursive \
65	install-html-recursive install-info-recursive \
66	install-pdf-recursive install-ps-recursive install-recursive \
67	installcheck-recursive installdirs-recursive pdf-recursive \
68	ps-recursive uninstall-recursive
69RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
70  distclean-recursive maintainer-clean-recursive
71ETAGS = etags
72CTAGS = ctags
73DIST_SUBDIRS = $(SUBDIRS)
74DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75distdir = $(PACKAGE)-$(VERSION)
76top_distdir = $(distdir)
77am__remove_distdir = \
78  { test ! -d $(distdir) \
79    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
80         && rm -fr $(distdir); }; }
81DIST_ARCHIVES = $(distdir).tar.gz
82GZIP_ENV = --best
83distuninstallcheck_listfiles = find . -type f -print
84distcleancheck_listfiles = find . -type f -print
85ACLOCAL = @ACLOCAL@
86AMTAR = @AMTAR@
87AUTHOR = @AUTHOR@
88AUTOCONF = @AUTOCONF@
89AUTOHEADER = @AUTOHEADER@
90AUTOMAKE = @AUTOMAKE@
91AWK = @AWK@
92BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
93BOOST_LDFLAGS = @BOOST_LDFLAGS@
94BOOST_PROGRAM_OPTIONS_LIB = @BOOST_PROGRAM_OPTIONS_LIB@
95BOOST_THREAD_LIB = @BOOST_THREAD_LIB@
96CC = @CC@
97CFLAGS = @CFLAGS@
98CPPFLAGS = @CPPFLAGS@
99CXX = @CXX@
100CXXCPP = @CXXCPP@
101CXXFLAGS = @CXXFLAGS@
102CYGPATH_W = @CYGPATH_W@
103DEFS = @DEFS@
104ECHO_C = @ECHO_C@
105ECHO_N = @ECHO_N@
106ECHO_T = @ECHO_T@
107EGREP = @EGREP@
108EXEEXT = @EXEEXT@
109GDLIB_CONFIG = @GDLIB_CONFIG@
110GREP = @GREP@
111INSTALL = @INSTALL@
112INSTALL_DATA = @INSTALL_DATA@
113INSTALL_PROGRAM = @INSTALL_PROGRAM@
114INSTALL_SCRIPT = @INSTALL_SCRIPT@
115INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
116LDFLAGS = @LDFLAGS@
117LIBOBJS = @LIBOBJS@
118LIBS = @LIBS@
119LN_S = @LN_S@
120LTLIBOBJS = @LTLIBOBJS@
121MAKEINFO = @MAKEINFO@
122MKDIR_P = @MKDIR_P@
123OBJEXT = @OBJEXT@
124PACKAGE = @PACKAGE@
125PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
126PACKAGE_NAME = @PACKAGE_NAME@
127PACKAGE_STRING = @PACKAGE_STRING@
128PACKAGE_TARNAME = @PACKAGE_TARNAME@
129PACKAGE_VERSION = @PACKAGE_VERSION@
130PATH_SEPARATOR = @PATH_SEPARATOR@
131PKG_CONFIG = @PKG_CONFIG@
132RANLIB = @RANLIB@
133SET_MAKE = @SET_MAKE@
134SHELL = @SHELL@
135STRIP = @STRIP@
136UPSTREAM_URL = @UPSTREAM_URL@
137VERSION = @VERSION@
138abs_builddir = @abs_builddir@
139abs_srcdir = @abs_srcdir@
140abs_top_builddir = @abs_top_builddir@
141abs_top_srcdir = @abs_top_srcdir@
142ac_ct_CC = @ac_ct_CC@
143ac_ct_CXX = @ac_ct_CXX@
144am__leading_dot = @am__leading_dot@
145am__tar = @am__tar@
146am__untar = @am__untar@
147bindir = @bindir@
148build = @build@
149build_alias = @build_alias@
150build_cpu = @build_cpu@
151build_os = @build_os@
152build_vendor = @build_vendor@
153builddir = @builddir@
154datadir = @datadir@
155datarootdir = @datarootdir@
156docdir = @docdir@
157dvidir = @dvidir@
158exec_prefix = @exec_prefix@
159host = @host@
160host_alias = @host_alias@
161host_cpu = @host_cpu@
162host_os = @host_os@
163host_vendor = @host_vendor@
164htmldir = @htmldir@
165includedir = @includedir@
166infodir = @infodir@
167install_sh = @install_sh@
168libdir = @libdir@
169libexecdir = @libexecdir@
170localedir = @localedir@
171localstatedir = @localstatedir@
172mandir = @mandir@
173mkdir_p = @mkdir_p@
174oldincludedir = @oldincludedir@
175pdfdir = @pdfdir@
176prefix = @prefix@
177program_transform_name = @program_transform_name@
178psdir = @psdir@
179sbindir = @sbindir@
180sharedstatedir = @sharedstatedir@
181srcdir = @srcdir@
182sysconfdir = @sysconfdir@
183target = @target@
184target_alias = @target_alias@
185target_cpu = @target_cpu@
186target_os = @target_os@
187target_vendor = @target_vendor@
188top_build_prefix = @top_build_prefix@
189top_builddir = @top_builddir@
190top_srcdir = @top_srcdir@
191SUBDIRS = src
192EXTRA_DIST = BUILD.Windows.txt INSTALL.Windows.txt doxygen.cfg \
193			 debian/changelog debian/control debian/compat debian/copyright \
194			 debian/docs debian/README.Debian debian/rules \
195			 freebsd/pkg-descr freebsd/Makefile.in freebsd/Makefile \
196			 msvc/mp3plot.sln msvc/mp3plot.vcproj \
197			 mp3plot.spec.in mp3plot.spec \
198			 AUTHORS
199
200STATICNAME := @PACKAGE@-@VERSION@-static-$(build_cpu)-$(build_os)
201all: all-recursive
202
203.SUFFIXES:
204am--refresh:
205	@:
206$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
207	@for dep in $?; do \
208	  case '$(am__configure_deps)' in \
209	    *$$dep*) \
210	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps'; \
211	      cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps \
212		&& exit 0; \
213	      exit 1;; \
214	  esac; \
215	done; \
216	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps Makefile'; \
217	cd $(top_srcdir) && \
218	  $(AUTOMAKE) --foreign  --ignore-deps Makefile
219.PRECIOUS: Makefile
220Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
221	@case '$?' in \
222	  *config.status*) \
223	    echo ' $(SHELL) ./config.status'; \
224	    $(SHELL) ./config.status;; \
225	  *) \
226	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
227	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
228	esac;
229
230$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
231	$(SHELL) ./config.status --recheck
232
233$(top_srcdir)/configure:  $(am__configure_deps)
234	cd $(srcdir) && $(AUTOCONF)
235$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
236	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
237freebsd/Makefile: $(top_builddir)/config.status $(top_srcdir)/freebsd/Makefile.in
238	cd $(top_builddir) && $(SHELL) ./config.status $@
239mp3plot.spec: $(top_builddir)/config.status $(srcdir)/mp3plot.spec.in
240	cd $(top_builddir) && $(SHELL) ./config.status $@
241doxygen.cfg: $(top_builddir)/config.status $(srcdir)/doxygen.cfg.in
242	cd $(top_builddir) && $(SHELL) ./config.status $@
243
244# This directory's subdirectories are mostly independent; you can cd
245# into them and run `make' without going through this Makefile.
246# To change the values of `make' variables: instead of editing Makefiles,
247# (1) if the variable is set in `config.status', edit `config.status'
248#     (which will cause the Makefiles to be regenerated when you run `make');
249# (2) otherwise, pass the desired values on the `make' command line.
250$(RECURSIVE_TARGETS):
251	@failcom='exit 1'; \
252	for f in x $$MAKEFLAGS; do \
253	  case $$f in \
254	    *=* | --[!k]*);; \
255	    *k*) failcom='fail=yes';; \
256	  esac; \
257	done; \
258	dot_seen=no; \
259	target=`echo $@ | sed s/-recursive//`; \
260	list='$(SUBDIRS)'; for subdir in $$list; do \
261	  echo "Making $$target in $$subdir"; \
262	  if test "$$subdir" = "."; then \
263	    dot_seen=yes; \
264	    local_target="$$target-am"; \
265	  else \
266	    local_target="$$target"; \
267	  fi; \
268	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
269	  || eval $$failcom; \
270	done; \
271	if test "$$dot_seen" = "no"; then \
272	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
273	fi; test -z "$$fail"
274
275$(RECURSIVE_CLEAN_TARGETS):
276	@failcom='exit 1'; \
277	for f in x $$MAKEFLAGS; do \
278	  case $$f in \
279	    *=* | --[!k]*);; \
280	    *k*) failcom='fail=yes';; \
281	  esac; \
282	done; \
283	dot_seen=no; \
284	case "$@" in \
285	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
286	  *) list='$(SUBDIRS)' ;; \
287	esac; \
288	rev=''; for subdir in $$list; do \
289	  if test "$$subdir" = "."; then :; else \
290	    rev="$$subdir $$rev"; \
291	  fi; \
292	done; \
293	rev="$$rev ."; \
294	target=`echo $@ | sed s/-recursive//`; \
295	for subdir in $$rev; do \
296	  echo "Making $$target in $$subdir"; \
297	  if test "$$subdir" = "."; then \
298	    local_target="$$target-am"; \
299	  else \
300	    local_target="$$target"; \
301	  fi; \
302	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
303	  || eval $$failcom; \
304	done && test -z "$$fail"
305tags-recursive:
306	list='$(SUBDIRS)'; for subdir in $$list; do \
307	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
308	done
309ctags-recursive:
310	list='$(SUBDIRS)'; for subdir in $$list; do \
311	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
312	done
313
314ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
315	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
316	unique=`for i in $$list; do \
317	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
318	  done | \
319	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
320	      END { if (nonempty) { for (i in files) print i; }; }'`; \
321	mkid -fID $$unique
322tags: TAGS
323
324TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
325		$(TAGS_FILES) $(LISP)
326	tags=; \
327	here=`pwd`; \
328	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
329	  include_option=--etags-include; \
330	  empty_fix=.; \
331	else \
332	  include_option=--include; \
333	  empty_fix=; \
334	fi; \
335	list='$(SUBDIRS)'; for subdir in $$list; do \
336	  if test "$$subdir" = .; then :; else \
337	    test ! -f $$subdir/TAGS || \
338	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
339	  fi; \
340	done; \
341	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
342	unique=`for i in $$list; do \
343	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
344	  done | \
345	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
346	      END { if (nonempty) { for (i in files) print i; }; }'`; \
347	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
348	  test -n "$$unique" || unique=$$empty_fix; \
349	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
350	    $$tags $$unique; \
351	fi
352ctags: CTAGS
353CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
354		$(TAGS_FILES) $(LISP)
355	tags=; \
356	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
357	unique=`for i in $$list; do \
358	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
359	  done | \
360	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
361	      END { if (nonempty) { for (i in files) print i; }; }'`; \
362	test -z "$(CTAGS_ARGS)$$tags$$unique" \
363	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
364	     $$tags $$unique
365
366GTAGS:
367	here=`$(am__cd) $(top_builddir) && pwd` \
368	  && cd $(top_srcdir) \
369	  && gtags -i $(GTAGS_ARGS) $$here
370
371distclean-tags:
372	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
373
374distdir: $(DISTFILES)
375	$(am__remove_distdir)
376	test -d $(distdir) || mkdir $(distdir)
377	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
378	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
379	list='$(DISTFILES)'; \
380	  dist_files=`for file in $$list; do echo $$file; done | \
381	  sed -e "s|^$$srcdirstrip/||;t" \
382	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
383	case $$dist_files in \
384	  */*) $(MKDIR_P) `echo "$$dist_files" | \
385			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
386			   sort -u` ;; \
387	esac; \
388	for file in $$dist_files; do \
389	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
390	  if test -d $$d/$$file; then \
391	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
392	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
393	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
394	    fi; \
395	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
396	  else \
397	    test -f $(distdir)/$$file \
398	    || cp -p $$d/$$file $(distdir)/$$file \
399	    || exit 1; \
400	  fi; \
401	done
402	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
403	  if test "$$subdir" = .; then :; else \
404	    test -d "$(distdir)/$$subdir" \
405	    || $(MKDIR_P) "$(distdir)/$$subdir" \
406	    || exit 1; \
407	    distdir=`$(am__cd) $(distdir) && pwd`; \
408	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
409	    (cd $$subdir && \
410	      $(MAKE) $(AM_MAKEFLAGS) \
411	        top_distdir="$$top_distdir" \
412	        distdir="$$distdir/$$subdir" \
413		am__remove_distdir=: \
414		am__skip_length_check=: \
415	        distdir) \
416	      || exit 1; \
417	  fi; \
418	done
419	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
420	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
421	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
422	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
423	|| chmod -R a+r $(distdir)
424dist-gzip: distdir
425	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
426	$(am__remove_distdir)
427
428dist-bzip2: distdir
429	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
430	$(am__remove_distdir)
431
432dist-lzma: distdir
433	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
434	$(am__remove_distdir)
435
436dist-tarZ: distdir
437	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
438	$(am__remove_distdir)
439
440dist-shar: distdir
441	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
442	$(am__remove_distdir)
443
444dist-zip: distdir
445	-rm -f $(distdir).zip
446	zip -rq $(distdir).zip $(distdir)
447	$(am__remove_distdir)
448
449dist dist-all: distdir
450	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
451	$(am__remove_distdir)
452
453# This target untars the dist file and tries a VPATH configuration.  Then
454# it guarantees that the distribution is self-contained by making another
455# tarfile.
456distcheck: dist
457	case '$(DIST_ARCHIVES)' in \
458	*.tar.gz*) \
459	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
460	*.tar.bz2*) \
461	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
462	*.tar.lzma*) \
463	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
464	*.tar.Z*) \
465	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
466	*.shar.gz*) \
467	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
468	*.zip*) \
469	  unzip $(distdir).zip ;;\
470	esac
471	chmod -R a-w $(distdir); chmod a+w $(distdir)
472	mkdir $(distdir)/_build
473	mkdir $(distdir)/_inst
474	chmod a-w $(distdir)
475	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
476	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
477	  && cd $(distdir)/_build \
478	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
479	    $(DISTCHECK_CONFIGURE_FLAGS) \
480	  && $(MAKE) $(AM_MAKEFLAGS) \
481	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
482	  && $(MAKE) $(AM_MAKEFLAGS) check \
483	  && $(MAKE) $(AM_MAKEFLAGS) install \
484	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
485	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
486	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
487	        distuninstallcheck \
488	  && chmod -R a-w "$$dc_install_base" \
489	  && ({ \
490	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
491	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
492	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
493	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
494	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
495	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
496	  && rm -rf "$$dc_destdir" \
497	  && $(MAKE) $(AM_MAKEFLAGS) dist \
498	  && rm -rf $(DIST_ARCHIVES) \
499	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
500	$(am__remove_distdir)
501	@(echo "$(distdir) archives ready for distribution: "; \
502	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
503	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
504distuninstallcheck:
505	@cd $(distuninstallcheck_dir) \
506	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
507	   || { echo "ERROR: files left after uninstall:" ; \
508	        if test -n "$(DESTDIR)"; then \
509	          echo "  (check DESTDIR support)"; \
510	        fi ; \
511	        $(distuninstallcheck_listfiles) ; \
512	        exit 1; } >&2
513distcleancheck: distclean
514	@if test '$(srcdir)' = . ; then \
515	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
516	  exit 1 ; \
517	fi
518	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
519	  || { echo "ERROR: files left in build directory after distclean:" ; \
520	       $(distcleancheck_listfiles) ; \
521	       exit 1; } >&2
522check-am: all-am
523check: check-recursive
524all-am: Makefile
525installdirs: installdirs-recursive
526installdirs-am:
527install: install-recursive
528install-exec: install-exec-recursive
529install-data: install-data-recursive
530uninstall: uninstall-recursive
531
532install-am: all-am
533	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
534
535installcheck: installcheck-recursive
536install-strip:
537	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
538	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
539	  `test -z '$(STRIP)' || \
540	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
541mostlyclean-generic:
542
543clean-generic:
544
545distclean-generic:
546	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
547
548maintainer-clean-generic:
549	@echo "This command is intended for maintainers to use"
550	@echo "it deletes files that may require special tools to rebuild."
551clean: clean-recursive
552
553clean-am: clean-generic mostlyclean-am
554
555distclean: distclean-recursive
556	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
557	-rm -f Makefile
558distclean-am: clean-am distclean-generic distclean-tags
559
560dvi: dvi-recursive
561
562dvi-am:
563
564html: html-recursive
565
566info: info-recursive
567
568info-am:
569
570install-data-am:
571
572install-dvi: install-dvi-recursive
573
574install-exec-am:
575
576install-html: install-html-recursive
577
578install-info: install-info-recursive
579
580install-man:
581
582install-pdf: install-pdf-recursive
583
584install-ps: install-ps-recursive
585
586installcheck-am:
587
588maintainer-clean: maintainer-clean-recursive
589	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
590	-rm -rf $(top_srcdir)/autom4te.cache
591	-rm -f Makefile
592maintainer-clean-am: distclean-am maintainer-clean-generic
593
594mostlyclean: mostlyclean-recursive
595
596mostlyclean-am: mostlyclean-generic
597
598pdf: pdf-recursive
599
600pdf-am:
601
602ps: ps-recursive
603
604ps-am:
605
606uninstall-am:
607
608.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
609	install-strip
610
611.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
612	all all-am am--refresh check check-am clean clean-generic \
613	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
614	dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
615	distclean-generic distclean-tags distcleancheck distdir \
616	distuninstallcheck dvi dvi-am html html-am info info-am \
617	install install-am install-data install-data-am install-dvi \
618	install-dvi-am install-exec install-exec-am install-html \
619	install-html-am install-info install-info-am install-man \
620	install-pdf install-pdf-am install-ps install-ps-am \
621	install-strip installcheck installcheck-am installdirs \
622	installdirs-am maintainer-clean maintainer-clean-generic \
623	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
624	tags-recursive uninstall uninstall-am
625
626
627static:
628	$(MAKE) CXXFLAGS="$(CXXFLAGS) -static"
629
630docs:
631	doxygen doxygen.cfg
632
633#mp3plot.1:
634#	$(MAKE) -C src $@
635#
636#mp3plot-manpage.pdf:
637#	$(MAKE) -C src $@
638
639staticpkg: static
640	@MKDIR_P@ $(STATICNAME)
641	cd $(STATICNAME) && \
642		$(LN_S) ../ChangeLog ../README ../COPYING ../src/@PACKAGE@ . && \
643		strip @PACKAGE@
644# Not very portable...
645	fakeroot tar chf - "$(STATICNAME)" --label='@PACKAGE@ @VERSION@ <@UPSTREAM_URL@>' | \
646		   GZIP=$(GZIP_ENV) gzip -c >$(STATICNAME).tar.gz
647	$(RM) -r $(STATICNAME)
648
649# Aliases
650doxygen: docs
651dox: docs
652
653# RPM generation
654# To check a generated rpm:
655# $ rpm -p file.rpm -qi	# Information
656# $ rpm -p file.rpm -ql # List of files
657rpm-pkg:
658	rpmbuild -bb mp3plot.spec
659
660# The distinfo file contains the hashes of the distribution tarball, on FreeBSD
661# systems it is created by putting the tarball in /usr/ports/distfiles and
662# running make makesum on the port dir. It can obviously not be part of the tarball,
663# this rule creates a fake of it
664# This rule is meant to be run from my devel box, I won't try to make it portable
665freebsd/distinfo: @PACKAGE@-@VERSION@.tar.gz
666	@echo "MD5 (@PACKAGE@-@VERSION@.tar.gz) = $(shell md5sum @PACKAGE@-@VERSION@.tar.gz | sed 's/ .*//')" >$@
667	@echo "SHA256 (@PACKAGE@-@VERSION@.tar.gz) = $(shell sha256sum @PACKAGE@-@VERSION@.tar.gz | sed 's/ .*//')" >>$@
668	@echo "SIZE (@PACKAGE@-@VERSION@.tar.gz) = $(shell du --bytes @PACKAGE@-@VERSION@.tar.gz | sed 's/[^0-9].*//')" >>$@
669
670# This creates a port-@VERSION@.tar.gz file that can be decompressed directly
671# over the FreeBSD port directory for mp3plot to update it
672port: freebsd/distinfo
673	@tar --numeric-owner -C freebsd -zcvf port-@VERSION@.tar.gz Makefile pkg-descr distinfo
674
675.PHONY: rpm-pkg port
676
677# vim:set ts=4 noet ai: #
678# Tell versions [3.59,3.63) of GNU make to not export all variables.
679# Otherwise a system limit (for SysV at least) may be exceeded.
680.NOEXPORT:
681