Simulator first commit

This commit is contained in:
2019-09-18 11:11:16 +03:00
commit 6e1686be67
5028 changed files with 985331 additions and 0 deletions

344
node_modules/speaker/build/Makefile generated vendored Normal file
View File

@ -0,0 +1,344 @@
# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the command line.
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release build.
BUILDTYPE ?= Release
# Directory all our build output goes into.
# Note that this must be two directories beneath src/ for unit tests to pass,
# as they reach into the src/ directory for data with relative paths.
builddir ?= $(builddir_name)/$(BUILDTYPE)
abs_builddir := $(abspath $(builddir))
depsdir := $(builddir)/.deps
# Object output directory.
obj := $(builddir)/obj
abs_obj := $(abspath $(obj))
# We build up a list of every single one of the targets so we can slurp in the
# generated dependency rule Makefiles in one pass.
all_deps :=
CC.target ?= $(CC)
CFLAGS.target ?= $(CPPFLAGS) $(CFLAGS)
CXX.target ?= $(CXX)
CXXFLAGS.target ?= $(CPPFLAGS) $(CXXFLAGS)
LINK.target ?= $(LINK)
LDFLAGS.target ?= $(LDFLAGS)
AR.target ?= $(AR)
# C++ apps need to be linked with g++.
LINK ?= $(CXX.target)
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
# to replicate this environment fallback in make as well.
CC.host ?= gcc
CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host)
CXX.host ?= g++
CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host)
LINK.host ?= $(CXX.host)
LDFLAGS.host ?=
AR.host ?= ar
# Define a dir function that can handle spaces.
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
# "leading spaces cannot appear in the text of the first argument as written.
# These characters can be put into the argument value by variable substitution."
empty :=
space := $(empty) $(empty)
# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
replace_spaces = $(subst $(space),?,$1)
unreplace_spaces = $(subst ?,$(space),$1)
dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
# Flags to make gcc output dependency info. Note that you need to be
# careful here to use the flags that ccache and distcc can understand.
# We write to a dep file on the side first and then rename at the end
# so we can't end up with a broken dep file.
depfile = $(depsdir)/$(call replace_spaces,$@).d
DEPFLAGS = -MMD -MF $(depfile).raw
# We have to fixup the deps output in a few ways.
# (1) the file output should mention the proper .o file.
# ccache or distcc lose the path to the target, so we convert a rule of
# the form:
# foobar.o: DEP1 DEP2
# into
# path/to/foobar.o: DEP1 DEP2
# (2) we want missing files not to cause us to fail to build.
# We want to rewrite
# foobar.o: DEP1 DEP2 \
# DEP3
# to
# DEP1:
# DEP2:
# DEP3:
# so if the files are missing, they're just considered phony rules.
# We have to do some pretty insane escaping to get those backslashes
# and dollar signs past make, the shell, and sed at the same time.
# Doesn't work with spaces, but that's fine: .d files have spaces in
# their names replaced with other characters.
define fixup_dep
# The depfile may not exist if the input file didn't have any #includes.
touch $(depfile).raw
# Fixup path as in (1).
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
# Add extra rules as in (2).
# We remove slashes and replace spaces with new lines;
# remove blank lines;
# delete the first line and append a colon to the remaining lines.
sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
grep -v '^$$' |\
sed -e 1d -e 's|$$|:|' \
>> $(depfile)
rm $(depfile).raw
endef
# Command definitions:
# - cmd_foo is the actual command to run;
# - quiet_cmd_foo is the brief-output summary of the command.
quiet_cmd_cc = CC($(TOOLSET)) $@
cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $<
quiet_cmd_cxx = CXX($(TOOLSET)) $@
cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
quiet_cmd_touch = TOUCH $@
cmd_touch = touch $@
quiet_cmd_copy = COPY $@
# send stderr to /dev/null to ignore messages when linking directories.
cmd_copy = rm -rf "$@" && cp -af "$<" "$@"
quiet_cmd_alink = AR($(TOOLSET)) $@
cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
quiet_cmd_alink_thin = AR($(TOOLSET)) $@
cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
# Due to circular dependencies between libraries :(, we wrap the
# special "figure out circular dependencies" flags around the entire
# input list during linking.
quiet_cmd_link = LINK($(TOOLSET)) $@
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group
# We support two kinds of shared objects (.so):
# 1) shared_library, which is just bundling together many dependent libraries
# into a link line.
# 2) loadable_module, which is generating a module intended for dlopen().
#
# They differ only slightly:
# In the former case, we want to package all dependent code into the .so.
# In the latter case, we want to package just the API exposed by the
# outermost module.
# This means shared_library uses --whole-archive, while loadable_module doesn't.
# (Note that --whole-archive is incompatible with the --start-group used in
# normal linking.)
# Other shared-object link notes:
# - Set SONAME to the library filename so our binaries don't reference
# the local, absolute paths used on the link command-line.
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--whole-archive $(LD_INPUTS) -Wl,--no-whole-archive $(LIBS)
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
cmd_solink_module = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS)
# Define an escape_quotes function to escape single quotes.
# This allows us to handle quotes properly as long as we always use
# use single quotes and escape_quotes.
escape_quotes = $(subst ','\'',$(1))
# This comment is here just to include a ' to unconfuse syntax highlighting.
# Define an escape_vars function to escape '$' variable syntax.
# This allows us to read/write command lines with shell variables (e.g.
# $LD_LIBRARY_PATH), without triggering make substitution.
escape_vars = $(subst $$,$$$$,$(1))
# Helper that expands to a shell command to echo a string exactly as it is in
# make. This uses printf instead of echo because printf's behaviour with respect
# to escape sequences is more portable than echo's across different shells
# (e.g., dash, bash).
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
# Helper to compare the command we're about to run against the command
# we logged the last time we ran the command. Produces an empty
# string (false) when the commands match.
# Tricky point: Make has no string-equality test function.
# The kernel uses the following, but it seems like it would have false
# positives, where one string reordered its arguments.
# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
# $(filter-out $(cmd_$@), $(cmd_$(1))))
# We instead substitute each for the empty string into the other, and
# say they're equal if both substitutions produce the empty string.
# .d files contain ? instead of spaces, take that into account.
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
$(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
# Helper that is non-empty when a prerequisite changes.
# Normally make does this implicitly, but we force rules to always run
# so we can check their command lines.
# $? -- new prerequisites
# $| -- order-only dependencies
prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
# Helper that executes all postbuilds until one fails.
define do_postbuilds
@E=0;\
for p in $(POSTBUILDS); do\
eval $$p;\
E=$$?;\
if [ $$E -ne 0 ]; then\
break;\
fi;\
done;\
if [ $$E -ne 0 ]; then\
rm -rf "$@";\
exit $$E;\
fi
endef
# do_cmd: run a command via the above cmd_foo names, if necessary.
# Should always run for a given target to handle command-line changes.
# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
# Third argument, if non-zero, makes it do POSTBUILDS processing.
# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
# spaces already and dirx strips the ? characters.
define do_cmd
$(if $(or $(command_changed),$(prereq_changed)),
@$(call exact_echo, $($(quiet)cmd_$(1)))
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
$(if $(findstring flock,$(word 1,$(cmd_$1))),
@$(cmd_$(1))
@echo " $(quiet_cmd_$(1)): Finished",
@$(cmd_$(1))
)
@$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
@$(if $(2),$(fixup_dep))
$(if $(and $(3), $(POSTBUILDS)),
$(call do_postbuilds)
)
)
endef
# Declare the "all" target first so it is the default,
# even though we don't have the deps yet.
.PHONY: all
all:
# make looks for ways to re-generate included makefiles, but in our case, we
# don't have a direct way. Explicitly telling make that it has nothing to do
# for them makes it go faster.
%.d: ;
# Use FORCE_DO_CMD to force a target to run. Should be coupled with
# do_cmd.
.PHONY: FORCE_DO_CMD
FORCE_DO_CMD:
TOOLSET := target
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,binding.target.mk)))),)
include binding.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,deps/mpg123/mpg123.target.mk)))),)
include deps/mpg123/mpg123.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,deps/mpg123/output.target.mk)))),)
include deps/mpg123/output.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,deps/mpg123/output_test.target.mk)))),)
include deps/mpg123/output_test.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,deps/mpg123/test.target.mk)))),)
include deps/mpg123/test.target.mk
endif
quiet_cmd_regen_makefile = ACTION Regenerating $@
cmd_regen_makefile = cd $(srcdir); /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/home/sergiu/linx-audio-simulator/node_modules/speaker/build/config.gypi -I/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi -I/home/sergiu/.node-gyp/8.16.0/include/node/common.gypi "--depth=." "-Goutput_dir=." "--generator-output=build" "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/sergiu/.node-gyp/8.16.0" "-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp" "-Dnode_lib_file=/home/sergiu/.node-gyp/8.16.0/<(target_arch)/node.lib" "-Dmodule_root_dir=/home/sergiu/linx-audio-simulator/node_modules/speaker" "-Dnode_engine=v8" binding.gyp
Makefile: $(srcdir)/deps/mpg123/mpg123.gyp $(srcdir)/../../../.node-gyp/8.16.0/include/node/common.gypi $(srcdir)/build/config.gypi $(srcdir)/binding.gyp $(srcdir)/../../../../../usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi
$(call do_cmd,regen_makefile)
# "all" is a concatenation of the "all" targets from all the included
# sub-makefiles. This is just here to clarify.
all:
# Add in dependency-tracking rules. $(all_deps) is the list of every single
# target in our tree. Only consider the ones with .d (dependency) info:
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
ifneq ($(d_files),)
include $(d_files)
endif

