Created
December 9, 2011 14:32
-
-
Save jponge/1451753 to your computer and use it in GitHub Desktop.
Disable alsa for OpenJDK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 22ccf6e7a092 make/javax/sound/jsoundalsa/Makefile | |
--- a/make/javax/sound/jsoundalsa/Makefile Fri Dec 02 12:44:03 2011 +0000 | |
+++ b/make/javax/sound/jsoundalsa/Makefile Fri Dec 09 15:11:02 2011 +0100 | |
@@ -45,34 +45,37 @@ | |
# Files | |
# | |
-FILES_c = \ | |
- Utilities.c \ | |
- $(DAUDIOFILES_c) \ | |
- $(MIDIFILES_c) \ | |
- $(PORTFILES_c) | |
+FILES_c= | |
+#FILES_c = \ | |
+# Utilities.c \ | |
+# $(DAUDIOFILES_c) \ | |
+# $(MIDIFILES_c) \ | |
+# $(PORTFILES_c) | |
# platform dependent files | |
-FILES_c += \ | |
- PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \ | |
- PLATFORM_API_LinuxOS_ALSA_PCM.c \ | |
- PLATFORM_API_LinuxOS_ALSA_PCMUtils.c \ | |
- PLATFORM_API_LinuxOS_ALSA_MidiIn.c \ | |
- PLATFORM_API_LinuxOS_ALSA_MidiOut.c \ | |
- PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \ | |
- PLATFORM_API_LinuxOS_ALSA_Ports.c | |
+#FILES_c += \ | |
+# PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \ | |
+# PLATFORM_API_LinuxOS_ALSA_PCM.c \ | |
+# PLATFORM_API_LinuxOS_ALSA_PCMUtils.c \ | |
+# PLATFORM_API_LinuxOS_ALSA_MidiIn.c \ | |
+# PLATFORM_API_LinuxOS_ALSA_MidiOut.c \ | |
+# PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \ | |
+# PLATFORM_API_LinuxOS_ALSA_Ports.c | |
-FILES_export = \ | |
- $(DAUDIOFILES_export) \ | |
- $(MIDIFILES_export) \ | |
- $(PORTFILES_export) | |
-LDFLAGS += -lasound | |
+FILES_export= | |
+#FILES_export = \ | |
+# $(DAUDIOFILES_export) \ | |
+# $(MIDIFILES_export) \ | |
+# $(PORTFILES_export) | |
+ | |
+#LDFLAGS += -lasound | |
CPPFLAGS += \ | |
- -DUSE_DAUDIO=TRUE \ | |
- -DUSE_PORTS=TRUE \ | |
- -DUSE_PLATFORM_MIDI_OUT=TRUE \ | |
- -DUSE_PLATFORM_MIDI_IN=TRUE \ | |
+ -DUSE_DAUDIO=FALSE \ | |
+ -DUSE_PORTS=FALSE \ | |
+ -DUSE_PLATFORM_MIDI_OUT=FALSE \ | |
+ -DUSE_PLATFORM_MIDI_IN=FALSE \ | |
-I$(SHARE_SRC)/native/com/sun/media/sound | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment