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
17 TOMOC = main_interface \
21 dialogs/prefs_dialog \
23 components/infopanels \
24 components/preferences_widgets \
25 components/preferences \
27 MOCCPP = $(TOMOC:%=%.moc.cpp)
29 nodist_SOURCES_qt4 = \
30 main_interface.moc.cpp \
31 dialogs_provider.moc.cpp \
32 input_manager.moc.cpp \
33 dialogs/playlist.moc.cpp \
34 dialogs/streaminfo.moc.cpp \
35 dialogs/prefs_dialog.moc.cpp \
36 components/infopanels.moc.cpp \
37 components/preferences_widgets.moc.cpp \
38 components/preferences.moc.cpp \
39 util/input_slider.moc.cpp
42 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
46 $(MOCCPP): %.moc.cpp: %.hpp
47 @echo "$(MOC) $< -> $@"
52 @echo "$(UIC) $< -> $@"
54 echo "#define Q_(a,b) _(a)" > $@
55 $(UIC) -tr "Q_" $< >> $@
58 SOURCES_qt4 = qt4.cpp \
60 dialogs_provider.cpp \
62 dialogs/playlist.cpp \
63 dialogs/prefs_dialog.cpp \
64 dialogs/streaminfo.cpp \
65 components/infopanels.cpp \
66 components/preferences_widgets.cpp \
67 components/preferences.cpp \
74 dialogs_provider.hpp \
76 dialogs/playlist.hpp \
77 dialogs/streaminfo.hpp \
78 dialogs/prefs_dialog.hpp \
79 components/infopanels.hpp \
80 components/preferences_widgets.hpp \
81 components/preferences.hpp \
82 util/input_slider.hpp \
84 pixmaps/advanced.xpm \
88 pixmaps/type_net.xpm \
89 pixmaps/type_playlist.xpm \