jamulus/linux/Makefile.am
2008-03-29 10:37:11 +00:00

126 lines
3.3 KiB
Makefile
Executable file

bin_PROGRAMS = llcon
llcon_SOURCES = ../src/buffer.cpp \
../src/main.cpp \
../src/socket.cpp \
../src/audiocompr.cpp \
../src/resample.cpp \
../src/channel.cpp \
../src/util.cpp \
../src/llconclientdlg.cpp \
../src/clientsettingsdlg.cpp \
../src/client.cpp \
../src/llconserverdlg.cpp \
../src/server.cpp \
../src/settings.cpp \
../src/protocol.cpp \
../src/multicolorled.cpp \
../src/audiomixerboard.cpp \
sound.cpp \
../src/buffer.h \
../src/global.h \
../src/socket.h \
../src/audiocompr.h \
../src/resample.h \
../src/resamplefilter.h \
../src/channel.h \
../src/util.h \
../src/client.h \
../src/server.h \
../src/settings.h \
../src/protocol.h \
../src/multicolorled.h \
../src/audiomixerboard.h \
../src/llconserverdlg.h \
../src/llconclientdlg.h \
../src/clientsettingsdlg.h \
../src/llconclientdlgbase.ui \
../src/llconserverdlgbase.ui \
../src/clientsettingsdlgbase.ui \
../src/aboutdlgbase.ui \
sound.h \
../src/resources.qrc \
../src/mainicon.png \
../src/gig.png
# these need to be generated before the rest can be compiled
BUILT_SOURCES=moc/moc_server.cpp \
moc/moc_client.cpp \
moc/moc_protocol.cpp \
moc/moc_channel.cpp \
moc/moc_socket.cpp \
moc/moc_multicolorled.cpp \
moc/moc_audiomixerboard.cpp \
moc/moc_util.cpp \
moc/moc_llconclientdlg.cpp \
moc/llconclientdlgbase.h \
moc/moc_clientsettingsdlg.cpp \
moc/clientsettingsdlgbase.h \
moc/moc_llconserverdlg.cpp \
moc/llconserverdlgbase.h \
moc/aboutdlgbase.h \
moc/resources.cpp
# and should be cleaned by make clean
CLEANFILES=$(BUILT_SOURCES)
nodist_llcon_SOURCES=$(BUILT_SOURCES)
dist-hook:
mkdir $(distdir)/moc
moc/moc_server.cpp: ../src/server.h
$(QT_MOC) ../src/server.h -o moc/moc_server.cpp
moc/moc_client.cpp: ../src/client.h
$(QT_MOC) ../src/client.h -o moc/moc_client.cpp
moc/moc_socket.cpp: ../src/socket.h
$(QT_MOC) ../src/socket.h -o moc/moc_socket.cpp
moc/moc_multicolorled.cpp: ../src/multicolorled.h
$(QT_MOC) ../src/multicolorled.h -o moc/moc_multicolorled.cpp
moc/moc_audiomixerboard.cpp: ../src/audiomixerboard.h
$(QT_MOC) ../src/audiomixerboard.h -o moc/moc_audiomixerboard.cpp
moc/moc_util.cpp: ../src/util.h
$(QT_MOC) ../src/util.h -o moc/moc_util.cpp
moc/moc_protocol.cpp: ../src/protocol.h
$(QT_MOC) ../src/protocol.h -o moc/moc_protocol.cpp
moc/moc_channel.cpp: ../src/channel.h
$(QT_MOC) ../src/channel.h -o moc/moc_channel.cpp
moc/moc_llconclientdlg.cpp: ../src/llconclientdlg.h
$(QT_MOC) ../src/llconclientdlg.h -o moc/moc_llconclientdlg.cpp
moc/moc_clientsettingsdlg.cpp: ../src/clientsettingsdlg.h
$(QT_MOC) ../src/clientsettingsdlg.h -o moc/moc_clientsettingsdlg.cpp
moc/moc_llconserverdlg.cpp: ../src/llconserverdlg.h
$(QT_MOC) ../src/llconserverdlg.h -o moc/moc_llconserverdlg.cpp
moc/aboutdlgbase.h: ../src/aboutdlgbase.ui
$(QT_UIC) ../src/aboutdlgbase.ui -o moc/aboutdlgbase.h
moc/llconclientdlgbase.h: ../src/llconclientdlgbase.ui
$(QT_UIC) ../src/llconclientdlgbase.ui -o moc/llconclientdlgbase.h
moc/clientsettingsdlgbase.h: ../src/clientsettingsdlgbase.ui
$(QT_UIC) ../src/clientsettingsdlgbase.ui -o moc/clientsettingsdlgbase.h
moc/llconserverdlgbase.h: ../src/llconserverdlgbase.ui
$(QT_UIC) ../src/llconserverdlgbase.ui -o moc/llconserverdlgbase.h
moc/resources.cpp: ../src/resources.qrc
$(QT_RCC) ../src/resources.qrc -o moc/resources.cpp
llcon_CXXFLAGS=-I../src $(QT_CFLAGS) -DQT_THREAD_SUPPORT -D_REENTRANT -g