forked from Supositware/Haha-Yes
327 lines
13 KiB
Makefile
327 lines
13 KiB
Makefile
|
# This file is generated by gyp; do not edit.
|
||
|
|
||
|
TOOLSET := target
|
||
|
TARGET := libopus
|
||
|
DEFS_Debug := \
|
||
|
'-DNODE_GYP_MODULE_NAME=libopus' \
|
||
|
'-DUSING_UV_SHARED=1' \
|
||
|
'-DUSING_V8_SHARED=1' \
|
||
|
'-DV8_DEPRECATION_WARNINGS=1' \
|
||
|
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
||
|
'-D_LARGEFILE_SOURCE' \
|
||
|
'-D_FILE_OFFSET_BITS=64' \
|
||
|
'-DPIC' \
|
||
|
'-DHAVE_CONFIG_H' \
|
||
|
'-DDEBUG' \
|
||
|
'-D_DEBUG' \
|
||
|
'-DV8_ENABLE_CHECKS'
|
||
|
|
||
|
# Flags passed to all source files.
|
||
|
CFLAGS_Debug := \
|
||
|
-O0 \
|
||
|
-gdwarf-2 \
|
||
|
-mmacosx-version-min=10.7 \
|
||
|
-arch x86_64 \
|
||
|
-Wall \
|
||
|
-Wendif-labels \
|
||
|
-W \
|
||
|
-Wno-unused-parameter
|
||
|
|
||
|
# Flags passed to only C files.
|
||
|
CFLAGS_C_Debug := \
|
||
|
-fno-strict-aliasing
|
||
|
|
||
|
# Flags passed to only C++ files.
|
||
|
CFLAGS_CC_Debug := \
|
||
|
-std=gnu++1y \
|
||
|
-stdlib=libc++ \
|
||
|
-fno-rtti \
|
||
|
-fno-exceptions \
|
||
|
-fno-threadsafe-statics \
|
||
|
-fno-strict-aliasing
|
||
|
|
||
|
# Flags passed to only ObjC files.
|
||
|
CFLAGS_OBJC_Debug :=
|
||
|
|
||
|
# Flags passed to only ObjC++ files.
|
||
|
CFLAGS_OBJCC_Debug :=
|
||
|
|
||
|
INCS_Debug := \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/include/node \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/src \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/openssl/config \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/openssl/openssl/include \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/uv/include \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/zlib \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/v8/include \
|
||
|
-I$(srcdir)/deps/config/opus/mac/x64 \
|
||
|
-I$(srcdir)/deps/opus/include \
|
||
|
-I$(srcdir)/deps/opus/celt \
|
||
|
-I$(srcdir)/deps/opus/silk \
|
||
|
-I$(srcdir)/deps/opus/silk/float
|
||
|
|
||
|
DEFS_Release := \
|
||
|
'-DNODE_GYP_MODULE_NAME=libopus' \
|
||
|
'-DUSING_UV_SHARED=1' \
|
||
|
'-DUSING_V8_SHARED=1' \
|
||
|
'-DV8_DEPRECATION_WARNINGS=1' \
|
||
|
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
||
|
'-D_LARGEFILE_SOURCE' \
|
||
|
'-D_FILE_OFFSET_BITS=64' \
|
||
|
'-DPIC' \
|
||
|
'-DHAVE_CONFIG_H'
|
||
|
|
||
|
# Flags passed to all source files.
|
||
|
CFLAGS_Release := \
|
||
|
-Os \
|
||
|
-gdwarf-2 \
|
||
|
-mmacosx-version-min=10.7 \
|
||
|
-arch x86_64 \
|
||
|
-Wall \
|
||
|
-Wendif-labels \
|
||
|
-W \
|
||
|
-Wno-unused-parameter
|
||
|
|
||
|
# Flags passed to only C files.
|
||
|
CFLAGS_C_Release := \
|
||
|
-fno-strict-aliasing
|
||
|
|
||
|
# Flags passed to only C++ files.
|
||
|
CFLAGS_CC_Release := \
|
||
|
-std=gnu++1y \
|
||
|
-stdlib=libc++ \
|
||
|
-fno-rtti \
|
||
|
-fno-exceptions \
|
||
|
-fno-threadsafe-statics \
|
||
|
-fno-strict-aliasing
|
||
|
|
||
|
# Flags passed to only ObjC files.
|
||
|
CFLAGS_OBJC_Release :=
|
||
|
|
||
|
# Flags passed to only ObjC++ files.
|
||
|
CFLAGS_OBJCC_Release :=
|
||
|
|
||
|
INCS_Release := \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/include/node \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/src \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/openssl/config \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/openssl/openssl/include \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/uv/include \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/zlib \
|
||
|
-I/Users/loic/.node-gyp/10.9.0/deps/v8/include \
|
||
|
-I$(srcdir)/deps/config/opus/mac/x64 \
|
||
|
-I$(srcdir)/deps/opus/include \
|
||
|
-I$(srcdir)/deps/opus/celt \
|
||
|
-I$(srcdir)/deps/opus/silk \
|
||
|
-I$(srcdir)/deps/opus/silk/float
|
||
|
|
||
|
OBJS := \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/opus.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/opus_decoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/opus_encoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/opus_multistream.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/opus_multistream_encoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/opus_multistream_decoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/repacketizer.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/analysis.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/mlp.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/src/mlp_data.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/bands.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/celt.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/celt_encoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/celt_decoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/cwrs.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/entcode.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/entdec.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/entenc.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/kiss_fft.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/laplace.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/mathops.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/mdct.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/modes.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/pitch.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/celt_lpc.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/quant_bands.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/rate.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/celt/vq.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/CNG.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/code_signs.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/init_decoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decode_core.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decode_frame.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decode_parameters.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decode_indices.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decode_pulses.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decoder_set_fs.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/dec_API.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/enc_API.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/encode_indices.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/encode_pulses.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/gain_quant.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/interpolate.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/LP_variable_cutoff.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_decode.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NSQ.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NSQ_del_dec.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/PLC.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/shell_coder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_gain.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_LTP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_NLSF_CB_NB_MB.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_NLSF_CB_WB.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_other.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_pitch_lag.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/tables_pulses_per_block.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/VAD.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/control_audio_bandwidth.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/quant_LTP_gains.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/VQ_WMat_EC.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/HP_variable_cutoff.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_encode.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_VQ.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_unpack.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_del_dec_quant.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/process_NLSFs.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/stereo_LR_to_MS.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/stereo_MS_to_LR.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/check_control_input.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/control_SNR.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/init_encoder.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/control_codec.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/A2NLSF.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/ana_filt_bank_1.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/biquad_alt.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/bwexpander_32.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/bwexpander.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/debug.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/decode_pitch.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/inner_prod_aligned.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/lin2log.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/log2lin.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/LPC_analysis_filter.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/LPC_inv_pred_gain.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/table_LSF_cos.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF2A.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_stabilize.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/NLSF_VQ_weights_laroia.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/pitch_est_tables.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_down2_3.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_down2.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_private_AR2.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_private_down_FIR.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_private_IIR_FIR.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_private_up2_HQ.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/resampler_rom.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/sigm_Q15.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/sort.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/sum_sqr_shift.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/stereo_decode_pred.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/stereo_encode_pred.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/stereo_find_predictor.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/stereo_quant_pred.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/apply_sine_window_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/corrMatrix_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/encode_frame_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/find_LPC_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/find_LTP_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/find_pitch_lags_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/find_pred_coefs_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/LPC_analysis_filter_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/LTP_analysis_filter_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/LTP_scale_ctrl_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/noise_shape_analysis_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/prefilter_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/process_gains_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/regularize_correlations_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/residual_energy_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/solve_LS_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/warped_autocorrelation_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/wrappers_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/autocorrelation_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/burg_modified_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/bwexpander_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/energy_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/inner_product_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/k2a_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/levinsondurbin_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/LPC_inv_pred_gain_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/pitch_analysis_core_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/scale_copy_vector_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/scale_vector_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/schur_FLP.o \
|
||
|
$(obj).target/$(TARGET)/deps/opus/silk/float/sort_FLP.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))
|
||
|
$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
|
||
|
$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(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 := \
|
||
|
-mmacosx-version-min=10.7 \
|
||
|
-arch x86_64 \
|
||
|
-L$(builddir) \
|
||
|
-stdlib=libc++
|
||
|
|
||
|
LIBTOOLFLAGS_Debug :=
|
||
|
|
||
|
LDFLAGS_Release := \
|
||
|
-mmacosx-version-min=10.7 \
|
||
|
-arch x86_64 \
|
||
|
-L$(builddir) \
|
||
|
-stdlib=libc++
|
||
|
|
||
|
LIBTOOLFLAGS_Release :=
|
||
|
|
||
|
LIBS :=
|
||
|
|
||
|
$(builddir)/opus.a: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
||
|
$(builddir)/opus.a: LIBS := $(LIBS)
|
||
|
$(builddir)/opus.a: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
|
||
|
$(builddir)/opus.a: TOOLSET := $(TOOLSET)
|
||
|
$(builddir)/opus.a: $(OBJS) FORCE_DO_CMD
|
||
|
$(call do_cmd,alink)
|
||
|
|
||
|
all_deps += $(builddir)/opus.a
|
||
|
# Add target alias
|
||
|
.PHONY: libopus
|
||
|
libopus: $(builddir)/opus.a
|
||
|
|
||
|
# Add target alias to "all" target.
|
||
|
.PHONY: all
|
||
|
all: libopus
|
||
|
|
||
|
# Add target alias
|
||
|
.PHONY: libopus
|
||
|
libopus: $(builddir)/opus.a
|
||
|
|
||
|
# Short alias for building this static library.
|
||
|
.PHONY: opus.a
|
||
|
opus.a: $(builddir)/opus.a
|
||
|
|
||
|
# Add static library to "all" target.
|
||
|
.PHONY: all
|
||
|
all: $(builddir)/opus.a
|
||
|
|