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 \
22 dialogs/prefs_dialog \
24 components/infopanels \
25 components/preferences_widgets \
26 components/preferences \
28 components/playlist/panels \
30 MOCCPP = $(TOMOC:%=%.moc.cpp)
32 nodist_SOURCES_qt4 = \
33 main_interface.moc.cpp \
34 dialogs_provider.moc.cpp \
35 input_manager.moc.cpp \
36 playlist_model.moc.cpp \
37 dialogs/playlist.moc.cpp \
38 dialogs/streaminfo.moc.cpp \
39 dialogs/prefs_dialog.moc.cpp \
40 components/infopanels.moc.cpp \
41 components/preferences_widgets.moc.cpp \
42 components/preferences.moc.cpp \
43 components/open.moc.cpp \
44 components/playlist/panels.moc.cpp \
45 util/input_slider.moc.cpp
48 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
52 $(MOCCPP): %.moc.cpp: %.hpp
53 @echo "$(MOC) $< -> $@"
58 @echo "$(UIC) $< -> $@"
60 echo "#define Q_(a,b) _(a)" > $@
61 $(UIC) -tr "Q_" $< >> $@
64 SOURCES_qt4 = qt4.cpp \
66 dialogs_provider.cpp \
69 dialogs/playlist.cpp \
70 dialogs/prefs_dialog.cpp \
71 dialogs/streaminfo.cpp \
72 components/infopanels.cpp \
73 components/preferences_widgets.cpp \
74 components/preferences.cpp \
76 components/playlist/standardpanel.cpp \
83 dialogs_provider.hpp \
86 dialogs/playlist.hpp \
87 dialogs/streaminfo.hpp \
88 dialogs/prefs_dialog.hpp \
89 components/infopanels.hpp \
90 components/preferences_widgets.hpp \
91 components/preferences.hpp \
93 components/playlist/panels.hpp \
94 util/input_slider.hpp \
96 pixmaps/advanced.xpm \
100 pixmaps/type_net.xpm \
101 pixmaps/type_playlist.xpm \