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