Blame view
src/online/Makefile
1.33 KB
8dcb6dfcb first commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
all: EXTRA_CXXFLAGS += -Wno-sign-compare -I ../../tools/portaudio/install/include EXTRA_LDLIBS = include ../kaldi.mk UNAME=$(shell uname) ifeq ($(UNAME), Darwin) EXTRA_LDLIBS = ../../tools/portaudio/install/lib/libportaudio.a EXTRA_LDLIBS += -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework CoreServices endif ifeq ($(UNAME), Linux) ifneq "$(wildcard ../../tools/portaudio/install/lib/libportaudio.a)" "" EXTRA_LDLIBS = ../../tools/portaudio/install/lib/libportaudio.a else EXTRA_LDLIBS = ../../tools/portaudio/install/lib64/libportaudio.a endif ifneq ($(wildcard ../../tools/portaudio/install/include/pa_linux_alsa.h),) EXTRA_LDLIBS += -lasound -lrt else EXTRA_LDLIBS += -lrt endif ifneq ($(wildcard ../../tools/portaudio/install/include/pa_jack.h),) EXTRA_LDLIBS += -ljack endif endif TESTFILES = online-feat-test OBJFILES = online-audio-source.o online-feat-input.o online-decodable.o online-faster-decoder.o onlinebin-util.o online-tcp-source.o LIBNAME = kaldi-online ADDLIBS = ../decoder/kaldi-decoder.a ../lat/kaldi-lat.a ../hmm/kaldi-hmm.a \ ../feat/kaldi-feat.a ../transform/kaldi-transform.a \ ../gmm/kaldi-gmm.a ../tree/kaldi-tree.a ../util/kaldi-util.a \ ../matrix/kaldi-matrix.a ../base/kaldi-base.a include ../makefiles/default_rules.mk |