Makefile revision 0
5525N/A#
5253N/A# Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.
5253N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5525N/A#
5525N/A# This code is free software; you can redistribute it and/or modify it
5525N/A# under the terms of the GNU General Public License version 2 only, as
5253N/A# published by the Free Software Foundation. Sun designates this
5253N/A# particular file as subject to the "Classpath" exception as provided
5253N/A# by Sun in the LICENSE file that accompanied this code.
5253N/A#
5253N/A# This code is distributed in the hope that it will be useful, but WITHOUT
5253N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5253N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
5253N/A# version 2 for more details (a copy is included in the LICENSE file that
5253N/A# accompanied this code).
5525N/A#
5525N/A# You should have received a copy of the GNU General Public License version
5525N/A# 2 along with this work; if not, write to the Free Software Foundation,
5253N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5253N/A#
5253N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
5253N/A# CA 95054 USA or visit www.sun.com if you need additional information or
5253N/A# have any questions.
5253N/A#
5253N/A
5253N/ABUILDDIR = ../../..
5253N/APACKAGE = javax.sound
5253N/ALIBRARY = jsoundds
PRODUCT = sun
CPLUSPLUSLIBRARY = true
include $(BUILDDIR)/common/Defs.gmk
# this Makefile compiles the native files for DirectSound support in java sound
# include defines for sound
include ../SoundDefs.gmk
#
# Files
#
FILES_c = \
Utilities.c \
$(DAUDIOFILES_c)
FILES_cpp = \
PLATFORM_API_WinOS_DirectSound.cpp
FILES_export = \
$(DAUDIOFILES_export)
#
# Extra cc/linker flags.
#
LDLIBS += dsound.lib winmm.lib user32.lib
CPPFLAGS += \
-DUSE_DAUDIO=TRUE \
-I$(SHARE_SRC)/native/com/sun/media/sound \
-I$(DXSDK_INCLUDE_PATH)
#
# Add to the ambient VPATH.
#
vpath %.c $(SHARE_SRC)/native/com/sun/media/sound
vpath %.c $(PLATFORM_SRC)/native/com/sun/media/sound
vpath %.cpp $(PLATFORM_SRC)/native/com/sun/media/sound
#
# Include rules
#
include $(BUILDDIR)/common/Library.gmk