View File

@ -0,0 +1 @@
cmd_Release/binding.node := rm -rf "Release/binding.node" && cp -af "Release/obj.target/binding.node" "Release/binding.node"

View File

@ -0,0 +1 @@
cmd_Release/liboutput.a := rm -rf "Release/liboutput.a" && cp -af "Release/obj.target/deps/mpg123/liboutput.a" "Release/liboutput.a"

View File

@ -0,0 +1 @@
cmd_Release/obj.target/binding.node := g++ -shared -pthread -rdynamic -m64 -Wl,-soname=binding.node -o Release/obj.target/binding.node -Wl,--start-group Release/obj.target/binding/src/binding.o Release/obj.target/deps/mpg123/liboutput.a -Wl,--end-group -lasound

View File

@ -0,0 +1,70 @@
cmd_Release/obj.target/binding/src/binding.o := g++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/home/sergiu/.node-gyp/8.16.0/include/node -I/home/sergiu/.node-gyp/8.16.0/src -I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config -I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include -I/home/sergiu/.node-gyp/8.16.0/deps/uv/include -I/home/sergiu/.node-gyp/8.16.0/deps/zlib -I/home/sergiu/.node-gyp/8.16.0/deps/v8/include -I../../nan -I../deps/mpg123/src -I../deps/mpg123/src/output -I../deps/mpg123/src/libmpg123 -I../deps/mpg123/config/linux/x64 -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw -c -o Release/obj.target/binding/src/binding.o ../src/binding.cc
Release/obj.target/binding/src/binding.o: ../src/binding.cc \
../src/node_pointer.h ../../nan/nan.h \
/home/sergiu/.node-gyp/8.16.0/include/node/node_version.h \
/home/sergiu/.node-gyp/8.16.0/include/node/uv.h \
/home/sergiu/.node-gyp/8.16.0/include/node/uv/errno.h \
/home/sergiu/.node-gyp/8.16.0/include/node/uv/version.h \
/home/sergiu/.node-gyp/8.16.0/include/node/uv/unix.h \
/home/sergiu/.node-gyp/8.16.0/include/node/uv/threadpool.h \
/home/sergiu/.node-gyp/8.16.0/include/node/uv/linux.h \
/home/sergiu/.node-gyp/8.16.0/include/node/node.h \
/home/sergiu/.node-gyp/8.16.0/include/node/v8.h \
/home/sergiu/.node-gyp/8.16.0/include/node/v8-version.h \
/home/sergiu/.node-gyp/8.16.0/include/node/v8config.h \
/home/sergiu/.node-gyp/8.16.0/include/node/v8-platform.h \
/home/sergiu/.node-gyp/8.16.0/include/node/node_version.h \
/home/sergiu/.node-gyp/8.16.0/include/node/node_buffer.h \
/home/sergiu/.node-gyp/8.16.0/include/node/node.h \
/home/sergiu/.node-gyp/8.16.0/include/node/node_object_wrap.h \
../../nan/nan_callbacks.h ../../nan/nan_callbacks_12_inl.h \
../../nan/nan_maybe_43_inl.h ../../nan/nan_converters.h \
../../nan/nan_converters_43_inl.h ../../nan/nan_new.h \
../../nan/nan_implementation_12_inl.h ../../nan/nan_persistent_12_inl.h \
../../nan/nan_weak.h ../../nan/nan_object_wrap.h ../../nan/nan_private.h \
../../nan/nan_typedarray_contents.h ../../nan/nan_json.h \
../deps/mpg123/src/output/output.h \
../deps/mpg123/config/linux/x64/mpg123.h ../deps/mpg123/src/module.h \
../deps/mpg123/src/audio.h ../deps/mpg123/src/libmpg123/compat.h \
../deps/mpg123/config/linux/x64/config.h \
../deps/mpg123/src/libmpg123/intsym.h ../deps/mpg123/src/module.h
../src/binding.cc:
../src/node_pointer.h:
../../nan/nan.h:
/home/sergiu/.node-gyp/8.16.0/include/node/node_version.h:
/home/sergiu/.node-gyp/8.16.0/include/node/uv.h:
/home/sergiu/.node-gyp/8.16.0/include/node/uv/errno.h:
/home/sergiu/.node-gyp/8.16.0/include/node/uv/version.h:
/home/sergiu/.node-gyp/8.16.0/include/node/uv/unix.h:
/home/sergiu/.node-gyp/8.16.0/include/node/uv/threadpool.h:
/home/sergiu/.node-gyp/8.16.0/include/node/uv/linux.h:
/home/sergiu/.node-gyp/8.16.0/include/node/node.h:
/home/sergiu/.node-gyp/8.16.0/include/node/v8.h:
/home/sergiu/.node-gyp/8.16.0/include/node/v8-version.h:
/home/sergiu/.node-gyp/8.16.0/include/node/v8config.h:
/home/sergiu/.node-gyp/8.16.0/include/node/v8-platform.h:
/home/sergiu/.node-gyp/8.16.0/include/node/node_version.h:
/home/sergiu/.node-gyp/8.16.0/include/node/node_buffer.h:
/home/sergiu/.node-gyp/8.16.0/include/node/node.h:
/home/sergiu/.node-gyp/8.16.0/include/node/node_object_wrap.h:
../../nan/nan_callbacks.h:
../../nan/nan_callbacks_12_inl.h:
../../nan/nan_maybe_43_inl.h:
../../nan/nan_converters.h:
../../nan/nan_converters_43_inl.h:
../../nan/nan_new.h:
../../nan/nan_implementation_12_inl.h:
../../nan/nan_persistent_12_inl.h:
../../nan/nan_weak.h:
../../nan/nan_object_wrap.h:
../../nan/nan_private.h:
../../nan/nan_typedarray_contents.h:
../../nan/nan_json.h:
../deps/mpg123/src/output/output.h:
../deps/mpg123/config/linux/x64/mpg123.h:
../deps/mpg123/src/module.h:
../deps/mpg123/src/audio.h:
../deps/mpg123/src/libmpg123/compat.h:
../deps/mpg123/config/linux/x64/config.h:
../deps/mpg123/src/libmpg123/intsym.h:
../deps/mpg123/src/module.h:

