Makefile revision 4845
243N/A#
243N/A# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
243N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
243N/A#
243N/A# This code is free software; you can redistribute it and/or modify it
243N/A# under the terms of the GNU General Public License version 2 only, as
243N/A# published by the Free Software Foundation. Oracle designates this
243N/A# particular file as subject to the "Classpath" exception as provided
243N/A# by Oracle in the LICENSE file that accompanied this code.
243N/A#
243N/A# This code is distributed in the hope that it will be useful, but WITHOUT
243N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
243N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
243N/A# version 2 for more details (a copy is included in the LICENSE file that
243N/A# accompanied this code).
243N/A#
243N/A# You should have received a copy of the GNU General Public License version
243N/A# 2 along with this work; if not, write to the Free Software Foundation,
243N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
243N/A#
243N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
243N/A# or visit www.oracle.com if you need additional information or have any
2899N/A# questions.
243N/A#
243N/A
243N/ABUILDDIR = ../../..
243N/APACKAGE = javax.sound
243N/ALIBRARY = jsoundalsa
2074N/APRODUCT = sun
243N/Ainclude $(BUILDDIR)/common/Defs.gmk
243N/A
844N/A# this Makefile compiles the native files for alsa support in java sound
2074N/A
243N/A# include defines for sound
2074N/Ainclude ../SoundDefs.gmk
1258N/A
243N/A#
2899N/A# Use mapfile
2899N/A#
243N/AFILES_m = mapfile-vers
243N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
243N/A
243N/A#
2074N/A# Files
2074N/A#
2074N/A
2074N/AFILES_c = \
2074N/A Utilities.c \
2148N/A $(DAUDIOFILES_c) \
2148N/A $(MIDIFILES_c) \
2148N/A $(PORTFILES_c)
2148N/A
2148N/A# platform dependent files
243N/AFILES_c += \
2074N/A PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \
2074N/A PLATFORM_API_LinuxOS_ALSA_PCM.c \
2074N/A PLATFORM_API_LinuxOS_ALSA_PCMUtils.c \
2074N/A PLATFORM_API_LinuxOS_ALSA_MidiIn.c \
2074N/A PLATFORM_API_LinuxOS_ALSA_MidiOut.c \
2074N/A PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \
2074N/A PLATFORM_API_LinuxOS_ALSA_Ports.c
2074N/A
2074N/AFILES_export = \
243N/A $(DAUDIOFILES_export) \
243N/A $(MIDIFILES_export) \
243N/A $(PORTFILES_export)
243N/A
243N/AOTHER_LDLIBS += -lasound
243N/A
243N/ACPPFLAGS += \
2074N/A -DUSE_DAUDIO=TRUE \
243N/A -DUSE_PORTS=TRUE \
243N/A -DUSE_PLATFORM_MIDI_OUT=TRUE \
243N/A -DUSE_PLATFORM_MIDI_IN=TRUE \
243N/A -I$(SHARE_SRC)/native/com/sun/media/sound
2074N/A
2074N/A#
2074N/A# Add to the ambient VPATH.
2074N/A#
2074N/Avpath %.c $(SHARE_SRC)/native/com/sun/media/sound
243N/Avpath %.c $(PLATFORM_SRC)/native/com/sun/media/sound
370N/Avpath %.cpp $(PLATFORM_SRC)/native/com/sun/media/sound
243N/A
2074N/A
2074N/A#
2074N/A# Include rules
2074N/A#
2074N/Ainclude $(BUILDDIR)/common/Library.gmk
2074N/A
2074N/A
2074N/A
2074N/A