# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ../..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
ALSA_CFLAGS = @ALSA_CFLAGS@
ALSA_LIBS = @ALSA_LIBS@
AS = @AS@
BUILD_GUILE = @BUILD_GUILE@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
ESD_CFLAGS = @ESD_CFLAGS@
ESD_CONFIG = @ESD_CONFIG@
ESD_LIBS = @ESD_LIBS@
EXEEXT = @EXEEXT@
GENCAT = @GENCAT@
GLAME_AUDIO_CFLAGS = @GLAME_AUDIO_CFLAGS@
GLAME_AUDIO_LIBS = @GLAME_AUDIO_LIBS@
GLAME_CFLAGS = @GLAME_CFLAGS@
GLAME_DCFLAGS = @GLAME_DCFLAGS@
GLAME_DLIBS = @GLAME_DLIBS@
GLAME_FFT_LIBS = @GLAME_FFT_LIBS@
GLAME_LIBS = @GLAME_LIBS@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNOMEUI_LIBS = @GNOMEUI_LIBS@
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@
GNOME_CONFIG = @GNOME_CONFIG@
GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@
GNOME_LIBDIR = @GNOME_LIBDIR@
GNOME_LIBS = @GNOME_LIBS@
GUILE_INCS = @GUILE_INCS@
GUILE_LIBS = @GUILE_LIBS@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LADSPA_CFLAGS = @LADSPA_CFLAGS@
LIBICONV = @LIBICONV@
LIBLTDL = @LIBLTDL@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTDLINCL = @LTDLINCL@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@
PTHREAD_CC = @PTHREAD_CC@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
RANLIB = @RANLIB@
SGIAUDIO_LIBS = @SGIAUDIO_LIBS@
STRIP = @STRIP@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
XML2_CONFIG = @XML2_CONFIG@
XML_CFLAGS = @XML_CFLAGS@
XML_CONFIG = @XML_CONFIG@
XML_LIBS = @XML_LIBS@
ZVT_LIBS = @ZVT_LIBS@
ac_libglade_config = @ac_libglade_config@
afconfig = @afconfig@
pkgpixmapsdir = @pkgpixmapsdir@
pkgscriptsdir = @pkgscriptsdir@

INCLUDES = -I@top_srcdir@/src/include -I@top_srcdir@/src/swapfile -I@top_srcdir@/src/hash -I@top_srcdir@/src/glmid -I@top_srcdir@/src/filter -I@top_srcdir@/src/gui $(GLAME_DCFLAGS) $(GLAME_AUDIO_CFLAGS) $(GUILE_INCS) -D_REENTRANT $(GNOME_INCLUDEDIR) $(GNOMEUI_CFLAGS) $(XML_CFLAGS)

EXTRA_DIST = basic.c basic_sample.c arithmetic.c 	swapfile_io.c audio_io.c file_io.c waveform.c 	ssp.c normalize.c fft_plugins.c 	echo.c debug.c tutorial.c 	nold.c maggy.c noisegate.c pan.c pipe.c 	iir.c flanger.c distortion.c 	audio_io_oss.c audio_io_esd.c audio_io_alsa.c audio_io_alsa_v050.c 	audio_io_alsa_v090.c audio_io_irix.c 	echo2.scm resample.scm bassboost.scm read_mp3.scm 	fader.c builtins.c


# macro filters
pkgscripts_DATA = echo2.scm resample.scm bassboost.scm read_mp3.scm

# builtin filters
noinst_LTLIBRARIES = libglamebuiltins.la

# for each optional plugin we can have build dependencies

@HAVE_FFTW_TRUE@fft_plugins_plugin = fft_plugins.la
@HAVE_OSS_TRUE@audio_io_oss = audio_io_oss.la
@HAVE_ALSA_TRUE@audio_io_alsa = audio_io_alsa.la
@HAVE_ESD_TRUE@audio_io_esd = audio_io_esd.la
@HAVE_SGI_TRUE@audio_io_irix = audio_io_irix.la
@HAVE_GNOME_TRUE@normalize = normalize.la

# builtin plugins - everything is builtin that does not depend
# on optional libraries
libglamebuiltins_la_SOURCES = basic.c basic_sample.c 	swapfile_io.c audio_io.c file_io.c 	arithmetic.c waveform.c ssp.c echo.c noisegate.c 	pan.c pipe.c iir.c flanger.c distortion.c 	fader.c

libglamebuiltins_la_LDFLAGS = -export-dynamic $(GLAME_AUDIO_LIBS)
libglamebuiltins_la_DEPENDENCIES = builtins.c

# real plugins (depending on optional stuff)
pkglib_LTLIBRARIES =  	debug.la tutorial.la 	$(normalize) 	$(audio_io_oss) $(audio_io_alsa) $(audio_io_esd) $(audio_io_irix) 	$(fft_plugins_plugin)


debug_la_SOURCES = debug.c
debug_la_LDFLAGS = -module -avoid-version

tutorial_la_SOURCES = tutorial.c
tutorial_la_LDFLAGS = -module -avoid-version