View File

@ -0,0 +1 @@
cmd_Release/obj.target/deps/mpg123/liboutput.a := rm -f Release/obj.target/deps/mpg123/liboutput.a && ar crs Release/obj.target/deps/mpg123/liboutput.a Release/obj.target/output/deps/mpg123/src/output/alsa.o

View File

@ -0,0 +1,24 @@
cmd_Release/obj.target/output/deps/mpg123/src/output/alsa.o := cc '-DNODE_GYP_MODULE_NAME=output' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DPIC' '-DNOXFERMEM' '-DREAL_IS_FLOAT' '-DHAVE_CONFIG_H' '-DBUILDING_OUTPUT_MODULES=1' '-DNDEBUG' -I/home/sergiu/.node-gyp/8.16.0/include/node -I/home/sergiu/.node-gyp/8.16.0/src -I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config -I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include -I/home/sergiu/.node-gyp/8.16.0/deps/uv/include -I/home/sergiu/.node-gyp/8.16.0/deps/zlib -I/home/sergiu/.node-gyp/8.16.0/deps/v8/include -I../deps/mpg123/src -I../deps/mpg123/src/output -I../deps/mpg123/src/libmpg123 -I../deps/mpg123/config/linux/x64 -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -MMD -MF ./Release/.deps/Release/obj.target/output/deps/mpg123/src/output/alsa.o.d.raw -c -o Release/obj.target/output/deps/mpg123/src/output/alsa.o ../deps/mpg123/src/output/alsa.c
Release/obj.target/output/deps/mpg123/src/output/alsa.o: \
../deps/mpg123/src/output/alsa.c ../deps/mpg123/src/mpg123app.h \
../deps/mpg123/config/linux/x64/config.h \
../deps/mpg123/src/libmpg123/compat.h \
../deps/mpg123/src/libmpg123/intsym.h ../deps/mpg123/src/xfermem.h \
../deps/mpg123/src/httpget.h ../deps/mpg123/config/linux/x64/mpg123.h \
../deps/mpg123/src/audio.h ../deps/mpg123/src/module.h \
../deps/mpg123/src/local.h ../deps/mpg123/src/audio.h \
../deps/mpg123/src/module.h ../deps/mpg123/src/libmpg123/debug.h
../deps/mpg123/src/output/alsa.c:
../deps/mpg123/src/mpg123app.h:
../deps/mpg123/config/linux/x64/config.h:
../deps/mpg123/src/libmpg123/compat.h:
../deps/mpg123/src/libmpg123/intsym.h:
../deps/mpg123/src/xfermem.h:
../deps/mpg123/src/httpget.h:
../deps/mpg123/config/linux/x64/mpg123.h:
../deps/mpg123/src/audio.h:
../deps/mpg123/src/module.h:
../deps/mpg123/src/local.h:
../deps/mpg123/src/audio.h:
../deps/mpg123/src/module.h:
../deps/mpg123/src/libmpg123/debug.h:

