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