@HAVE_FFTW_TRUE@fft_plugins_la_SOURCES = fft_plugins.c
fft_plugins_la_LDFLAGS = -module -avoid-version $(GLAME_FFT_LIBS)

@HAVE_OSS_TRUE@audio_io_oss_la_SOURCES = audio_io_oss.c audio_io.h
audio_io_oss_la_LDFLAGS = -module -avoid-version

@HAVE_ESD_TRUE@audio_io_esd_la_SOURCES = audio_io_esd.c audio_io.h
audio_io_esd_la_LDFLAGS = -module -avoid-version $(ESD_LIBS)

@HAVE_ALSA_TRUE@audio_io_alsa_la_SOURCES = audio_io_alsa.c audio_io.h
audio_io_alsa_la_LDFLAGS = -module -avoid-version $(ALSA_LIBS)

@HAVE_SGI_TRUE@audio_io_irix_la_SOURCES = audio_io_irix.c audio_io.h
audio_io_irix_la_LDFLAGS = -module -avoid-version $(SGIAUDIO_LIBS)

@HAVE_GNOME_TRUE@normalize_la_SOURCES = normalize.c
normalize_la_LDFLAGS = -module -avoid-version $(GNOME_LIBDIR) $(GNOME_LIBS) $(GNOMEUI_LIBS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES = 
LTLIBRARIES =  $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES)


DEFS = @DEFS@ -I. -I$(srcdir) -I../..
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libglamebuiltins_la_LIBADD = 
libglamebuiltins_la_OBJECTS =  basic.lo basic_sample.lo swapfile_io.lo \
audio_io.lo file_io.lo arithmetic.lo waveform.lo ssp.lo echo.lo \
noisegate.lo pan.lo pipe.lo iir.lo flanger.lo distortion.lo fader.lo
debug_la_LIBADD = 
debug_la_OBJECTS =  debug.lo
tutorial_la_LIBADD = 
tutorial_la_OBJECTS =  tutorial.lo
normalize_la_LIBADD = 
@HAVE_GNOME_TRUE@normalize_la_OBJECTS =  normalize.lo
audio_io_oss_la_LIBADD = 
@HAVE_OSS_TRUE@audio_io_oss_la_OBJECTS =  audio_io_oss.lo
audio_io_alsa_la_LIBADD = 
@HAVE_ALSA_TRUE@audio_io_alsa_la_OBJECTS =  audio_io_alsa.lo
audio_io_esd_la_LIBADD = 
@HAVE_ESD_TRUE@audio_io_esd_la_OBJECTS =  audio_io_esd.lo
audio_io_irix_la_LIBADD = 
@HAVE_SGI_TRUE@audio_io_irix_la_OBJECTS =  audio_io_irix.lo
fft_plugins_la_LIBADD = 
@HAVE_FFTW_TRUE@fft_plugins_la_OBJECTS =  fft_plugins.lo
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DATA =  $(pkgscripts_DATA)

DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = tar
GZIP_ENV = --best
SOURCES = $(libglamebuiltins_la_SOURCES) $(debug_la_SOURCES) $(tutorial_la_SOURCES) $(normalize_la_SOURCES) $(audio_io_oss_la_SOURCES) $(audio_io_alsa_la_SOURCES) $(audio_io_esd_la_SOURCES) $(audio_io_irix_la_SOURCES) $(fft_plugins_la_SOURCES)
OBJECTS = $(libglamebuiltins_la_OBJECTS) $(debug_la_OBJECTS) $(tutorial_la_OBJECTS) $(normalize_la_OBJECTS) $(audio_io_oss_la_OBJECTS) $(audio_io_alsa_la_OBJECTS) $(audio_io_esd_la_OBJECTS) $(audio_io_irix_la_OBJECTS) $(fft_plugins_la_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/plugins/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-noinstLTLIBRARIES:

clean-noinstLTLIBRARIES:
	-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)

distclean-noinstLTLIBRARIES:

maintainer-clean-noinstLTLIBRARIES:

mostlyclean-pkglibLTLIBRARIES:

clean-pkglibLTLIBRARIES:
	-test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES)

distclean-pkglibLTLIBRARIES:

maintainer-clean-pkglibLTLIBRARIES:

install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
	@list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(pkglibdir)/$$p"; \
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(pkglibdir)/$$p; \
	  else :; fi; \
	done

uninstall-pkglibLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(pkglibdir)/$$p; \
	done

.c.o:
	$(COMPILE) -c $<

# FIXME: We should only use cygpath when building on Windows,
# and only if it is available.
.c.obj:
	$(COMPILE) -c `cygpath -w $<`

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core
	-rm -f *.$(OBJEXT)

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

.c.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

libglamebuiltins.la: $(libglamebuiltins_la_OBJECTS) $(libglamebuiltins_la_DEPENDENCIES)
	$(LINK)  $(libglamebuiltins_la_LDFLAGS) $(libglamebuiltins_la_OBJECTS) $(libglamebuiltins_la_LIBADD) $(LIBS)