BIN
node_modules/speaker/build/Release/binding.node generated vendored Executable file

Binary file not shown.

BIN
node_modules/speaker/build/Release/liboutput.a generated vendored Normal file

Binary file not shown.

BIN
node_modules/speaker/build/Release/obj.target/binding.node generated vendored Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

6
node_modules/speaker/build/binding.Makefile generated vendored Normal file
View File

@ -0,0 +1,6 @@
# This file is generated by gyp; do not edit.
export builddir_name ?= ./build/.
.PHONY: all
all:
$(MAKE) binding

161
node_modules/speaker/build/binding.target.mk generated vendored Normal file
View File

@ -0,0 +1,161 @@
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := binding
DEFS_Debug := \
'-DNODE_GYP_MODULE_NAME=binding' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DBUILDING_NODE_EXTENSION' \
'-DDEBUG' \
'-D_DEBUG' \
'-DV8_ENABLE_CHECKS'
# Flags passed to all source files.
CFLAGS_Debug := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-g \
-O0
# Flags passed to only C files.
CFLAGS_C_Debug :=
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Debug := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/../nan \
-I$(srcdir)/deps/mpg123/src \
-I$(srcdir)/deps/mpg123/src/output \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
DEFS_Release := \
'-DNODE_GYP_MODULE_NAME=binding' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DBUILDING_NODE_EXTENSION'
# Flags passed to all source files.
CFLAGS_Release := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-O3 \
-fno-omit-frame-pointer
# Flags passed to only C files.
CFLAGS_C_Release :=
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Release := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/../nan \
-I$(srcdir)/deps/mpg123/src \
-I$(srcdir)/deps/mpg123/src/output \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
OBJS := \
$(obj).target/$(TARGET)/src/binding.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# Make sure our dependencies are built before any of us.
$(OBJS): | $(builddir)/liboutput.a $(obj).target/deps/mpg123/liboutput.a
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-pthread \
-rdynamic \
-m64
LDFLAGS_Release := \
-pthread \
-rdynamic \
-m64
LIBS := \
-lasound
$(obj).target/binding.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(obj).target/binding.node: LIBS := $(LIBS)
$(obj).target/binding.node: TOOLSET := $(TOOLSET)
$(obj).target/binding.node: $(OBJS) $(obj).target/deps/mpg123/liboutput.a FORCE_DO_CMD
$(call do_cmd,solink_module)
all_deps += $(obj).target/binding.node
# Add target alias
.PHONY: binding
binding: $(builddir)/binding.node
# Copy this to the executable output path.
$(builddir)/binding.node: TOOLSET := $(TOOLSET)
$(builddir)/binding.node: $(obj).target/binding.node FORCE_DO_CMD
$(call do_cmd,copy)
all_deps += $(builddir)/binding.node
# Short alias for building this executable.
.PHONY: binding.node
binding.node: $(obj).target/binding.node $(builddir)/binding.node
# Add executable to "all" target.
.PHONY: all
all: $(builddir)/binding.node

