# 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@
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@
ARTSC_CONFIG = @ARTSC_CONFIG@
ARTSDIR = @ARTSDIR@
ARTS_CFLAGS = @ARTS_CFLAGS@
ARTS_LIBS = @ARTS_LIBS@
AS = @AS@
CC = @CC@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSL_BINARY_AGE = @CSL_BINARY_AGE@
CSL_BYTE_ORDER = @CSL_BYTE_ORDER@
CSL_FEATURE_ARTS = @CSL_FEATURE_ARTS@
CSL_INTERFACE_AGE = @CSL_INTERFACE_AGE@
CSL_MAJOR_VERSION = @CSL_MAJOR_VERSION@
CSL_MICRO_VERSION = @CSL_MICRO_VERSION@
CSL_MINOR_VERSION = @CSL_MINOR_VERSION@
CSL_VERSION = @CSL_VERSION@
CXX = @CXX@
CXXCPP = @CXXCPP@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
LDFLAGS = @LDFLAGS@
LIBTOOL = @LIBTOOL@
LIBTOOL_EXPORT_OPTIONS = @LIBTOOL_EXPORT_OPTIONS@
LN_S = @LN_S@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_RELEASE = @LT_RELEASE@
LT_REVISION = @LT_REVISION@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
STRIP = @STRIP@
STRIP_BEGIN = @STRIP_BEGIN@
STRIP_DUMMY = @STRIP_DUMMY@
STRIP_END = @STRIP_END@
VERSION = @VERSION@

libdir = $(ARTSDIR)/lib
ARTSINCLUDE = $(ARTSDIR)/include/arts
mcoptypedir = $(ARTSDIR)/lib/mcop
mcopclassdir = $(mcoptypedir)/CSL

INCLUDES = -I$(top_srcdir) -I$(ARTSINCLUDE) # $(ARTS_CFLAGS)

# misc
EXTRA_HEADERS = 

# keep static DATA
EXTRA_DIST =  adapter_impl.h stream_impl.h playsample_impl.h $(mcoptype_DATA) $(mcopclass_DATA)

# libraries to build and install
@CSL_BUILD_ARTS_TRUE@lib_LTLIBRARIES = libcslarts.la

# libtool stuff: set version and export symbols for resolving
libcslarts_la_LDFLAGS = @STRIP_BEGIN@ 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) 	-release $(LT_RELEASE) 	-export-dynamic 	@LIBTOOL_EXPORT_OPTIONS@ 	-module -no-undefined @STRIP_END@

libcslarts_la_LIBADD = -L$(ARTSDIR)/lib -lartsflow -lartsflow_idl -lmcop -ldl
libcslartsincludedir = $(ARTSDIR)/include/cslarts

# CSLARTS file setup
cslarts_headers = @STRIP_BEGIN@		cslarts.idl			cslarts.h		@STRIP_END@

cslarts_c_sources =  	cslarts.cc			adapter_impl.cc			stream_impl.cc			playsample_impl.cc


# setup CSLARTS automake variables
libcslarts_la_SOURCES = $(cslarts_c_sources)
libcslartsinclude_HEADERS = $(cslarts_headers)
MAINTAINERCLEANFILES = cslarts.cc cslarts.h cslarts.mcoptype cslarts.mcopclass
mcoptype_DATA = cslarts.mcoptype cslarts.mcopclass

# class files
mcopclass_DATA = Adapter.mcopclass

# programs not to install
@CSL_BUILD_ARTS_TRUE@noinst_PROGRAMS = mcopcheader cslcatcxx cslreccxx cslplaycxx
mcopcheader_SOURCES = mcopcheader.cc
mcopcheader_LDADD = -L$(libdir) -lmcop
cslplaycxx_SOURCES = cslplaycxx.cc
cslplaycxx_LDADD = -L$(libdir) libcslarts.la -lsoundserver_idl
cslcatcxx_SOURCES = cslcatcxx.cc
cslcatcxx_LDADD = -L$(libdir) libcslarts.la -lsoundserver_idl
cslreccxx_SOURCES = cslreccxx.cc
cslreccxx_LDADD = -L$(libdir) libcslarts.la -lsoundserver_idl
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../CSL_config.h
CONFIG_CLEAN_FILES = 
LTLIBRARIES =  $(lib_LTLIBRARIES)


