qt4: remove unneeded playlist_item.moc.cpp from Modules.am to kill a warning
[vlc.git] / modules / gui / qt4 / Modules.am
1 # vim:syntax=automake
2 ## Howto
3 # For each Q_OBJECT:
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
7 # For each UI
8 #   - Add it to EXTRA_DIST
9 #   - Add the .h to nodist_SOURCES_qt4
10 # For each ressource (icon, png, ...)
11 #   - Add it to DEPS_res
12
13 AUTOMAKE_OPTIONS = subdir-objects
14 MOSTLYCLEANFILES = $(UIH)
15 SUFFIXES += .ui .h .hpp .moc.cpp
16
17 nodist_SOURCES_qt4 = \
18                 main_interface.moc.cpp \
19                 menus.moc.cpp \
20                 dialogs_provider.moc.cpp \
21                 input_manager.moc.cpp \
22                 actions_manager.moc.cpp \
23                 recents.moc.cpp \
24                 variables.moc.cpp \
25                 dialogs/playlist.moc.cpp \
26                 dialogs/bookmarks.moc.cpp \
27                 dialogs/mediainfo.moc.cpp \
28                 dialogs/extended.moc.cpp \
29                 dialogs/messages.moc.cpp \
30                 dialogs/errors.moc.cpp \
31                 dialogs/external.moc.cpp \
32                 dialogs/plugins.moc.cpp \
33                 dialogs/preferences.moc.cpp \
34                 dialogs/sout.moc.cpp \
35                 dialogs/convert.moc.cpp \
36                 dialogs/help.moc.cpp \
37                 dialogs/gototime.moc.cpp \
38                 dialogs/toolbar.moc.cpp \
39                 dialogs/open.moc.cpp \
40                 dialogs/openurl.moc.cpp \
41                 dialogs/podcast_configuration.moc.cpp \
42                 dialogs/vlm.moc.cpp \
43                 components/extended_panels.moc.cpp \
44                 components/info_panels.moc.cpp \
45                 components/preferences_widgets.moc.cpp \
46                 components/complete_preferences.moc.cpp \
47                 components/simple_preferences.moc.cpp \
48                 components/open_panels.moc.cpp \
49                 components/interface_widgets.moc.cpp \
50                 components/controller.moc.cpp \
51                 components/controller_widget.moc.cpp \
52                 components/playlist/playlist_model.moc.cpp \
53                 components/playlist/playlist.moc.cpp \
54                 components/playlist/panels.moc.cpp \
55                 components/playlist/selector.moc.cpp \
56                 components/sout/profile_selector.moc.cpp \
57                 components/sout/sout_widgets.moc.cpp \
58                 util/input_slider.moc.cpp \
59                 util/customwidgets.moc.cpp \
60                 util/qvlcapp.moc.cpp \
61                 resources.cpp \
62                 ui/equalizer.h \
63                 ui/v4l2.h \
64                 ui/video_effects.h \
65                 ui/open_file.h \
66                 ui/open_disk.h \
67                 ui/open_net.h \
68                 ui/open_capture.h \
69                 ui/open.h \
70                 ui/vlm.h \
71                 ui/podcast_configuration.h \
72                 ui/profiles.h \
73                 ui/sprefs_audio.h \
74                 ui/sprefs_input.h \
75                 ui/sprefs_interface.h \
76                 ui/sprefs_subtitles.h \
77                 ui/sprefs_video.h \
78                 ui/streampanel.h \
79                 ui/sout.h
80
81 DEPS_res = \
82         pixmaps/arrow_down_dark.png \
83         pixmaps/clear.png \
84         pixmaps/eject.png \
85         pixmaps/faster.png \
86         pixmaps/go-next.png \
87         pixmaps/menus/help_16px.png \
88         pixmaps/menus/info_16px.png \
89         pixmaps/menus/messages_16px.png \
90         pixmaps/menus/playlist_16px.png \
91         pixmaps/menus/preferences_16px.png \
92         pixmaps/menus/quit_16px.png \
93         pixmaps/menus/settings_16px.png \
94         pixmaps/menus/stream_16px.png \
95         pixmaps/next.png \
96         pixmaps/next_16px.png \
97         pixmaps/noart.png \
98         pixmaps/pause.png \
99         pixmaps/pause_16px.png \
100         pixmaps/play.png \
101         pixmaps/play_16px.png \
102         pixmaps/playlist/add.png \
103         pixmaps/playlist/jumpto.png \
104         pixmaps/playlist/playlist.png \
105         pixmaps/playlist/remove.png \
106         pixmaps/playlist/repeat_all.png \
107         pixmaps/playlist/repeat_off.png \
108         pixmaps/playlist/repeat_one.png \
109         pixmaps/playlist/shuffle_off.png \
110         pixmaps/playlist/shuffle_on.png \
111         pixmaps/prefs/advprefs_audio.png \
112         pixmaps/prefs/advprefs_codec.png \
113         pixmaps/prefs/advprefs_extended.png \
114         pixmaps/prefs/advprefs_intf.png \
115         pixmaps/prefs/advprefs_playlist.png \
116         pixmaps/prefs/advprefs_sout.png \
117         pixmaps/prefs/advprefs_video.png \
118         pixmaps/prefs/spref_cone_Audio_64.png \
119         pixmaps/prefs/spref_cone_Hotkeys_64.png \
120         pixmaps/prefs/spref_cone_Input_64.png \
121         pixmaps/prefs/spref_cone_Interface_64.png \
122         pixmaps/prefs/spref_cone_Subtitles_64.png \
123         pixmaps/prefs/spref_cone_Video_64.png \
124         pixmaps/previous.png \
125         pixmaps/previous_16px.png \
126         pixmaps/profile_new.png \
127         pixmaps/sample_classic.png \
128         pixmaps/sample_complete.png \
129         pixmaps/sample_minimal.png \
130         pixmaps/sample_skins.png \
131         pixmaps/slower.png \
132         pixmaps/space.png \
133         pixmaps/stop.png \
134         pixmaps/stop_16px.png \
135         pixmaps/toolbar/arrows.png \
136         pixmaps/toolbar/aspect-ratio.png \
137         pixmaps/toolbar/atob.png \
138         pixmaps/toolbar/atob_noa.png \
139         pixmaps/toolbar/atob_nob.png \
140         pixmaps/toolbar/defullscreen.png \
141         pixmaps/toolbar/dvd_menu.png \
142         pixmaps/toolbar/dvd_next.png \
143         pixmaps/toolbar/dvd_prev.png \
144         pixmaps/toolbar/extended_16px.png \
145         pixmaps/toolbar/frame-by-frame.png \
146         pixmaps/toolbar/fullscreen.png \
147         pixmaps/toolbar/play_reverse.png \
148         pixmaps/toolbar/record_16px.png \
149         pixmaps/toolbar/snapshot.png \
150         pixmaps/toolbar/skip_for.png \
151         pixmaps/toolbar/skip_back.png \
152         pixmaps/toolbar/tv.png \
153         pixmaps/toolbar/tvtelx.png \
154         pixmaps/toolbar/visu.png \
155         pixmaps/toolbar/volume-high.png \
156         pixmaps/toolbar/volume-low.png \
157         pixmaps/toolbar/volume-medium.png \
158         pixmaps/toolbar/volume-muted.png \
159         pixmaps/toolbar/volume-slider-inside.png \
160         pixmaps/toolbar/volume-slider-outside.png \
161         pixmaps/types/capture-card_16px.png \
162         pixmaps/types/cdda_16px.png \
163         pixmaps/types/disc_16px.png \
164         pixmaps/types/file-asym_16px.png \
165         pixmaps/types/file-wide_16px.png \
166         pixmaps/types/folder-blue_16px.png \
167         pixmaps/types/folder-grey_16px.png \
168         pixmaps/types/harddisk_16px.png \
169         pixmaps/types/network_16px.png \
170         pixmaps/types/tape_16px.png \
171         pixmaps/types/type_directory.png \
172         pixmaps/types/type_file.png \
173         pixmaps/types/type_net.png \
174         pixmaps/types/type_node.png \
175         pixmaps/types/type_playlist.png \
176         pixmaps/types/type_unknown.xpm \
177         pixmaps/update.png \
178         pixmaps/lock.png
179
180 BUILT_SOURCES += $(nodist_SOURCES_qt4)
181
182 resources.cpp: vlc.qrc $(DEPS_res)
183         $(RCC) -name vlc -o $@ $<
184
185 .hpp.moc.cpp:
186         $(MOC) $(DEFS) $(CPPFLAGS) -I$(top_builddir) `$(VLC_CONFIG) --cppflags plugin qt4` -o $@ $<
187
188 .ui.h:
189         mkdir -p -- ui
190         rm -f $@ $@.tmp
191         echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp
192         $(UIC) -tr "Q_" $< >> $@.tmp
193         sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@
194         rm -f $@.tmp
195
196 SOURCES_qt4 =   qt4.cpp \
197                 menus.cpp \
198                 main_interface.cpp \
199                 dialogs_provider.cpp \
200                 input_manager.cpp \
201                 actions_manager.cpp \
202                 recents.cpp \
203                 variables.cpp \
204                 dialogs/playlist.cpp \
205                 dialogs/bookmarks.cpp \
206                 dialogs/preferences.cpp \
207                 dialogs/mediainfo.cpp \
208                 dialogs/extended.cpp \
209                 dialogs/messages.cpp \
210                 dialogs/errors.cpp \
211                 dialogs/external.cpp \
212                 dialogs/plugins.cpp \
213                 dialogs/sout.cpp \
214                 dialogs/convert.cpp \
215                 dialogs/help.cpp \
216                 dialogs/gototime.cpp \
217                 dialogs/toolbar.cpp \
218                 dialogs/open.cpp \
219                 dialogs/openurl.cpp \
220                 dialogs/vlm.cpp \
221                 dialogs/podcast_configuration.cpp \
222                 components/extended_panels.cpp \
223                 components/info_panels.cpp \
224                 components/preferences_widgets.cpp \
225                 components/complete_preferences.cpp \
226                 components/simple_preferences.cpp \
227                 components/open_panels.cpp \
228                 components/interface_widgets.cpp \
229                 components/controller.cpp \
230                 components/controller_widget.cpp \
231                 components/playlist/playlist_model.cpp \
232                 components/playlist/playlist_item.cpp \
233                 components/playlist/standardpanel.cpp \
234                 components/playlist/playlist.cpp \
235                 components/playlist/selector.cpp \
236                 components/sout/profile_selector.cpp \
237                 components/sout/sout_widgets.cpp \
238                 util/input_slider.cpp \
239                 util/customwidgets.cpp \
240                 util/registry.cpp
241
242 noinst_HEADERS = \
243         qt4.hpp \
244         menus.hpp \
245         main_interface.hpp \
246         dialogs_provider.hpp \
247         input_manager.hpp \
248         actions_manager.hpp \
249         recents.hpp \
250         variables.hpp \
251         dialogs/playlist.hpp \
252         dialogs/bookmarks.hpp \
253         dialogs/mediainfo.hpp \
254         dialogs/extended.hpp \
255         dialogs/messages.hpp \
256         dialogs/errors.hpp \
257         dialogs/external.hpp \
258         dialogs/plugins.hpp \
259         dialogs/preferences.hpp \
260         dialogs/sout.hpp \
261         dialogs/convert.hpp \
262         dialogs/help.hpp \
263         dialogs/gototime.hpp \
264         dialogs/toolbar.hpp \
265         dialogs/open.hpp \
266         dialogs/openurl.hpp \
267         dialogs/vlm.hpp \
268         dialogs/podcast_configuration.hpp \
269         components/extended_panels.hpp \
270         components/info_panels.hpp \
271         components/preferences_widgets.hpp \
272         components/complete_preferences.hpp \
273         components/simple_preferences.hpp \
274         components/open_panels.hpp \
275         components/interface_widgets.hpp \
276         components/controller.hpp \
277         components/controller_widget.hpp \
278         components/playlist/playlist_model.hpp \
279         components/playlist/playlist_item.hpp \
280         components/playlist/panels.hpp \
281         components/playlist/playlist.hpp \
282         components/playlist/selector.hpp \
283         components/playlist/sorting.h \
284         components/sout/profile_selector.hpp \
285         components/sout/sout_widgets.hpp \
286         components/sout/profiles.hpp \
287         util/input_slider.hpp \
288         util/customwidgets.hpp \
289         util/qvlcframe.hpp \
290         util/qvlcapp.hpp \
291         util/qt_dirs.hpp \
292         util/registry.hpp
293
294 EXTRA_DIST += \
295         vlc.qrc \
296         ui/equalizer.ui \
297         ui/v4l2.ui \
298         ui/video_effects.ui \
299         ui/open_file.ui \
300         ui/open_disk.ui \
301         ui/open_net.ui \
302         ui/open_capture.ui \
303         ui/open.ui \
304         ui/podcast_configuration.ui \
305         ui/profiles.ui \
306         ui/sprefs_audio.ui \
307         ui/sprefs_input.ui \
308         ui/sprefs_interface.ui \
309         ui/sprefs_subtitles.ui \
310         ui/sprefs_video.ui \
311         ui/streampanel.ui \
312         ui/sout.ui \
313         ui/vlm.ui \
314         $(DEPS_res)
315