191
node_modules/speaker/build/config.gypi generated vendored Normal file
View File

@ -0,0 +1,191 @@
# Do not edit. File was generated by node-gyp's "configure" step
{
"target_defaults": {
"cflags": [],
"default_configuration": "Release",
"defines": [],
"include_dirs": [],
"libraries": []
},
"variables": {
"asan": 0,
"coverage": "false",
"debug_devtools": "node",
"debug_http2": "false",
"debug_nghttp2": "false",
"force_dynamic_crt": 0,
"gas_version": "2.23",
"host_arch": "x64",
"icu_data_file": "icudt60l.dat",
"icu_data_in": "../../deps/icu-small/source/data/in/icudt60l.dat",
"icu_endianness": "l",
"icu_gyp_path": "tools/icu/icu-generic.gyp",
"icu_locales": "en,root",
"icu_path": "deps/icu-small",
"icu_small": "true",
"icu_ver_major": "60",
"llvm_version": 0,
"node_byteorder": "little",
"node_enable_d8": "false",
"node_enable_v8_vtunejit": "false",
"node_install_npm": "true",
"node_module_version": 57,
"node_no_browser_globals": "false",
"node_prefix": "/",
"node_release_urlbase": "https://nodejs.org/download/release/",
"node_shared": "false",
"node_shared_cares": "false",
"node_shared_http_parser": "false",
"node_shared_libuv": "false",
"node_shared_nghttp2": "false",
"node_shared_openssl": "false",
"node_shared_zlib": "false",
"node_tag": "",
"node_target_type": "executable",
"node_use_bundled_v8": "true",
"node_use_dtrace": "false",
"node_use_etw": "false",
"node_use_lttng": "false",
"node_use_openssl": "true",
"node_use_perfctr": "false",
"node_use_v8_platform": "true",
"node_without_node_options": "false",
"openssl_fips": "",
"openssl_no_asm": 0,
"shlib_suffix": "so.57",
"target_arch": "x64",
"uv_parent_path": "/deps/uv/",
"uv_use_dtrace": "false",
"v8_enable_gdbjit": 0,
"v8_enable_i18n_support": 1,
"v8_enable_inspector": 1,
"v8_no_strict_aliasing": 1,
"v8_optimized_debug": 0,
"v8_promise_internal_field_count": 1,
"v8_random_seed": 0,
"v8_trace_maps": 0,
"v8_use_snapshot": "true",
"want_separate_host_toolset": 0,
"nodedir": "/home/sergiu/.node-gyp/8.16.0",
"standalone_static_library": 1,
"cache_lock_stale": "60000",
"ham_it_up": "",
"legacy_bundling": "",
"sign_git_tag": "",
"user_agent": "npm/6.4.1 node/v8.16.0 linux x64",
"always_auth": "",
"bin_links": "true",
"key": "",
"allow_same_version": "",
"description": "true",
"fetch_retries": "2",
"heading": "npm",
"if_present": "",
"init_version": "1.0.0",
"user": "",
"prefer_online": "",
"noproxy": "",
"force": "",
"only": "",
"read_only": "",
"cache_min": "10",
"init_license": "ISC",
"editor": "vi",
"rollback": "true",
"tag_version_prefix": "v",
"cache_max": "Infinity",
"timing": "",
"userconfig": "/home/sergiu/.npmrc",
"engine_strict": "",
"init_author_name": "",
"init_author_url": "",
"preid": "",
"tmp": "/tmp",
"depth": "Infinity",
"package_lock_only": "",
"save_dev": "",
"usage": "",
"metrics_registry": "https://registry.npmjs.org/",
"otp": "",
"package_lock": "true",
"progress": "true",
"https_proxy": "",
"save_prod": "",
"audit": "true",
"cidr": "",
"onload_script": "",
"sso_type": "oauth",
"rebuild_bundle": "true",
"save_bundle": "",
"shell": "/bin/bash",
"dry_run": "",
"prefix": "/usr",
"scope": "",
"browser": "",
"cache_lock_wait": "10000",
"ignore_prepublish": "",
"registry": "https://registry.npmjs.org/",
"save_optional": "",
"searchopts": "",
"versions": "",
"cache": "/home/sergiu/.npm",
"send_metrics": "",
"global_style": "",
"ignore_scripts": "",
"version": "",
"local_address": "",
"viewer": "man",
"node_gyp": "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",
"audit_level": "low",
"prefer_offline": "",
"color": "true",
"sign_git_commit": "",
"fetch_retry_mintimeout": "10000",
"maxsockets": "50",
"offline": "",
"sso_poll_frequency": "500",
"umask": "0002",
"fetch_retry_maxtimeout": "60000",
"logs_max": "10",
"message": "%s",
"ca": "",
"cert": "",
"global": "",
"link": "",
"access": "",
"also": "",
"save": "true",
"unicode": "true",
"long": "",
"production": "",
"searchlimit": "20",
"unsafe_perm": "true",
"update_notifier": "true",
"auth_type": "legacy",
"node_version": "8.16.0",
"tag": "latest",
"git_tag_version": "true",
"commit_hooks": "true",
"script_shell": "",
"shrinkwrap": "true",
"fetch_retry_factor": "10",
"save_exact": "",
"strict_ssl": "true",
"dev": "",
"globalconfig": "/usr/etc/npmrc",
"init_module": "/home/sergiu/.npm-init.js",
"parseable": "",
"globalignorefile": "/usr/etc/npmignore",
"cache_lock_retries": "10",
"searchstaleness": "900",
"node_options": "",
"save_prefix": "^",
"scripts_prepend_node_path": "warn-only",
"group": "1000",
"init_author_email": "",
"searchexclude": "",
"git": "git",
"optional": "true",
"json": ""
}
}

