From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: emufxtool, formerly ld10k1 Date: Wed, 30 Jul 2003 18:14:11 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20030730174134.459ea970.nigu@itadinanta.it> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: multipart/mixed; boundary="Multipart_Wed_Jul_30_18:14:11_2003-1" Return-path: In-Reply-To: <20030730174134.459ea970.nigu@itadinanta.it> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Nicola Orru' Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Wed_Jul_30_18:14:11_2003-1 Content-Type: text/plain; charset=US-ASCII ... ok, i now created a configure script and Makefile.am. attached below. please take a look. Takashi --Multipart_Wed_Jul_30_18:14:11_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="configure.in" Content-Transfer-Encoding: 7bit AC_INIT(emufxtool.C) AM_INIT_AUTOMAKE(emufxtool, 0.2) AC_PROG_CXX AC_PROG_INSTALL AM_PATH_ALSA(0.9.0) dnl kernel header files AC_MSG_CHECKING(for kernel header files) AC_ARG_WITH(kernel, [ --with-kernel=ver specify kernel version (for example 2.5.5-pre1)], [kerneldir="$withval"], [kerneldir=""]) if test "$kerneldir" != "" -a -r "/lib/modules/$kerneldir/build/include/sound"; then kerneldir="/lib/modules/$kerneldir/build/include" AC_MSG_RESULT($kerneldir) else if test -z "$kerneldir"; then AC_MSG_RESULT("not specified") else AC_MSG_RESULT("directory /lib/modules/$kerneldir/build/include/sound not found") fi kerneldir="" fi dnl path for sound/asound.h AC_MSG_CHECKING(for directory with ALSA kernel headers) AC_ARG_WITH(soundbase, [ --with-soundbase=dir specify base directory with kernel sound headers (optional)], [soundbasedir="$withval"], [soundbasedir="$kerneldir"]) if test "$soundbasedir" != "" -a -r "$soundbasedir/sound" ; then ALSA_CFLAGS="$ALSA_CFLAGS -I$soundbasedir" CFLAGS="$CFLAGS -I$soundbasedir" AC_MSG_RESULT($ALSA_CFLAGS) else if test "x$prefix" != xNONE; then aprefix=$prefix else aprefix=$ac_default_prefix fi if test -z "$soundbasedir" -a -r "$aprefix/include/sound"; then ALSA_CFLAGS="$ALSA_CFLAGS -I$aprefix/include" CFLAGS="$CFLAGS -I$aprefix/include" AC_MSG_RESULT($ALSA_CFLAGS) else AC_MSG_RESULT("not specified - using C compilator defaults") fi fi CFLAGS="$CFLAGS $ALSA_CFLAGS" LDFLAGS="$LDFLAGS $ALSA_LIBS" AC_OUTPUT(Makefile) --Multipart_Wed_Jul_30_18:14:11_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="Makefile.am" Content-Transfer-Encoding: 7bit # # Process this file with automake to produce Makefile.in. AUTOMAKE_OPTIONS = 1.3 foreign bin_PROGRAMS = emufxtool emufxtool_SOURCES = \ excep.h asmdefs.h dsp_defs.h \ config.h fx8010asm.h fx8010ioctl.h \ emufxtool.C \ scanner.C scanner.h \ instruction.C instruction.h \ parser.C parser.h \ patch.C patch.h \ dsp.C dsp.h \ strdsp.C strdsp.h __strdup.h \ chunkfile.C chunkfile.h EXTRA_DIST = depcomp COPYING \ README.tex README.txt \ reverse.sym \ constants.as10k1 stddef.as10k1 default.as10k1 fxbus.as10k1 \ inout.as10k1 special.as10k1 types.as10k1 test.as10k1 reverse.emu10k1 README.dvi: README.tex latex README.tex README.pdf: README.dvi dvipdf README.dvi README.ps: README.dvi dvips README.dvi doc: README.ps README.pdf alsa-dist: distdir @rm -rf ../distdir/emufxtool @mkdir -p ../distdir/emufxtool @cp -RLpv $(distdir)/* ../distdir/emufxtool @rm -rf $(distdir) --Multipart_Wed_Jul_30_18:14:11_2003-1-- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01