3 # - Add it without extension to TOMOC
4 # - Add the moc.cpp to BUILT_SOURCES and nodist_SOURCES_qt4
5 # - Add the cpp to SOURCES_qt4
6 # - Add the hpp to EXTRA_DIST
8 # - Add it without extension to TOUI
9 # - Add it to EXTRA_DIST
11 AUTOMAKE_OPTIONS = subdir-objects
16 TOMOC = main_interface \
21 components/infopanels \
23 MOCCPP := $(TOMOC:%=%.moc.cpp)
25 nodist_SOURCES_qt4 = \
26 main_interface.moc.cpp \
27 dialogs_provider.moc.cpp \
28 input_manager.moc.cpp \
29 dialogs/playlist.moc.cpp \
30 dialogs/streaminfo.moc.cpp \
31 components/infopanels.moc.cpp \
32 util/input_slider.moc.cpp
35 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
39 $(MOCCPP): %.moc.cpp: %.hpp
40 @echo "$(MOC) $< -> $@"
45 @echo "$(UIC) $< -> $@"
47 echo "#define Q_(a,b) _(a)" > $@
48 $(UIC) -tr "Q_" $< >> $@
51 SOURCES_qt4 = qt4.cpp \
53 dialogs_provider.cpp \
55 dialogs/playlist.cpp \
56 dialogs/streaminfo.cpp \
57 components/infopanels.cpp \
64 dialogs_provider.hpp \
66 dialogs/playlist.hpp \
67 dialogs/streaminfo.hpp \
68 components/infopanels.hpp \
69 util/input_slider.hpp \