DEFS = @DEFS@ -I. -I$(srcdir) -I..
LIBS = @LIBS@
libcslarts_la_DEPENDENCIES = 
libcslarts_la_OBJECTS =  cslarts.lo adapter_impl.lo stream_impl.lo \
playsample_impl.lo
@CSL_BUILD_ARTS_TRUE@noinst_PROGRAMS =  mcopcheader$(EXEEXT) \
@CSL_BUILD_ARTS_TRUE@cslcatcxx$(EXEEXT) cslreccxx$(EXEEXT) \
@CSL_BUILD_ARTS_TRUE@cslplaycxx$(EXEEXT)
PROGRAMS =  $(noinst_PROGRAMS)

mcopcheader_OBJECTS =  mcopcheader.$(OBJEXT)
mcopcheader_DEPENDENCIES = 
mcopcheader_LDFLAGS = 
cslcatcxx_OBJECTS =  cslcatcxx.$(OBJEXT)
cslcatcxx_DEPENDENCIES =  libcslarts.la
cslcatcxx_LDFLAGS = 
cslreccxx_OBJECTS =  cslreccxx.$(OBJEXT)
cslreccxx_DEPENDENCIES =  libcslarts.la
cslreccxx_LDFLAGS = 
cslplaycxx_OBJECTS =  cslplaycxx.$(OBJEXT)
cslplaycxx_DEPENDENCIES =  libcslarts.la
cslplaycxx_LDFLAGS = 
CXXFLAGS = @CXXFLAGS@
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
DATA =  $(mcopclass_DATA) $(mcoptype_DATA)

HEADERS =  $(libcslartsinclude_HEADERS)

DIST_COMMON =  ChangeLog Makefile.am Makefile.in TODO


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

TAR = tar
GZIP_ENV = --best
SOURCES = $(libcslarts_la_SOURCES) $(mcopcheader_SOURCES) $(cslcatcxx_SOURCES) $(cslreccxx_SOURCES) $(cslplaycxx_SOURCES)
OBJECTS = $(libcslarts_la_OBJECTS) $(mcopcheader_OBJECTS) $(cslcatcxx_OBJECTS) $(cslreccxx_OBJECTS) $(cslplaycxx_OBJECTS)

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

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


mostlyclean-libLTLIBRARIES:

clean-libLTLIBRARIES:
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)

distclean-libLTLIBRARIES:

maintainer-clean-libLTLIBRARIES:

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

uninstall-libLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$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:

libcslarts.la: $(libcslarts_la_OBJECTS) $(libcslarts_la_DEPENDENCIES)
	$(CXXLINK) -rpath $(libdir) $(libcslarts_la_LDFLAGS) $(libcslarts_la_OBJECTS) $(libcslarts_la_LIBADD) $(LIBS)

mostlyclean-noinstPROGRAMS:

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

distclean-noinstPROGRAMS:

maintainer-clean-noinstPROGRAMS:

mcopcheader$(EXEEXT): $(mcopcheader_OBJECTS) $(mcopcheader_DEPENDENCIES)
	@rm -f mcopcheader$(EXEEXT)
	$(CXXLINK) $(mcopcheader_LDFLAGS) $(mcopcheader_OBJECTS) $(mcopcheader_LDADD) $(LIBS)

cslcatcxx$(EXEEXT): $(cslcatcxx_OBJECTS) $(cslcatcxx_DEPENDENCIES)
	@rm -f cslcatcxx$(EXEEXT)
	$(CXXLINK) $(cslcatcxx_LDFLAGS) $(cslcatcxx_OBJECTS) $(cslcatcxx_LDADD) $(LIBS)

cslreccxx$(EXEEXT): $(cslreccxx_OBJECTS) $(cslreccxx_DEPENDENCIES)
	@rm -f cslreccxx$(EXEEXT)
	$(CXXLINK) $(cslreccxx_LDFLAGS) $(cslreccxx_OBJECTS) $(cslreccxx_LDADD) $(LIBS)