debug.la: $(debug_la_OBJECTS) $(debug_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(debug_la_LDFLAGS) $(debug_la_OBJECTS) $(debug_la_LIBADD) $(LIBS)

tutorial.la: $(tutorial_la_OBJECTS) $(tutorial_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(tutorial_la_LDFLAGS) $(tutorial_la_OBJECTS) $(tutorial_la_LIBADD) $(LIBS)

normalize.la: $(normalize_la_OBJECTS) $(normalize_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(normalize_la_LDFLAGS) $(normalize_la_OBJECTS) $(normalize_la_LIBADD) $(LIBS)

audio_io_oss.la: $(audio_io_oss_la_OBJECTS) $(audio_io_oss_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(audio_io_oss_la_LDFLAGS) $(audio_io_oss_la_OBJECTS) $(audio_io_oss_la_LIBADD) $(LIBS)

audio_io_alsa.la: $(audio_io_alsa_la_OBJECTS) $(audio_io_alsa_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(audio_io_alsa_la_LDFLAGS) $(audio_io_alsa_la_OBJECTS) $(audio_io_alsa_la_LIBADD) $(LIBS)

audio_io_esd.la: $(audio_io_esd_la_OBJECTS) $(audio_io_esd_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(audio_io_esd_la_LDFLAGS) $(audio_io_esd_la_OBJECTS) $(audio_io_esd_la_LIBADD) $(LIBS)

audio_io_irix.la: $(audio_io_irix_la_OBJECTS) $(audio_io_irix_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(audio_io_irix_la_LDFLAGS) $(audio_io_irix_la_OBJECTS) $(audio_io_irix_la_LIBADD) $(LIBS)

fft_plugins.la: $(fft_plugins_la_OBJECTS) $(fft_plugins_la_DEPENDENCIES)
	$(LINK) -rpath $(pkglibdir) $(fft_plugins_la_LDFLAGS) $(fft_plugins_la_OBJECTS) $(fft_plugins_la_LIBADD) $(LIBS)

install-pkgscriptsDATA: $(pkgscripts_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgscriptsdir)
	@list='$(pkgscripts_DATA)'; for p in $$list; do \
	  if test -f $(srcdir)/$$p; then \
	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgscriptsdir)/$$p"; \
	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgscriptsdir)/$$p; \
	  else if test -f $$p; then \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgscriptsdir)/$$p"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(pkgscriptsdir)/$$p; \
	  fi; fi; \
	done

uninstall-pkgscriptsDATA:
	@$(NORMAL_UNINSTALL)
	list='$(pkgscripts_DATA)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(pkgscriptsdir)/$$p; \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src/plugins

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done

info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-pkglibLTLIBRARIES
install-exec: install-exec-am

install-data-am: install-pkgscriptsDATA
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-pkglibLTLIBRARIES uninstall-pkgscriptsDATA
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES) $(DATA)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(pkglibdir) $(DESTDIR)$(pkgscriptsdir)


mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-noinstLTLIBRARIES \
		mostlyclean-pkglibLTLIBRARIES mostlyclean-compile \
		mostlyclean-libtool mostlyclean-tags \
		mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES clean-compile \
		clean-libtool clean-tags clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-noinstLTLIBRARIES distclean-pkglibLTLIBRARIES \
		distclean-compile distclean-libtool distclean-tags \
		distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-noinstLTLIBRARIES \
		maintainer-clean-pkglibLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-tags maintainer-clean-generic \
		distclean-am maintainer-clean-local
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \
clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \
mostlyclean-pkglibLTLIBRARIES distclean-pkglibLTLIBRARIES \
clean-pkglibLTLIBRARIES maintainer-clean-pkglibLTLIBRARIES \
uninstall-pkglibLTLIBRARIES install-pkglibLTLIBRARIES \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool uninstall-pkgscriptsDATA \
install-pkgscriptsDATA tags mostlyclean-tags distclean-tags clean-tags \
maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-am install-exec \
install-data-am install-data install-am install uninstall-am uninstall \
all-redirect all-am all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean


builtins.c: $(libglamebuiltins_la_SOURCES) Makefile.am
	rm -f builtins.c
	echo '#include "glplugin.h"' > builtins.c
	for i in $(libglamebuiltins_la_SOURCES); do grep '^int .*_register(' $$i | sed -e 's/int \(.*\)_register(.*)/int \1_register(plugin_t *p);/' >> builtins.c; done
	echo 'void register_builtins() {' >> builtins.c
	echo '	plugin_t *p;' >> builtins.c
	for i in $(libglamebuiltins_la_SOURCES); do grep '^int .*_register(' $$i | sed -e 's/int \(.*\)_register(.*)/	if ((p = plugin_add("\1"))) if (\1_register(p) == -1) _plugin_delete(p);/' >> builtins.c; done
	echo '}' >> builtins.c

maintainer-clean-local:
	rm -f builtins.c

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
