#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
BUILDDIR = ../..
CPLUSPLUSLIBRARY = true
# include defines for sound
# support for different mixer provider files on different platforms
# Mixer Service Provider Additional path
#MXSPP_ADD =
#
# Add use of mapfile
#
#
# Files
#
# add java files
#
# Files that just need cp.
#
FILES_copy = \
FILES_mkdirs = \
FILES_copydirs = \
$(CLASSBINDIR) \
$(LIBDIR) \
$(FILES_mkdirs)
#
# system dependent flags
#
# Windows always provides MIDI and ports
# DirectSound handles directaudio (both i586 and amd64)
#MXSPP_ADD = $(PLATFORM)-$(ARCH)/
endif # PLATFORM win32
# ALSA handles directaudio, ports, and MIDI
#MXSPP_ADD = $(PLATFORM)-$(ARCH)/
endif # PLATFORM linux
-DUSE_DAUDIO=TRUE \
# build with ports and direct audio
# build with empty MIDI i/o
endif # PLATFORM solaris
# for dynamic inclusion of extra sound libs: these
# JNI libs will be loaded from Platform.java
# integrate MIDI i/o in jsound lib
FILES_c += $(MIDIFILES_c)
FILES_export += $(MIDIFILES_export)
# integrate port files in jsound lib
FILES_c += $(PORTFILES_c)
FILES_export += $(PORTFILES_export)
# integrate port files in jsound lib
FILES_c += $(DAUDIOFILES_c)
#
#
CPPFLAGS += \
else
#
# Add to the ambient VPATH.
#
#
# Include rules
#
#
# Rules that copy files.
#
# $(install-file)
#
# Since we build more than the javax.sound (as stated in the
# PACKAGE variable), we need to nuke the extra packages explicitly.
#
$(RM) $(FILES_copy)
#
# Declare extra phony targets.
#