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