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 \
49 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
52 resources.cpp: res.qrc
53 $(RCC) -name vlc -o $@ $<
55 $(MOCCPP): %.moc.cpp: %.hpp
56 @echo "$(MOC) $< -> $@"
61 @echo "$(UIC) $< -> $@"
63 echo "#define Q_(a,b) _(a)" > $@
64 $(UIC) -tr "Q_" $< >> $@
67 SOURCES_qt4 = qt4.cpp \
69 dialogs_provider.cpp \
72 dialogs/playlist.cpp \
73 dialogs/prefs_dialog.cpp \
74 dialogs/streaminfo.cpp \
75 components/infopanels.cpp \
76 components/preferences_widgets.cpp \
77 components/preferences.cpp \
79 components/playlist/standardpanel.cpp \
86 dialogs_provider.hpp \
90 dialogs/playlist.hpp \
91 dialogs/streaminfo.hpp \
92 dialogs/prefs_dialog.hpp \
93 components/infopanels.hpp \
94 components/preferences_widgets.hpp \
95 components/preferences.hpp \
97 components/playlist/panels.hpp \
98 util/input_slider.hpp \
100 pixmaps/advanced.xpm \
104 pixmaps/type_net.xpm \
105 pixmaps/type_playlist.xpm \