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)
27 nodist_SOURCES_qt4 = \
28 main_interface.moc.cpp \
29 dialogs_provider.moc.cpp \
30 input_manager.moc.cpp \
31 dialogs/playlist.moc.cpp \
32 dialogs/streaminfo.moc.cpp \
33 components/infopanels.moc.cpp \
34 util/input_slider.moc.cpp
37 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
41 $(MOCCPP): %.moc.cpp: %.hpp
49 echo "#define Q_(a,b) _(a)" > $@
50 $(UIC) -tr "Q_" $< >> $@
53 SOURCES_qt4 = qt4.cpp \
55 dialogs_provider.cpp \
57 dialogs/playlist.cpp \
58 dialogs/streaminfo.cpp \
59 components/infopanels.cpp \
66 dialogs_provider.hpp \
68 dialogs/playlist.hpp \
69 dialogs/streaminfo.hpp \
70 components/infopanels.hpp \
71 util/input_slider.hpp \