cslplaycxx$(EXEEXT): $(cslplaycxx_OBJECTS) $(cslplaycxx_DEPENDENCIES)
	@rm -f cslplaycxx$(EXEEXT)
	$(CXXLINK) $(cslplaycxx_LDFLAGS) $(cslplaycxx_OBJECTS) $(cslplaycxx_LDADD) $(LIBS)
.cc.o:
	$(CXXCOMPILE) -c $<
.cc.obj:
	$(CXXCOMPILE) -c `cygpath -w $<`
.cc.lo:
	$(LTCXXCOMPILE) -c $<

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

uninstall-mcopclassDATA:
	@$(NORMAL_UNINSTALL)
	list='$(mcopclass_DATA)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(mcopclassdir)/$$p; \
	done

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

uninstall-mcoptypeDATA:
	@$(NORMAL_UNINSTALL)
	list='$(mcoptype_DATA)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(mcoptypedir)/$$p; \
	done

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

uninstall-libcslartsincludeHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(libcslartsinclude_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(libcslartsincludedir)/$$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 = adapter

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
adapter_impl.lo adapter_impl.o : adapter_impl.cc adapter_impl.h \
	cslarts.h stream_impl.h playsample_impl.h
cslarts.lo cslarts.o : cslarts.cc cslarts.h
cslcatcxx.o: cslcatcxx.cc cslarts.h
cslplaycxx.o: cslplaycxx.cc cslarts.h
cslreccxx.o: cslreccxx.cc cslarts.h
mcopcheader.o: mcopcheader.cc
playsample_impl.lo playsample_impl.o : playsample_impl.cc \
	playsample_impl.h cslarts.h adapter_impl.h
stream_impl.lo stream_impl.o : stream_impl.cc stream_impl.h cslarts.h \
	adapter_impl.h

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-libLTLIBRARIES
install-exec: install-exec-am

install-data-am: install-mcopclassDATA install-mcoptypeDATA \
		install-libcslartsincludeHEADERS
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLTLIBRARIES uninstall-mcopclassDATA \
		uninstall-mcoptypeDATA \
		uninstall-libcslartsincludeHEADERS
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(mcopclassdir) \
		$(DESTDIR)$(mcoptypedir) \
		$(DESTDIR)$(libcslartsincludedir)


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:
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
		mostlyclean-libtool mostlyclean-noinstPROGRAMS \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool \
		clean-noinstPROGRAMS clean-tags clean-generic \
		mostlyclean-am

clean: clean-am

distclean-am:  distclean-libLTLIBRARIES distclean-compile \
		distclean-libtool distclean-noinstPROGRAMS \
		distclean-tags distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@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-libLTLIBRARIES distclean-libLTLIBRARIES \
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
distclean-compile clean-compile maintainer-clean-compile \
mostlyclean-libtool distclean-libtool clean-libtool \
maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
distclean-noinstPROGRAMS clean-noinstPROGRAMS \
maintainer-clean-noinstPROGRAMS uninstall-mcopclassDATA \
install-mcopclassDATA uninstall-mcoptypeDATA install-mcoptypeDATA \
uninstall-libcslartsincludeHEADERS install-libcslartsincludeHEADERS \
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


# idl generation and installation
cslarts.cc: cslarts.idl
	mcopidl -t -I$(ARTSINCLUDE) cslarts.idl
cslarts.mcoptype cslarts.mcopclass:	cslarts.cc	;

# junk
#kdoc:
#	rm -rf doc
#	mkdir doc
#	cd doc ; kdoc ../cslarts.idl
#libcslarts.la.closure: $(OBJS)
#	echo 'main() { }' > libcslarts.la.closure.cc
#	$(LIBTOOL) g++ -o libcslarts.la.closure libcslarts.la.closure.cc $(OBJS) $(LIBS)
#	rm libcslarts.la.closure.cc
#clean:
#	rm -f *.la.closure

# 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:
