equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
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 |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
122 TOOLCHAIN := $(LIBJSOUND_TOOLCHAIN), \ |
122 TOOLCHAIN := $(LIBJSOUND_TOOLCHAIN), \ |
123 OPTIMIZATION := LOW, \ |
123 OPTIMIZATION := LOW, \ |
124 CFLAGS := $(CFLAGS_JDKLIB) \ |
124 CFLAGS := $(CFLAGS_JDKLIB) \ |
125 $(LIBJSOUND_CFLAGS), \ |
125 $(LIBJSOUND_CFLAGS), \ |
126 CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBJSOUND_CFLAGS), \ |
126 CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBJSOUND_CFLAGS), \ |
127 MAPFILE := $(TOPDIR)/make/mapfiles/libjsound/mapfile-vers, \ |
|
128 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
127 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
129 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
128 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
130 LIBS_unix := -ljava -ljvm, \ |
129 LIBS_unix := -ljava -ljvm, \ |
131 LIBS_solaris := -lc, \ |
130 LIBS_solaris := -lc, \ |
132 LIBS_macosx := -framework CoreAudio -framework CoreFoundation \ |
131 LIBS_macosx := -framework CoreAudio -framework CoreFoundation \ |
167 $(LIBJSOUND_CFLAGS) \ |
166 $(LIBJSOUND_CFLAGS) \ |
168 -DUSE_DAUDIO=TRUE \ |
167 -DUSE_DAUDIO=TRUE \ |
169 -DUSE_PORTS=TRUE \ |
168 -DUSE_PORTS=TRUE \ |
170 -DUSE_PLATFORM_MIDI_OUT=TRUE \ |
169 -DUSE_PLATFORM_MIDI_OUT=TRUE \ |
171 -DUSE_PLATFORM_MIDI_IN=TRUE, \ |
170 -DUSE_PLATFORM_MIDI_IN=TRUE, \ |
172 MAPFILE := $(TOPDIR)/make/mapfiles/libjsoundalsa/mapfile-vers, \ |
|
173 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
171 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
174 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
172 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
175 LIBS := $(ALSA_LIBS) -ljava -ljvm, \ |
173 LIBS := $(ALSA_LIBS) -ljava -ljvm, \ |
176 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjsoundalsa, \ |
174 OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjsoundalsa, \ |
177 )) |
175 )) |