2010-02-20 13:46:03 +01:00
|
|
|
CONFIG += qt \
|
2010-03-13 12:46:36 +01:00
|
|
|
thread \
|
|
|
|
release
|
2010-02-20 13:46:03 +01:00
|
|
|
|
|
|
|
QT += network \
|
2010-03-13 12:46:36 +01:00
|
|
|
xml
|
2010-02-20 13:46:03 +01:00
|
|
|
|
|
|
|
INCLUDEPATH += src \
|
2010-03-13 12:46:36 +01:00
|
|
|
libs/celt
|
2010-02-20 13:46:03 +01:00
|
|
|
|
|
|
|
DEFINES += USE_ALLOCA \
|
2010-04-09 19:45:29 +02:00
|
|
|
_REENTRANT \
|
|
|
|
_IS_QMAKE_CONFIG
|
2010-02-20 13:46:03 +01:00
|
|
|
|
2010-04-10 10:49:16 +02:00
|
|
|
win32 {
|
|
|
|
HEADERS += windows/sound.h
|
|
|
|
SOURCES += windows/sound.cpp
|
|
|
|
} else:macx {
|
2010-03-13 12:46:36 +01:00
|
|
|
HEADERS += mac/sound.h
|
|
|
|
SOURCES += mac/sound.cpp
|
|
|
|
RC_FILE = mac/llcon.icns
|
|
|
|
CONFIG += x86 ppc
|
2010-03-11 22:43:28 +01:00
|
|
|
|
2010-03-13 12:46:36 +01:00
|
|
|
LIBS += -framework CoreFoundation \
|
|
|
|
-framework CoreServices \
|
|
|
|
-framework CoreAudio \
|
|
|
|
-framework AudioToolbox \
|
|
|
|
-framework AudioUnit
|
2010-04-10 10:49:16 +02:00
|
|
|
} else:unix {
|
2010-04-10 11:03:59 +02:00
|
|
|
# only include jack support if CONFIG nosound is not set
|
|
|
|
nosoundoption = $$find(CONFIG, "nosound")
|
|
|
|
count(nosoundoption, 0) {
|
|
|
|
message(Jack Audio Interface Enabled.)
|
2010-04-10 10:49:16 +02:00
|
|
|
|
2010-04-10 11:03:59 +02:00
|
|
|
HEADERS += linux/sound.h
|
|
|
|
SOURCES += linux/sound.cpp
|
2010-04-10 10:49:16 +02:00
|
|
|
|
2010-04-10 11:03:59 +02:00
|
|
|
DEFINES += WITH_SOUND
|
|
|
|
|
|
|
|
LIBS += -ljack
|
|
|
|
}
|
2010-03-11 22:43:28 +01:00
|
|
|
}
|
2010-03-05 21:19:12 +01:00
|
|
|
|
2010-02-20 13:46:03 +01:00
|
|
|
RCC_DIR = src/res
|
|
|
|
RESOURCES += src/resources.qrc
|
|
|
|
|
|
|
|
FORMS += src/llconclientdlgbase.ui \
|
2010-03-13 12:46:36 +01:00
|
|
|
src/llconserverdlgbase.ui \
|
|
|
|
src/clientsettingsdlgbase.ui \
|
|
|
|
src/chatdlgbase.ui \
|
|
|
|
src/aboutdlgbase.ui
|
2010-02-20 13:46:03 +01:00
|
|
|
|
2010-03-05 21:19:12 +01:00
|
|
|
HEADERS += src/buffer.h \
|
2010-03-13 12:46:36 +01:00
|
|
|
src/global.h \
|
|
|
|
src/socket.h \
|
|
|
|
src/channel.h \
|
|
|
|
src/util.h \
|
|
|
|
src/client.h \
|
|
|
|
src/server.h \
|
|
|
|
src/settings.h \
|
|
|
|
src/protocol.h \
|
|
|
|
src/multicolorled.h \
|
|
|
|
src/multicolorledbar.h \
|
|
|
|
src/audiomixerboard.h \
|
|
|
|
src/serverlogging.h \
|
|
|
|
src/testbench.h \
|
|
|
|
src/soundbase.h \
|
|
|
|
src/llconserverdlg.h \
|
|
|
|
src/chatdlg.h \
|
|
|
|
src/llconclientdlg.h \
|
|
|
|
src/clientsettingsdlg.h \
|
|
|
|
libs/celt/ecintrin.h \
|
|
|
|
libs/celt/celt.h \
|
|
|
|
libs/celt/celt_types.h \
|
|
|
|
libs/celt/celt_header.h \
|
|
|
|
libs/celt/_kiss_fft_guts.h \
|
|
|
|
libs/celt/arch.h \
|
|
|
|
libs/celt/bands.h \
|
|
|
|
libs/celt/fixed_c5x.h \
|
|
|
|
libs/celt/fixed_c6x.h \
|
|
|
|
libs/celt/cwrs.h \
|
|
|
|
libs/celt/ecintrin.h \
|
|
|
|
libs/celt/entcode.h \
|
|
|
|
libs/celt/entdec.h \
|
|
|
|
libs/celt/entenc.h \
|
|
|
|
libs/celt/fixed_generic.h \
|
|
|
|
libs/celt/float_cast.h \
|
|
|
|
libs/celt/kfft_double.h \
|
|
|
|
libs/celt/kfft_single.h \
|
|
|
|
libs/celt/kiss_fft.h \
|
|
|
|
libs/celt/kiss_fftr.h \
|
|
|
|
libs/celt/laplace.h \
|
|
|
|
libs/celt/mdct.h \
|
|
|
|
libs/celt/mfrngcod.h \
|
|
|
|
libs/celt/mathops.h \
|
|
|
|
libs/celt/modes.h \
|
|
|
|
libs/celt/os_support.h \
|
|
|
|
libs/celt/pitch.h \
|
|
|
|
libs/celt/psy.h \
|
|
|
|
libs/celt/quant_bands.h \
|
|
|
|
libs/celt/rate.h \
|
|
|
|
libs/celt/stack_alloc.h \
|
|
|
|
libs/celt/vq.h
|
2010-02-20 13:46:03 +01:00
|
|
|
|
2010-03-05 21:19:12 +01:00
|
|
|
SOURCES += src/buffer.cpp \
|
2010-03-13 12:46:36 +01:00
|
|
|
src/main.cpp \
|
|
|
|
src/socket.cpp \
|
|
|
|
src/channel.cpp \
|
|
|
|
src/util.cpp \
|
|
|
|
src/llconclientdlg.cpp \
|
|
|
|
src/clientsettingsdlg.cpp \
|
|
|
|
src/llconserverdlg.cpp \
|
|
|
|
src/chatdlg.cpp \
|
|
|
|
src/client.cpp \
|
|
|
|
src/server.cpp \
|
|
|
|
src/settings.cpp \
|
|
|
|
src/protocol.cpp \
|
|
|
|
src/multicolorled.cpp \
|
|
|
|
src/multicolorledbar.cpp \
|
|
|
|
src/audiomixerboard.cpp \
|
|
|
|
src/serverlogging.cpp \
|
|
|
|
src/soundbase.cpp \
|
|
|
|
libs/celt/bands.c \
|
|
|
|
libs/celt/celt.c \
|
|
|
|
libs/celt/cwrs.c \
|
|
|
|
libs/celt/entcode.c \
|
|
|
|
libs/celt/entdec.c \
|
|
|
|
libs/celt/entenc.c \
|
|
|
|
libs/celt/header.c \
|
|
|
|
libs/celt/kfft_single.c \
|
|
|
|
libs/celt/_kiss_fft.c \
|
|
|
|
libs/celt/_kiss_fftr.c \
|
|
|
|
libs/celt/laplace.c \
|
|
|
|
libs/celt/mdct.c \
|
|
|
|
libs/celt/modes.c \
|
|
|
|
libs/celt/pitch.c \
|
|
|
|
libs/celt/psy.c \
|
|
|
|
libs/celt/quant_bands.c \
|
|
|
|
libs/celt/rangedec.c \
|
|
|
|
libs/celt/rangeenc.c \
|
|
|
|
libs/celt/rate.c \
|
|
|
|
libs/celt/vq.c
|