Makefile revision 2362
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
277e05eebdd1878d86c1edc2538c94c5b42102e4nd#
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawick# This code is free software; you can redistribute it and/or modify it
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawick# under the terms of the GNU General Public License version 2 only, as
f881e72fe4f91fd1445c5d81c95f66d6a4a3ee5btrawick# published by the Free Software Foundation. Oracle designates this
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# particular file as subject to the "Classpath" exception as provided
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# by Oracle in the LICENSE file that accompanied this code.
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd#
d11bf78168abbb07d8ed9f54d7ea0953d46aad83nd# This code is distributed in the hope that it will be useful, but WITHOUT
bf28a00d8218aa76a56eddabca308e8d0e691626nd# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
bf28a00d8218aa76a56eddabca308e8d0e691626nd# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
bf28a00d8218aa76a56eddabca308e8d0e691626nd# version 2 for more details (a copy is included in the LICENSE file that
bf28a00d8218aa76a56eddabca308e8d0e691626nd# accompanied this code).
bf28a00d8218aa76a56eddabca308e8d0e691626nd#
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29nd# You should have received a copy of the GNU General Public License version
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29nd# 2 along with this work; if not, write to the Free Software Foundation,
70f665a8945f3bdfe8bbeaa063de2aa722fc9b29nd# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c08f5a0cf2b8903255186ba998a4481dfac9c796nd#
c08f5a0cf2b8903255186ba998a4481dfac9c796nd# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c08f5a0cf2b8903255186ba998a4481dfac9c796nd# or visit www.oracle.com if you need additional information or have any
c08f5a0cf2b8903255186ba998a4481dfac9c796nd# questions.
74eb1698e66149ff6a24e84ff7b3cfa6c4aeadc8jorton#
74eb1698e66149ff6a24e84ff7b3cfa6c4aeadc8jorton
74eb1698e66149ff6a24e84ff7b3cfa6c4aeadc8jortonBUILDDIR = ../../..
36bad494717b66e385a892ce48eb1621f1707584trawickMODULE = sound
36bad494717b66e385a892ce48eb1621f1707584trawickPACKAGE = javax.sound
36bad494717b66e385a892ce48eb1621f1707584trawickLIBRARY = jsoundalsa
ea60e56f2148c1b65c6eeac1beef7669e829b9abtrawickPRODUCT = sun
ea60e56f2148c1b65c6eeac1beef7669e829b9abtrawickinclude $(BUILDDIR)/common/Defs.gmk
ea60e56f2148c1b65c6eeac1beef7669e829b9abtrawick
eea521297270de3f9ae70d8822f8665c513de574nd# this Makefile compiles the native files for alsa support in java sound
eea521297270de3f9ae70d8822f8665c513de574nd
eea521297270de3f9ae70d8822f8665c513de574nd# include defines for sound
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1ndinclude ../SoundDefs.gmk
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd
5bcdf2cd27ab0c91a3c7eaffbff4cb8505389dc1nd#
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd# Use mapfile
02b0660d7f44ff8106bd5095653e9c19e39ec37dnd#
02b0660d7f44ff8106bd5095653e9c19e39ec37dndFILES_m = mapfile-vers
5b8e35ad88268c0210d93288dad57c2f1d3e8811ndinclude $(BUILDDIR)/common/Mapfile-vers.gmk
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd
5b8e35ad88268c0210d93288dad57c2f1d3e8811nd#
cef53aa8cf0c586c3aa96456e05ae0b786b27441nd# Files
cef53aa8cf0c586c3aa96456e05ae0b786b27441nd#
cef53aa8cf0c586c3aa96456e05ae0b786b27441nd
66824302ace699bd4b28b327f8ffb6e3efe86091ndFILES_c = \
66824302ace699bd4b28b327f8ffb6e3efe86091nd Utilities.c \
66824302ace699bd4b28b327f8ffb6e3efe86091nd $(DAUDIOFILES_c) \
abe63402318c6324f21b669aa0d1ce6ded8e323end $(MIDIFILES_c) \
abe63402318c6324f21b669aa0d1ce6ded8e323end $(PORTFILES_c)
abe63402318c6324f21b669aa0d1ce6ded8e323end
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard# platform dependent files
f06b1de00f96211469a900c08bbe5d63741dadbfstoddardFILES_c += \
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard PLATFORM_API_LinuxOS_ALSA_PCM.c \
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard PLATFORM_API_LinuxOS_ALSA_PCMUtils.c \
f06b1de00f96211469a900c08bbe5d63741dadbfstoddard PLATFORM_API_LinuxOS_ALSA_MidiIn.c \
24a4c5e6b1bef738d5eb25cf8201d6515c42c923trawick PLATFORM_API_LinuxOS_ALSA_MidiOut.c \
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton PLATFORM_API_LinuxOS_ALSA_Ports.c
a9ee8e9bd3dffd23ca49be8d0bdf0e33cd0bcce2jorton
3b86be5b30d5cbacc1f942b05dff8a9365449d30jortonFILES_export = \
8d9494af6ddb7a9c998b1b622e0bcd8d17cac50ejorton $(DAUDIOFILES_export) \
3b86be5b30d5cbacc1f942b05dff8a9365449d30jorton $(MIDIFILES_export) \
46ef178b8f55b794c65491b370974833ce9e621bben $(PORTFILES_export)
46ef178b8f55b794c65491b370974833ce9e621bben
46ef178b8f55b794c65491b370974833ce9e621bbenLDFLAGS += -lasound
7ad8e71125ec66a8ebfaf9e52bd680ce6beca327stoddard
7ad8e71125ec66a8ebfaf9e52bd680ce6beca327stoddardCPPFLAGS += \
7ad8e71125ec66a8ebfaf9e52bd680ce6beca327stoddard -DUSE_DAUDIO=TRUE \
547fb02c28c77b0552d275db0cfd8a119fb2d3f9trawick -DUSE_PORTS=TRUE \
8aad5258d3ecde3751559bc685a3185e63cbde9aianh -DUSE_PLATFORM_MIDI_OUT=TRUE \
8aad5258d3ecde3751559bc685a3185e63cbde9aianh -DUSE_PLATFORM_MIDI_IN=TRUE \
8aad5258d3ecde3751559bc685a3185e63cbde9aianh -I$(SHARE_SRC)/native/com/sun/media/sound
8aad5258d3ecde3751559bc685a3185e63cbde9aianh
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar#
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar# Add to the ambient VPATH.
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coar#
71f3601de4983bc2a6aaffcf37dc1d35c8674a34coarvpath %.c $(SHARE_SRC)/native/com/sun/media/sound
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawickvpath %.c $(PLATFORM_SRC)/native/com/sun/media/sound
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawickvpath %.cpp $(PLATFORM_SRC)/native/com/sun/media/sound
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick
874fa3c6bbef1b4ab4bed0a2ff9852b21ea1b187trawick#
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick# Include rules
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick#
49a82db11388cff9b29ff861b4241bbce69c76fdtrawickinclude $(BUILDDIR)/common/Library.gmk
49a82db11388cff9b29ff861b4241bbce69c76fdtrawick
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick
f23c50b3628a8571da2ff3277ae58ef1d675554ftrawick