native_audio 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/include/GL/glew.h +26427 -26427
- data/assets/include/GLES2/gl2.h +656 -656
- data/assets/include/GLES2/gl2ext.h +3949 -3949
- data/assets/include/GLES2/gl2ext_angle.h +701 -701
- data/assets/include/GLES2/gl2platform.h +27 -27
- data/assets/include/GLES3/gl3.h +1192 -1192
- data/assets/include/GLES3/gl31.h +1507 -1507
- data/assets/include/GLES3/gl32.h +1808 -1808
- data/assets/include/GLES3/gl3platform.h +27 -27
- data/assets/include/KHR/khrplatform.h +290 -290
- data/assets/include/SDL2/SDL.h +233 -233
- data/assets/include/SDL2/SDL_assert.h +326 -326
- data/assets/include/SDL2/SDL_atomic.h +415 -415
- data/assets/include/SDL2/SDL_audio.h +1500 -1500
- data/assets/include/SDL2/SDL_bits.h +126 -126
- data/assets/include/SDL2/SDL_blendmode.h +198 -198
- data/assets/include/SDL2/SDL_clipboard.h +141 -141
- data/assets/include/SDL2/SDL_config.h +61 -61
- data/assets/include/SDL2/SDL_config_android.h +194 -194
- data/assets/include/SDL2/SDL_config_emscripten.h +218 -218
- data/assets/include/SDL2/SDL_config_iphoneos.h +217 -217
- data/assets/include/SDL2/SDL_config_macosx.h +277 -277
- data/assets/include/SDL2/SDL_config_minimal.h +95 -95
- data/assets/include/SDL2/SDL_config_ngage.h +89 -89
- data/assets/include/SDL2/SDL_config_os2.h +207 -207
- data/assets/include/SDL2/SDL_config_pandora.h +141 -141
- data/assets/include/SDL2/SDL_config_windows.h +331 -331
- data/assets/include/SDL2/SDL_config_wingdk.h +253 -253
- data/assets/include/SDL2/SDL_config_winrt.h +220 -220
- data/assets/include/SDL2/SDL_config_xbox.h +235 -235
- data/assets/include/SDL2/SDL_copying.h +20 -20
- data/assets/include/SDL2/SDL_cpuinfo.h +594 -594
- data/assets/include/SDL2/SDL_egl.h +2352 -2352
- data/assets/include/SDL2/SDL_endian.h +348 -348
- data/assets/include/SDL2/SDL_error.h +163 -163
- data/assets/include/SDL2/SDL_events.h +1166 -1166
- data/assets/include/SDL2/SDL_filesystem.h +149 -149
- data/assets/include/SDL2/SDL_gamecontroller.h +1074 -1074
- data/assets/include/SDL2/SDL_gesture.h +117 -117
- data/assets/include/SDL2/SDL_guid.h +100 -100
- data/assets/include/SDL2/SDL_haptic.h +1341 -1341
- data/assets/include/SDL2/SDL_hidapi.h +451 -451
- data/assets/include/SDL2/SDL_hints.h +2569 -2569
- data/assets/include/SDL2/SDL_image.h +2173 -2173
- data/assets/include/SDL2/SDL_joystick.h +1066 -1066
- data/assets/include/SDL2/SDL_keyboard.h +353 -353
- data/assets/include/SDL2/SDL_keycode.h +358 -358
- data/assets/include/SDL2/SDL_loadso.h +115 -115
- data/assets/include/SDL2/SDL_locale.h +103 -103
- data/assets/include/SDL2/SDL_log.h +404 -404
- data/assets/include/SDL2/SDL_main.h +275 -275
- data/assets/include/SDL2/SDL_messagebox.h +193 -193
- data/assets/include/SDL2/SDL_metal.h +113 -113
- data/assets/include/SDL2/SDL_misc.h +79 -79
- data/assets/include/SDL2/SDL_mixer.h +2784 -2784
- data/assets/include/SDL2/SDL_mouse.h +465 -465
- data/assets/include/SDL2/SDL_mutex.h +471 -471
- data/assets/include/SDL2/SDL_name.h +33 -33
- data/assets/include/SDL2/SDL_opengl.h +2132 -2132
- data/assets/include/SDL2/SDL_opengl_glext.h +13209 -13209
- data/assets/include/SDL2/SDL_opengles.h +39 -39
- data/assets/include/SDL2/SDL_opengles2.h +52 -52
- data/assets/include/SDL2/SDL_opengles2_gl2.h +656 -656
- data/assets/include/SDL2/SDL_opengles2_gl2ext.h +4033 -4033
- data/assets/include/SDL2/SDL_opengles2_gl2platform.h +27 -27
- data/assets/include/SDL2/SDL_opengles2_khrplatform.h +311 -311
- data/assets/include/SDL2/SDL_pixels.h +644 -644
- data/assets/include/SDL2/SDL_platform.h +261 -261
- data/assets/include/SDL2/SDL_power.h +88 -88
- data/assets/include/SDL2/SDL_quit.h +58 -58
- data/assets/include/SDL2/SDL_rect.h +376 -376
- data/assets/include/SDL2/SDL_render.h +1919 -1919
- data/assets/include/SDL2/SDL_revision.h +6 -6
- data/assets/include/SDL2/SDL_rwops.h +841 -841
- data/assets/include/SDL2/SDL_scancode.h +438 -438
- data/assets/include/SDL2/SDL_sensor.h +322 -322
- data/assets/include/SDL2/SDL_shape.h +155 -155
- data/assets/include/SDL2/SDL_stdinc.h +830 -830
- data/assets/include/SDL2/SDL_surface.h +997 -997
- data/assets/include/SDL2/SDL_system.h +623 -623
- data/assets/include/SDL2/SDL_syswm.h +386 -386
- data/assets/include/SDL2/SDL_test.h +69 -69
- data/assets/include/SDL2/SDL_test_assert.h +105 -105
- data/assets/include/SDL2/SDL_test_common.h +236 -236
- data/assets/include/SDL2/SDL_test_compare.h +69 -69
- data/assets/include/SDL2/SDL_test_crc32.h +124 -124
- data/assets/include/SDL2/SDL_test_font.h +168 -168
- data/assets/include/SDL2/SDL_test_fuzzer.h +386 -386
- data/assets/include/SDL2/SDL_test_harness.h +134 -134
- data/assets/include/SDL2/SDL_test_images.h +78 -78
- data/assets/include/SDL2/SDL_test_log.h +67 -67
- data/assets/include/SDL2/SDL_test_md5.h +129 -129
- data/assets/include/SDL2/SDL_test_memory.h +63 -63
- data/assets/include/SDL2/SDL_test_random.h +115 -115
- data/assets/include/SDL2/SDL_thread.h +464 -464
- data/assets/include/SDL2/SDL_timer.h +222 -222
- data/assets/include/SDL2/SDL_touch.h +150 -150
- data/assets/include/SDL2/SDL_ttf.h +2316 -2316
- data/assets/include/SDL2/SDL_types.h +29 -29
- data/assets/include/SDL2/SDL_version.h +204 -204
- data/assets/include/SDL2/SDL_video.h +2150 -2150
- data/assets/include/SDL2/SDL_vulkan.h +215 -215
- data/assets/include/SDL2/begin_code.h +187 -187
- data/assets/include/SDL2/close_code.h +40 -40
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libFLAC.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libSDL2_mixer.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libglew32.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmodplug.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libmpg123.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libogg.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopus.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libopusfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libsndfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libssp.a +1 -1
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libstdc++.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbis.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libvorbisfile.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libz.a +0 -0
- data/assets/windows/mingw-w64-ucrt-x86_64/lib/libzstd.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libFLAC.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libSDL2.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libSDL2_mixer.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libglew32.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libmodplug.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libmpg123.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libogg.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libopus.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libopusfile.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libsndfile.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libssp.a +1 -1
- data/assets/windows/mingw-w64-x86_64/lib/libstdc++.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libvorbis.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libvorbisfile.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libz.a +0 -0
- data/assets/windows/mingw-w64-x86_64/lib/libzstd.a +0 -0
- data/ext/audio.c +80 -80
- data/ext/extconf.h +3 -3
- data/ext/extconf.rb +173 -177
- data/lib/audio.bundle +0 -0
- data/lib/audio.so +0 -0
- data/lib/native_audio.rb +50 -50
- metadata +4 -9
- data/ext/Makefile +0 -270
- data/ext/audio.o +0 -0
- data/ext/mkmf.log +0 -7
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: native_audio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Max Hatfull
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies: []
|
13
12
|
description: A simple audio library for Ruby
|
14
13
|
email:
|
@@ -164,19 +163,16 @@ files:
|
|
164
163
|
- assets/windows/mingw-w64-x86_64/lib/libvorbisfile.a
|
165
164
|
- assets/windows/mingw-w64-x86_64/lib/libz.a
|
166
165
|
- assets/windows/mingw-w64-x86_64/lib/libzstd.a
|
167
|
-
- ext/Makefile
|
168
166
|
- ext/audio.c
|
169
|
-
- ext/audio.o
|
170
167
|
- ext/extconf.h
|
171
168
|
- ext/extconf.rb
|
172
|
-
- ext/mkmf.log
|
173
169
|
- lib/audio.bundle
|
170
|
+
- lib/audio.so
|
174
171
|
- lib/native_audio.rb
|
175
172
|
homepage: https://github.com/rubyrpg/native_audio
|
176
173
|
licenses:
|
177
174
|
- MIT
|
178
175
|
metadata: {}
|
179
|
-
post_install_message:
|
180
176
|
rdoc_options: []
|
181
177
|
require_paths:
|
182
178
|
- lib
|
@@ -191,8 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
187
|
- !ruby/object:Gem::Version
|
192
188
|
version: '0'
|
193
189
|
requirements: []
|
194
|
-
rubygems_version: 3.
|
195
|
-
signing_key:
|
190
|
+
rubygems_version: 3.6.7
|
196
191
|
specification_version: 4
|
197
192
|
summary: A simple audio library for Ruby
|
198
193
|
test_files: []
|
data/ext/Makefile
DELETED
@@ -1,270 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
# V=0 quiet, V=1 verbose. other values don't work.
|
5
|
-
V = 0
|
6
|
-
V0 = $(V:0=)
|
7
|
-
Q1 = $(V:1=)
|
8
|
-
Q = $(Q1:0=@)
|
9
|
-
ECHO1 = $(V:1=@ :)
|
10
|
-
ECHO = $(ECHO1:0=@ echo)
|
11
|
-
NULLCMD = :
|
12
|
-
|
13
|
-
#### Start of system configuration section. ####
|
14
|
-
|
15
|
-
srcdir = .
|
16
|
-
topdir = /Users/maxhatfull/.rubies/ruby-3.3.5/include/ruby-3.3.0
|
17
|
-
hdrdir = $(topdir)
|
18
|
-
arch_hdrdir = /Users/maxhatfull/.rubies/ruby-3.3.5/include/ruby-3.3.0/arm64-darwin23
|
19
|
-
PATH_SEPARATOR = :
|
20
|
-
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
21
|
-
prefix = $(DESTDIR)/Users/maxhatfull/.rubies/ruby-3.3.5
|
22
|
-
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
23
|
-
rubyarchprefix = $(rubylibprefix)/$(arch)
|
24
|
-
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
25
|
-
exec_prefix = $(prefix)
|
26
|
-
vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
|
27
|
-
sitearchhdrdir = $(sitehdrdir)/$(sitearch)
|
28
|
-
rubyarchhdrdir = $(rubyhdrdir)/$(arch)
|
29
|
-
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
30
|
-
sitehdrdir = $(rubyhdrdir)/site_ruby
|
31
|
-
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
32
|
-
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
33
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
34
|
-
vendordir = $(rubylibprefix)/vendor_ruby
|
35
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
36
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
37
|
-
sitedir = $(rubylibprefix)/site_ruby
|
38
|
-
rubyarchdir = $(rubylibdir)/$(arch)
|
39
|
-
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
40
|
-
sitearchincludedir = $(includedir)/$(sitearch)
|
41
|
-
archincludedir = $(includedir)/$(arch)
|
42
|
-
sitearchlibdir = $(libdir)/$(sitearch)
|
43
|
-
archlibdir = $(libdir)/$(arch)
|
44
|
-
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
45
|
-
mandir = $(datarootdir)/man
|
46
|
-
localedir = $(datarootdir)/locale
|
47
|
-
libdir = $(exec_prefix)/lib
|
48
|
-
psdir = $(docdir)
|
49
|
-
pdfdir = $(docdir)
|
50
|
-
dvidir = $(docdir)
|
51
|
-
htmldir = $(docdir)
|
52
|
-
infodir = $(datarootdir)/info
|
53
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
54
|
-
oldincludedir = $(DESTDIR)/usr/include
|
55
|
-
includedir = $(SDKROOT)$(prefix)/include
|
56
|
-
runstatedir = $(localstatedir)/run
|
57
|
-
localstatedir = $(prefix)/var
|
58
|
-
sharedstatedir = $(prefix)/com
|
59
|
-
sysconfdir = $(prefix)/etc
|
60
|
-
datadir = $(datarootdir)
|
61
|
-
datarootdir = $(prefix)/share
|
62
|
-
libexecdir = $(exec_prefix)/libexec
|
63
|
-
sbindir = $(exec_prefix)/sbin
|
64
|
-
bindir = $(exec_prefix)/bin
|
65
|
-
archdir = $(rubyarchdir)
|
66
|
-
|
67
|
-
|
68
|
-
CC_WRAPPER =
|
69
|
-
CC = clang
|
70
|
-
CXX = clang++
|
71
|
-
LIBRUBY = $(LIBRUBY_A)
|
72
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
73
|
-
LIBRUBYARG_SHARED =
|
74
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static -framework CoreFoundation $(MAINLIBS)
|
75
|
-
empty =
|
76
|
-
OUTFLAG = -o $(empty)
|
77
|
-
COUTFLAG = -o $(empty)
|
78
|
-
CSRCFLAG = $(empty)
|
79
|
-
|
80
|
-
RUBY_EXTCONF_H = extconf.h
|
81
|
-
cflags = -fdeclspec $(optflags) $(debugflags) $(warnflags)
|
82
|
-
cxxflags =
|
83
|
-
optflags = -O3 -fno-fast-math
|
84
|
-
debugflags = -ggdb3
|
85
|
-
warnflags = -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef
|
86
|
-
cppflags =
|
87
|
-
CCDLFLAGS = -fno-common
|
88
|
-
CFLAGS = $(CCDLFLAGS) $(cflags) -pipe -std=c11 -I../assets/include $(ARCH_FLAG)
|
89
|
-
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
90
|
-
DEFS =
|
91
|
-
CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/gdbm/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags)
|
92
|
-
CXXFLAGS = $(CCDLFLAGS) -fdeclspec $(ARCH_FLAG)
|
93
|
-
ldflags = -L. -fstack-protector-strong -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libSDL2.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libSDL2_mixer.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libmpg123.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libogg.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libFLAC.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libvorbis.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libvorbisfile.a /Users/maxhatfull/dev/native_audio/ext/../assets/macos/universal/lib/libmodplug.a -lz -liconv -lstdc++ -Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,GameController -Wl,-framework,ForceFeedback -Wl,-framework,OpenGL -Wl,-framework,AudioToolbox -Wl,-framework,CoreAudio -Wl,-framework,IOKit -Wl,-framework,CoreHaptics -Wl,-framework,CoreVideo -Wl,-framework,Metal
|
94
|
-
dldflags = -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib -Wl,-undefined,dynamic_lookup -bundle_loader '$(BUILTRUBY)'
|
95
|
-
ARCH_FLAG = -arch arm64
|
96
|
-
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
97
|
-
LDSHARED = $(CC) -dynamic -bundle
|
98
|
-
LDSHAREDXX = $(CXX) -dynamic -bundle
|
99
|
-
AR = ar
|
100
|
-
EXEEXT =
|
101
|
-
|
102
|
-
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
103
|
-
RUBY_SO_NAME = ruby.3.3
|
104
|
-
RUBYW_INSTALL_NAME =
|
105
|
-
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
106
|
-
RUBYW_BASE_NAME = rubyw
|
107
|
-
RUBY_BASE_NAME = ruby
|
108
|
-
|
109
|
-
arch = arm64-darwin23
|
110
|
-
sitearch = $(arch)
|
111
|
-
ruby_version = 3.3.0
|
112
|
-
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
113
|
-
RUBY = $(ruby)
|
114
|
-
BUILTRUBY = $(bindir)/$(RUBY_BASE_NAME)
|
115
|
-
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h $(RUBY_EXTCONF_H)
|
116
|
-
|
117
|
-
RM = rm -f
|
118
|
-
RM_RF = rm -fr
|
119
|
-
RMDIRS = rmdir -p
|
120
|
-
MAKEDIRS = mkdir -p
|
121
|
-
INSTALL = /usr/bin/install -c
|
122
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
123
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
124
|
-
COPY = cp
|
125
|
-
TOUCH = exit >
|
126
|
-
|
127
|
-
#### End of system configuration section. ####
|
128
|
-
|
129
|
-
preload =
|
130
|
-
libpath = . $(libdir) /opt/homebrew/opt/readline/lib /opt/homebrew/opt/libyaml/lib /opt/homebrew/opt/gdbm/lib
|
131
|
-
LIBPATH = -L. -L$(libdir) -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/gdbm/lib
|
132
|
-
DEFFILE =
|
133
|
-
|
134
|
-
CLEANFILES = mkmf.log
|
135
|
-
DISTCLEANFILES =
|
136
|
-
DISTCLEANDIRS =
|
137
|
-
|
138
|
-
extout =
|
139
|
-
extout_prefix =
|
140
|
-
target_prefix =
|
141
|
-
LOCAL_LIBS =
|
142
|
-
LIBS = -lpthread
|
143
|
-
ORIG_SRCS = audio.c
|
144
|
-
SRCS = $(ORIG_SRCS)
|
145
|
-
OBJS = audio.o
|
146
|
-
HDRS = $(srcdir)/extconf.h
|
147
|
-
LOCAL_HDRS =
|
148
|
-
TARGET = audio
|
149
|
-
TARGET_NAME = audio
|
150
|
-
TARGET_ENTRY = Init_$(TARGET_NAME)
|
151
|
-
DLLIB = $(TARGET).bundle
|
152
|
-
EXTSTATIC =
|
153
|
-
STATIC_LIB =
|
154
|
-
|
155
|
-
TIMESTAMP_DIR = .
|
156
|
-
BINDIR = $(bindir)
|
157
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
158
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
159
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
160
|
-
HDRDIR = $(sitehdrdir)$(target_prefix)
|
161
|
-
ARCHHDRDIR = $(sitearchhdrdir)$(target_prefix)
|
162
|
-
TARGET_SO_DIR =
|
163
|
-
TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
164
|
-
CLEANLIBS = $(TARGET_SO) $(TARGET_SO).dSYM
|
165
|
-
CLEANOBJS = $(OBJS) *.bak
|
166
|
-
TARGET_SO_DIR_TIMESTAMP = $(TIMESTAMP_DIR)/.sitearchdir.time
|
167
|
-
|
168
|
-
all: $(DLLIB)
|
169
|
-
static: $(STATIC_LIB)
|
170
|
-
.PHONY: all install static install-so install-rb
|
171
|
-
.PHONY: clean clean-so clean-static clean-rb
|
172
|
-
|
173
|
-
clean-static::
|
174
|
-
clean-rb-default::
|
175
|
-
clean-rb::
|
176
|
-
clean-so::
|
177
|
-
clean: clean-so clean-static clean-rb-default clean-rb
|
178
|
-
-$(Q)$(RM_RF) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
|
179
|
-
|
180
|
-
distclean-rb-default::
|
181
|
-
distclean-rb::
|
182
|
-
distclean-so::
|
183
|
-
distclean-static::
|
184
|
-
distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
|
185
|
-
-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
186
|
-
-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
187
|
-
-$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
|
188
|
-
|
189
|
-
realclean: distclean
|
190
|
-
install: install-so install-rb
|
191
|
-
|
192
|
-
install-so: $(DLLIB) $(TARGET_SO_DIR_TIMESTAMP)
|
193
|
-
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
194
|
-
clean-static::
|
195
|
-
-$(Q)$(RM) $(STATIC_LIB)
|
196
|
-
install-rb: pre-install-rb do-install-rb install-rb-default
|
197
|
-
install-rb-default: pre-install-rb-default do-install-rb-default
|
198
|
-
pre-install-rb: Makefile
|
199
|
-
pre-install-rb-default: Makefile
|
200
|
-
do-install-rb:
|
201
|
-
do-install-rb-default:
|
202
|
-
pre-install-rb-default:
|
203
|
-
@$(NULLCMD)
|
204
|
-
$(TARGET_SO_DIR_TIMESTAMP):
|
205
|
-
$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
|
206
|
-
$(Q) $(TOUCH) $@
|
207
|
-
|
208
|
-
site-install: site-install-so site-install-rb
|
209
|
-
site-install-so: install-so
|
210
|
-
site-install-rb: install-rb
|
211
|
-
|
212
|
-
.SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S
|
213
|
-
|
214
|
-
.cc.o:
|
215
|
-
$(ECHO) compiling $(<)
|
216
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
217
|
-
|
218
|
-
.cc.S:
|
219
|
-
$(ECHO) translating $(<)
|
220
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
221
|
-
|
222
|
-
.mm.o:
|
223
|
-
$(ECHO) compiling $(<)
|
224
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
225
|
-
|
226
|
-
.mm.S:
|
227
|
-
$(ECHO) translating $(<)
|
228
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
229
|
-
|
230
|
-
.cxx.o:
|
231
|
-
$(ECHO) compiling $(<)
|
232
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
233
|
-
|
234
|
-
.cxx.S:
|
235
|
-
$(ECHO) translating $(<)
|
236
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
237
|
-
|
238
|
-
.cpp.o:
|
239
|
-
$(ECHO) compiling $(<)
|
240
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
241
|
-
|
242
|
-
.cpp.S:
|
243
|
-
$(ECHO) translating $(<)
|
244
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
245
|
-
|
246
|
-
.c.o:
|
247
|
-
$(ECHO) compiling $(<)
|
248
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
249
|
-
|
250
|
-
.c.S:
|
251
|
-
$(ECHO) translating $(<)
|
252
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
253
|
-
|
254
|
-
.m.o:
|
255
|
-
$(ECHO) compiling $(<)
|
256
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
257
|
-
|
258
|
-
.m.S:
|
259
|
-
$(ECHO) translating $(<)
|
260
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
261
|
-
|
262
|
-
$(TARGET_SO): $(OBJS) Makefile
|
263
|
-
$(ECHO) linking shared-object $(DLLIB)
|
264
|
-
-$(Q)$(RM) $(@)
|
265
|
-
$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
266
|
-
$(Q) $(POSTLINK)
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
$(OBJS): $(HDRS) $(ruby_headers)
|
data/ext/audio.o
DELETED
Binary file
|