< prev index next >

jdk/make/lib/SoundLibraries.gmk

Print this page


   1 #
   2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


  60       -DUSE_PLATFORM_MIDI_OUT=TRUE \
  61       -DUSE_PLATFORM_MIDI_IN=TRUE \
  62       -DUSE_PORTS=TRUE
  63   LIBJSOUND_SRC_FILES += \
  64       PLATFORM_API_WinOS_MidiIn.cpp \
  65       PLATFORM_API_WinOS_MidiOut.c \
  66       PLATFORM_API_WinOS_Util.c \
  67       PLATFORM_API_WinOS_Ports.c
  68   LIBJSOUND_SRC_FILES += $(LIBJSOUND_MIDIFILES)
  69   LIBJSOUND_SRC_FILES += $(LIBJSOUND_PORTFILES)
  70 endif # OPENJDK_TARGET_OS windows
  71 
  72 ifeq ($(OPENJDK_TARGET_OS), linux)
  73   EXTRA_SOUND_JNI_LIBS += jsoundalsa
  74   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_LINUX
  75 endif # OPENJDK_TARGET_OS linux
  76 
  77 ifeq ($(OPENJDK_TARGET_OS), aix)
  78   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_AIX
  79 endif # OPENJDK_TARGET_OS aix




  80 
  81 ifeq ($(OPENJDK_TARGET_OS), macosx)
  82   LIBJSOUND_TOOLCHAIN := TOOLCHAIN_LINK_CXX
  83   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_MACOSX \
  84       -DUSE_PORTS=TRUE \
  85       -DUSE_DAUDIO=TRUE \
  86       -DUSE_PLATFORM_MIDI_OUT=TRUE \
  87       -DUSE_PLATFORM_MIDI_IN=TRUE
  88   LIBJSOUND_SRC_DIRS += $(JDK_TOPDIR)/src/java.desktop/macosx/native/libjsound
  89   LIBJSOUND_SRC_FILES += \
  90       PLATFORM_API_MacOSX_Utils.cpp \
  91       PLATFORM_API_MacOSX_PCM.cpp \
  92       PLATFORM_API_MacOSX_Ports.cpp \
  93       PLATFORM_API_MacOSX_MidiIn.c \
  94       PLATFORM_API_MacOSX_MidiOut.c \
  95       PLATFORM_API_MacOSX_MidiUtils.c
  96   LIBJSOUND_SRC_FILES += $(LIBJSOUND_MIDIFILES)
  97   LIBJSOUND_SRC_FILES += $(LIBJSOUND_PORTFILES)
  98   LIBJSOUND_SRC_FILES += $(LIBJSOUND_DAUDIOFILES)
  99 endif # OPENJDK_TARGET_OS macosx


   1 #
   2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


  60       -DUSE_PLATFORM_MIDI_OUT=TRUE \
  61       -DUSE_PLATFORM_MIDI_IN=TRUE \
  62       -DUSE_PORTS=TRUE
  63   LIBJSOUND_SRC_FILES += \
  64       PLATFORM_API_WinOS_MidiIn.cpp \
  65       PLATFORM_API_WinOS_MidiOut.c \
  66       PLATFORM_API_WinOS_Util.c \
  67       PLATFORM_API_WinOS_Ports.c
  68   LIBJSOUND_SRC_FILES += $(LIBJSOUND_MIDIFILES)
  69   LIBJSOUND_SRC_FILES += $(LIBJSOUND_PORTFILES)
  70 endif # OPENJDK_TARGET_OS windows
  71 
  72 ifeq ($(OPENJDK_TARGET_OS), linux)
  73   EXTRA_SOUND_JNI_LIBS += jsoundalsa
  74   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_LINUX
  75 endif # OPENJDK_TARGET_OS linux
  76 
  77 ifeq ($(OPENJDK_TARGET_OS), aix)
  78   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_AIX
  79 endif # OPENJDK_TARGET_OS aix
  80 
  81 ifeq ($(OPENJDK_TARGET_OS), bsd)
  82   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_BSD
  83 endif # OPENJDK_TARGET_OS bsd
  84 
  85 ifeq ($(OPENJDK_TARGET_OS), macosx)
  86   LIBJSOUND_TOOLCHAIN := TOOLCHAIN_LINK_CXX
  87   LIBJSOUND_CFLAGS += -DX_PLATFORM=X_MACOSX \
  88       -DUSE_PORTS=TRUE \
  89       -DUSE_DAUDIO=TRUE \
  90       -DUSE_PLATFORM_MIDI_OUT=TRUE \
  91       -DUSE_PLATFORM_MIDI_IN=TRUE
  92   LIBJSOUND_SRC_DIRS += $(JDK_TOPDIR)/src/java.desktop/macosx/native/libjsound
  93   LIBJSOUND_SRC_FILES += \
  94       PLATFORM_API_MacOSX_Utils.cpp \
  95       PLATFORM_API_MacOSX_PCM.cpp \
  96       PLATFORM_API_MacOSX_Ports.cpp \
  97       PLATFORM_API_MacOSX_MidiIn.c \
  98       PLATFORM_API_MacOSX_MidiOut.c \
  99       PLATFORM_API_MacOSX_MidiUtils.c
 100   LIBJSOUND_SRC_FILES += $(LIBJSOUND_MIDIFILES)
 101   LIBJSOUND_SRC_FILES += $(LIBJSOUND_PORTFILES)
 102   LIBJSOUND_SRC_FILES += $(LIBJSOUND_DAUDIOFILES)
 103 endif # OPENJDK_TARGET_OS macosx


< prev index next >