All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Nicola Orru' <nigu@itadinanta.it>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: emufxtool, formerly ld10k1
Date: Wed, 30 Jul 2003 18:14:11 +0200	[thread overview]
Message-ID: <s5hy8ygq9f0.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030730174134.459ea970.nigu@itadinanta.it>

[-- Attachment #1: Type: text/plain, Size: 105 bytes --]

... ok, i now created a configure script and Makefile.am.
attached below.  please take a look.


Takashi

[-- Attachment #2: configure.in --]
[-- Type: application/octet-stream, Size: 1547 bytes --]

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)

[-- Attachment #3: Makefile.am --]
[-- Type: application/octet-stream, Size: 896 bytes --]

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

  parent reply	other threads:[~2003-07-30 16:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30 15:41 emufxtool, formerly ld10k1 Nicola Orru'
2003-07-30 15:55 ` Takashi Iwai
2003-07-30 16:14 ` Takashi Iwai [this message]
2003-07-30 16:21 ` Takashi Iwai
     [not found]   ` <20030730185508.3f9eac3d.nigu@itadinanta.it>
     [not found]     ` <s5hr848q74h.wl@alsa2.suse.de>
     [not found]       ` <20030730192029.792cd48d.nigu@itadinanta.it>
2003-07-30 17:26         ` Takashi Iwai
2003-07-30 18:04           ` Nicola Orru'
2003-07-30 18:25             ` Takashi Iwai
2003-07-30 18:47               ` Jaroslav Kysela
2003-07-30 19:10                 ` Jaroslav Kysela
2003-07-30 20:53                   ` Nicola Orru'
2003-07-30 21:50                     ` Nicola Orru'
2003-08-05 13:40                       ` Takashi Iwai
2003-08-07 19:33                         ` Nicola Orru'
  -- strict thread matches above, loose matches on Subject: below --
2003-08-11 10:42 p z oooo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hy8ygq9f0.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=nigu@itadinanta.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.