View File

@ -0,0 +1,6 @@
# This file is generated by gyp; do not edit.
export builddir_name ?= ./build/deps/mpg123/.
.PHONY: all
all:
$(MAKE) -C ../.. output

200
node_modules/speaker/build/deps/mpg123/mpg123.target.mk generated vendored Normal file
View File

@ -0,0 +1,200 @@
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := mpg123
DEFS_Debug := \
'-DNODE_GYP_MODULE_NAME=mpg123' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DPIC' \
'-DNOXFERMEM' \
'-DHAVE_CONFIG_H' \
'-DOPT_X86_64' \
'-DREAL_IS_FLOAT' \
'-DDEBUG' \
'-D_DEBUG' \
'-DV8_ENABLE_CHECKS'
# Flags passed to all source files.
CFLAGS_Debug := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-g \
-O0
# Flags passed to only C files.
CFLAGS_C_Debug :=
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Debug := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
DEFS_Release := \
'-DNODE_GYP_MODULE_NAME=mpg123' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DPIC' \
'-DNOXFERMEM' \
'-DHAVE_CONFIG_H' \
'-DOPT_X86_64' \
'-DREAL_IS_FLOAT' \
'-DNDEBUG'
# Flags passed to all source files.
CFLAGS_Release := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-O3 \
-fno-omit-frame-pointer
# Flags passed to only C files.
CFLAGS_C_Release :=
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Release := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
OBJS := \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/compat.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/parse.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/frame.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/format.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/dct64.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/equalizer.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/id3.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/optimize.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/readers.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/tabinit.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/libmpg123.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/index.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/stringbuf.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/icy.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/icy2utf8.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/ntom.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_8bit.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/layer1.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/layer2.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/layer3.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/feature.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/dct64_x86_64.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/dct64_x86_64_float.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_s32.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_real.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_stereo_x86_64.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_stereo_x86_64_float.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_stereo_x86_64_s32.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_x86_64.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_x86_64_s32.o \
$(obj).target/$(TARGET)/deps/mpg123/src/libmpg123/synth_x86_64_float.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-pthread \
-rdynamic \
-m64
LDFLAGS_Release := \
-pthread \
-rdynamic \
-m64
LIBS :=
$(obj).target/deps/mpg123/libmpg123.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(obj).target/deps/mpg123/libmpg123.a: LIBS := $(LIBS)
$(obj).target/deps/mpg123/libmpg123.a: TOOLSET := $(TOOLSET)
$(obj).target/deps/mpg123/libmpg123.a: $(OBJS) FORCE_DO_CMD
$(call do_cmd,alink)
all_deps += $(obj).target/deps/mpg123/libmpg123.a
# Add target alias
.PHONY: mpg123
mpg123: $(obj).target/deps/mpg123/libmpg123.a
# Add target alias
.PHONY: mpg123
mpg123: $(builddir)/libmpg123.a
# Copy this to the static library output path.
$(builddir)/libmpg123.a: TOOLSET := $(TOOLSET)
$(builddir)/libmpg123.a: $(obj).target/deps/mpg123/libmpg123.a FORCE_DO_CMD
$(call do_cmd,copy)
all_deps += $(builddir)/libmpg123.a
# Short alias for building this static library.
.PHONY: libmpg123.a
libmpg123.a: $(obj).target/deps/mpg123/libmpg123.a $(builddir)/libmpg123.a

