4 # - Add it without extension to TOMOC
5 # - Add the moc.cpp to BUILT_SOURCES and nodist_SOURCES_qt4
6 # - Add the cpp to SOURCES_qt4
7 # - Add the hpp to EXTRA_DIST
9 # - Add it without extension to TOUI
10 # - Add it to EXTRA_DIST
12 AUTOMAKE_OPTIONS = subdir-objects
14 TOUI = ui/input_stats ui/main_interface ui/file_open
17 TOMOC = main_interface \
21 dialogs/prefs_dialog \
23 components/infopanels \
24 components/preferences_widgets \
25 components/preferences \
28 MOCCPP = $(TOMOC:%=%.moc.cpp)
30 nodist_SOURCES_qt4 = \
31 main_interface.moc.cpp \
32 dialogs_provider.moc.cpp \
33 input_manager.moc.cpp \
34 dialogs/playlist.moc.cpp \
35 dialogs/streaminfo.moc.cpp \
36 dialogs/prefs_dialog.moc.cpp \
37 components/infopanels.moc.cpp \
38 components/preferences_widgets.moc.cpp \
39 components/preferences.moc.cpp \
40 components/open.moc.cpp \
41 util/input_slider.moc.cpp
44 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
48 $(MOCCPP): %.moc.cpp: %.hpp
49 @echo "$(MOC) $< -> $@"
54 @echo "$(UIC) $< -> $@"
56 echo "#define Q_(a,b) _(a)" > $@
57 $(UIC) -tr "Q_" $< >> $@
60 SOURCES_qt4 = qt4.cpp \
62 dialogs_provider.cpp \
64 dialogs/playlist.cpp \
65 dialogs/prefs_dialog.cpp \
66 dialogs/streaminfo.cpp \
67 components/infopanels.cpp \
68 components/preferences_widgets.cpp \
69 components/preferences.cpp \
77 dialogs_provider.hpp \
79 dialogs/playlist.hpp \
80 dialogs/streaminfo.hpp \
81 dialogs/prefs_dialog.hpp \
82 components/infopanels.hpp \
83 components/preferences_widgets.hpp \
84 components/preferences.hpp \
86 util/input_slider.hpp \
88 pixmaps/advanced.xpm \
92 pixmaps/type_net.xpm \
93 pixmaps/type_playlist.xpm \