Sophie

Sophie

distrib > Mandriva > 9.1 > i586 > by-pkgid > 337340dceec90a4d0bbda3b84ec294f5 > files > 11

awesfx-0.4.4-4mdk.i586.rpm

====================================================================
	** INSTALLATION OF UTILIITY PROGRAMS FOR AWEDRV **
====================================================================

* Requirements
--------------

  - AWE32 driver v0.4.3 or newer
  - xmkmf and imake (optional; see below)

AWE32 driver and utilities can be downloaded from:
	http://mitglied.tripod.de/iwai/awedrv.html


* Installation via sample Makefile
----------------------------------

1. Copy Makefile-shared and awelib/Makefile-shared to Makefile and
   awelib/Makefile, respectively.  If you need to create static-
   linked programs, copy Makefile-std and awelib/Makefile-std,
   respectively.
	% cp Makefile-shared Makefile
	% cp awelib/Makefile-shared awelib/Makefile

2. Edit Makefile and awelib/Makefile if necessary.
    + Change INSTDIR in Makefile for different installation directory

3. Edit awelib/config.h
    + Change DEFAULT_SF_PATH for the search path of soundfont files.
    + The system resource file is defined by RCFILE and SYSTEM_RCFILE.
    + MAKE_SHARED_LIBRARY and INSTALL_AWELIB are ignored in this case.

4. Run make and install files
	% make all
	% make install


* Installation via xmkmf
------------------------

1. Edit awelib/config.h

    + Define MAKE_SHARED_LIBRARY to create shared AWElib.
      Comment out it if you won't build shared library.
      Define also INSTALL_AWELIB for installing AWElib on public
      directory.
      (FreeBSD-2.2.8 seems not working with shared-lib.)

2. Edit Imakefile and awelib/Imakefile
    + Change INSTDIR if necessary
    + Specify installation directory of binary programs to BINDIR
      in Imakefile
    + Specify installation directory of AWElib library to LIBDIR
      in awelib/Imakefile

2. Make Makefiles via xmkmf
	% xmkmf
	% make Makefiles

3. Make and install the programs
	% make all
	% make install