172
node_modules/speaker/build/deps/mpg123/output.target.mk generated vendored Normal file
View File

@ -0,0 +1,172 @@
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := output
DEFS_Debug := \
'-DNODE_GYP_MODULE_NAME=output' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DPIC' \
'-DNOXFERMEM' \
'-DREAL_IS_FLOAT' \
'-DHAVE_CONFIG_H' \
'-DBUILDING_OUTPUT_MODULES=1' \
'-DDEBUG' \
'-D_DEBUG' \
'-DV8_ENABLE_CHECKS'
# Flags passed to all source files.
CFLAGS_Debug := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-g \
-O0
# Flags passed to only C files.
CFLAGS_C_Debug :=
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Debug := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src \
-I$(srcdir)/deps/mpg123/src/output \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
DEFS_Release := \
'-DNODE_GYP_MODULE_NAME=output' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DPIC' \
'-DNOXFERMEM' \
'-DREAL_IS_FLOAT' \
'-DHAVE_CONFIG_H' \
'-DBUILDING_OUTPUT_MODULES=1' \
'-DNDEBUG'
# Flags passed to all source files.
CFLAGS_Release := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-O3 \
-fno-omit-frame-pointer
# Flags passed to only C files.
CFLAGS_C_Release :=
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Release := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src \
-I$(srcdir)/deps/mpg123/src/output \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
OBJS := \
$(obj).target/$(TARGET)/deps/mpg123/src/output/alsa.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-pthread \
-rdynamic \
-m64
LDFLAGS_Release := \
-pthread \
-rdynamic \
-m64
LIBS :=
$(obj).target/deps/mpg123/liboutput.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(obj).target/deps/mpg123/liboutput.a: LIBS := $(LIBS)
$(obj).target/deps/mpg123/liboutput.a: TOOLSET := $(TOOLSET)
$(obj).target/deps/mpg123/liboutput.a: $(OBJS) FORCE_DO_CMD
$(call do_cmd,alink)
all_deps += $(obj).target/deps/mpg123/liboutput.a
# Add target alias
.PHONY: output
output: $(obj).target/deps/mpg123/liboutput.a
# Add target alias to "all" target.
.PHONY: all
all: output
# Add target alias
.PHONY: output
output: $(builddir)/liboutput.a
# Copy this to the static library output path.
$(builddir)/liboutput.a: TOOLSET := $(TOOLSET)
$(builddir)/liboutput.a: $(obj).target/deps/mpg123/liboutput.a FORCE_DO_CMD
$(call do_cmd,copy)
all_deps += $(builddir)/liboutput.a
# Short alias for building this static library.
.PHONY: liboutput.a
liboutput.a: $(obj).target/deps/mpg123/liboutput.a $(builddir)/liboutput.a
# Add static library to "all" target.
.PHONY: all
all: $(builddir)/liboutput.a

