< prev index next >

make/lib/SoundLibraries.gmk

Print this page




 126 
 127   ifeq ($(OPENJDK_TARGET_CPU), x86_64)
 128     LIBJSOUND_CFLAGS += -DX_ARCH=X_AMD64
 129   endif
 130 
 131   ifeq ($(OPENJDK_TARGET_CPU), arm)
 132     LIBJSOUND_CFLAGS += -DX_ARCH=X_ARM
 133   endif
 134 
 135   ifeq ($(OPENJDK_TARGET_CPU), ppc)
 136     LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC
 137   endif
 138 
 139   ifeq ($(OPENJDK_TARGET_CPU), ppc64)
 140        LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64
 141   endif
 142 
 143   ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
 144        LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64LE
 145   endif




 146 endif
 147 
 148 LIBJSOUND_CFLAGS += -DEXTRA_SOUND_JNI_LIBS='"$(EXTRA_SOUND_JNI_LIBS)"'
 149 
 150 $(eval $(call SetupNativeCompilation,BUILD_LIBJSOUND, \
 151     LIBRARY := jsound, \
 152     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
 153     SRC := $(LIBJSOUND_SRC_DIRS), \
 154     INCLUDE_FILES := $(LIBJSOUND_SRC_FILES), \
 155     LANG := $(LIBJSOUND_LANG), \
 156     OPTIMIZATION := LOW, \
 157     CFLAGS := $(CFLAGS_JDKLIB) \
 158         $(LIBJSOUND_CFLAGS), \
 159     CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBJSOUND_CFLAGS), \
 160     MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libjsound/mapfile-vers, \
 161     LDFLAGS := $(LDFLAGS_JDKLIB) \
 162         $(call SET_SHARED_LIBRARY_ORIGIN), \
 163     LDFLAGS_macosx := -framework CoreAudio -framework CoreFoundation \
 164         -framework CoreServices -framework AudioUnit $(LIBCXX) \
 165         -framework CoreMIDI -framework AudioToolbox, \




 126 
 127   ifeq ($(OPENJDK_TARGET_CPU), x86_64)
 128     LIBJSOUND_CFLAGS += -DX_ARCH=X_AMD64
 129   endif
 130 
 131   ifeq ($(OPENJDK_TARGET_CPU), arm)
 132     LIBJSOUND_CFLAGS += -DX_ARCH=X_ARM
 133   endif
 134 
 135   ifeq ($(OPENJDK_TARGET_CPU), ppc)
 136     LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC
 137   endif
 138 
 139   ifeq ($(OPENJDK_TARGET_CPU), ppc64)
 140        LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64
 141   endif
 142 
 143   ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
 144        LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64LE
 145   endif
 146 
 147   ifeq ($(OPENJDK_TARGET_CPU), aarch64)
 148         LIBJSOUND_CFLAGS += -DX_ARCH=X_AARCH64
 149   endif
 150 endif
 151 
 152 LIBJSOUND_CFLAGS += -DEXTRA_SOUND_JNI_LIBS='"$(EXTRA_SOUND_JNI_LIBS)"'
 153 
 154 $(eval $(call SetupNativeCompilation,BUILD_LIBJSOUND, \
 155     LIBRARY := jsound, \
 156     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \
 157     SRC := $(LIBJSOUND_SRC_DIRS), \
 158     INCLUDE_FILES := $(LIBJSOUND_SRC_FILES), \
 159     LANG := $(LIBJSOUND_LANG), \
 160     OPTIMIZATION := LOW, \
 161     CFLAGS := $(CFLAGS_JDKLIB) \
 162         $(LIBJSOUND_CFLAGS), \
 163     CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBJSOUND_CFLAGS), \
 164     MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libjsound/mapfile-vers, \
 165     LDFLAGS := $(LDFLAGS_JDKLIB) \
 166         $(call SET_SHARED_LIBRARY_ORIGIN), \
 167     LDFLAGS_macosx := -framework CoreAudio -framework CoreFoundation \
 168         -framework CoreServices -framework AudioUnit $(LIBCXX) \
 169         -framework CoreMIDI -framework AudioToolbox, \


< prev index next >