View File

@ -0,0 +1,145 @@
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := output_test
DEFS_Debug := \
'-DNODE_GYP_MODULE_NAME=output_test' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DDEBUG' \
'-D_DEBUG' \
'-DV8_ENABLE_CHECKS'
# Flags passed to all source files.
CFLAGS_Debug := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-g \
-O0
# Flags passed to only C files.
CFLAGS_C_Debug :=
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Debug := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src \
-I$(srcdir)/deps/mpg123/src/output \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
DEFS_Release := \
'-DNODE_GYP_MODULE_NAME=output_test' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DNDEBUG'
# Flags passed to all source files.
CFLAGS_Release := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-O3 \
-fno-omit-frame-pointer
# Flags passed to only C files.
CFLAGS_C_Release :=
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Release := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src \
-I$(srcdir)/deps/mpg123/src/output \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
OBJS := \
$(obj).target/$(TARGET)/deps/mpg123/test_output.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# Make sure our dependencies are built before any of us.
$(OBJS): | $(builddir)/liboutput.a $(obj).target/deps/mpg123/liboutput.a
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-pthread \
-rdynamic \
-m64
LDFLAGS_Release := \
-pthread \
-rdynamic \
-m64
LIBS := \
-lasound
$(builddir)/output_test: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(builddir)/output_test: LIBS := $(LIBS)
$(builddir)/output_test: LD_INPUTS := $(OBJS) $(obj).target/deps/mpg123/liboutput.a
$(builddir)/output_test: TOOLSET := $(TOOLSET)
$(builddir)/output_test: $(OBJS) $(obj).target/deps/mpg123/liboutput.a FORCE_DO_CMD
$(call do_cmd,link)
all_deps += $(builddir)/output_test
# Add target alias
.PHONY: output_test
output_test: $(builddir)/output_test

140
node_modules/speaker/build/deps/mpg123/test.target.mk generated vendored Normal file
View File

@ -0,0 +1,140 @@
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := test
DEFS_Debug := \
'-DNODE_GYP_MODULE_NAME=test' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DDEBUG' \
'-D_DEBUG' \
'-DV8_ENABLE_CHECKS'
# Flags passed to all source files.
CFLAGS_Debug := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-g \
-O0
# Flags passed to only C files.
CFLAGS_C_Debug :=
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Debug := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
DEFS_Release := \
'-DNODE_GYP_MODULE_NAME=test' \
'-DUSING_UV_SHARED=1' \
'-DUSING_V8_SHARED=1' \
'-DV8_DEPRECATION_WARNINGS=1' \
'-D_LARGEFILE_SOURCE' \
'-D_FILE_OFFSET_BITS=64' \
'-DNDEBUG'
# Flags passed to all source files.
CFLAGS_Release := \
-fPIC \
-pthread \
-Wall \
-Wextra \
-Wno-unused-parameter \
-m64 \
-O3 \
-fno-omit-frame-pointer
# Flags passed to only C files.
CFLAGS_C_Release :=
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-fno-rtti \
-fno-exceptions \
-std=gnu++0x
INCS_Release := \
-I/home/sergiu/.node-gyp/8.16.0/include/node \
-I/home/sergiu/.node-gyp/8.16.0/src \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/config \
-I/home/sergiu/.node-gyp/8.16.0/deps/openssl/openssl/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/uv/include \
-I/home/sergiu/.node-gyp/8.16.0/deps/zlib \
-I/home/sergiu/.node-gyp/8.16.0/deps/v8/include \
-I$(srcdir)/deps/mpg123/src/libmpg123 \
-I$(srcdir)/deps/mpg123/config/linux/x64
OBJS := \
$(obj).target/$(TARGET)/deps/mpg123/test.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# Make sure our dependencies are built before any of us.
$(OBJS): | $(builddir)/libmpg123.a $(obj).target/deps/mpg123/libmpg123.a
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-pthread \
-rdynamic \
-m64
LDFLAGS_Release := \
-pthread \
-rdynamic \
-m64
LIBS :=
$(builddir)/test: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(builddir)/test: LIBS := $(LIBS)
$(builddir)/test: LD_INPUTS := $(OBJS) $(obj).target/deps/mpg123/libmpg123.a
$(builddir)/test: TOOLSET := $(TOOLSET)
$(builddir)/test: $(OBJS) $(obj).target/deps/mpg123/libmpg123.a FORCE_DO_CMD
$(call do_cmd,link)
all_deps += $(builddir)/test
# Add target alias
.PHONY: test
test: $(builddir)/test