]> git.sesse.net Git - vlc/blob - modules/gui/qt4/Modules.am
Qt4 - Menus and new icons. Remove the isCheckable option from extended/playlist.
[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                 playlist_model.moc.cpp \
21                 dialogs/playlist.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                 components/extended_panels.moc.cpp \
33                 components/infopanels.moc.cpp \
34                 components/preferences_widgets.moc.cpp \
35                 components/complete_preferences.moc.cpp \
36                 components/simple_preferences.moc.cpp \
37                 components/open.moc.cpp \
38                 components/interface_widgets.moc.cpp \
39                 components/playlist/panels.moc.cpp \
40                 components/playlist/selector.moc.cpp \
41                 util/input_slider.moc.cpp \
42                 util/customwidgets.moc.cpp \
43                 resources.cpp \
44                 ui/equalizer.h \
45                 ui/video_effects.h \
46                 ui/open_file.h \
47                 ui/open_disk.h \
48                 ui/open_net.h \
49                 ui/open_capture.h \
50                 ui/open.h \
51                 ui/main_interface.h \
52                 ui/sprefs_audio.h \
53                 ui/sprefs_input.h \
54                 ui/sprefs_interface.h \
55                 ui/sprefs_subtitles.h \
56                 ui/sprefs_video.h \
57                 ui/sprefs_hotkeys.h \
58                 ui/streampanel.h \
59                 ui/sout.h
60
61 if ENABLE_QT4
62 BUILT_SOURCES += $(nodist_SOURCES_qt4)
63 endif
64
65 resources.cpp: res.qrc
66         $(RCC) -name vlc -o $@ $<
67
68 .hpp.moc.cpp:
69         $(MOC) -o $@ $<
70
71 .ui.h:
72         mkdir -p -- ui
73         rm -f $@ $@.tmp
74         echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp
75         $(UIC) -tr "Q_" $< >> $@.tmp
76         sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp
77         mv -f $@.tmp $@
78
79 SOURCES_qt4 =   qt4.cpp \
80                 menus.cpp \
81                 main_interface.cpp \
82                 dialogs_provider.cpp \
83                 input_manager.cpp \
84                 playlist_model.cpp \
85                 dialogs/playlist.cpp \
86                 dialogs/preferences.cpp \
87                 dialogs/mediainfo.cpp \
88                 dialogs/extended.cpp \
89                 dialogs/messages.cpp \
90                 dialogs/errors.cpp \
91                 dialogs/interaction.cpp \
92                 dialogs/sout.cpp \
93                 dialogs/help.cpp \
94                 dialogs/gototime.cpp \
95                 dialogs/open.cpp \
96                 components/extended_panels.cpp \
97                 components/infopanels.cpp \
98                 components/preferences_widgets.cpp \
99                 components/complete_preferences.cpp \
100                 components/simple_preferences.cpp \
101                 components/open.cpp \
102                 components/interface_widgets.cpp \
103                 components/playlist/standardpanel.cpp \
104                 components/playlist/selector.cpp \
105                 util/input_slider.cpp \
106                 util/customwidgets.cpp
107
108 noinst_HEADERS = \
109         qt4.hpp \
110         menus.hpp \
111         main_interface.hpp \
112         dialogs_provider.hpp \
113         input_manager.hpp \
114         playlist_model.hpp \
115         dialogs/playlist.hpp \
116         dialogs/mediainfo.hpp \
117         dialogs/extended.hpp \
118         dialogs/messages.hpp \
119         dialogs/errors.hpp \
120         dialogs/preferences.hpp \
121         dialogs/interaction.hpp \
122         dialogs/sout.hpp \
123         dialogs/help.hpp \
124         dialogs/gototime.hpp \
125         dialogs/open.hpp \
126         components/extended_panels.hpp \
127         components/infopanels.hpp \
128         components/preferences_widgets.hpp \
129         components/complete_preferences.hpp \
130         components/simple_preferences.hpp \
131         components/open.hpp \
132         components/interface_widgets.hpp \
133         components/playlist/panels.hpp \
134         components/playlist/selector.hpp \
135         util/input_slider.hpp \
136         util/directslider.hpp \
137         util/customwidgets.hpp \
138         util/qvlcframe.hpp
139
140 EXTRA_DIST += \
141         res.qrc \
142         ui/equalizer.ui \
143         ui/video_effects.ui \
144         ui/open_file.ui \
145         ui/open_disk.ui \
146         ui/open_net.ui \
147         ui/open_capture.ui \
148         ui/open.ui \
149         ui/main_interface.ui \
150         ui/sprefs_audio.ui \
151         ui/sprefs_input.ui \
152         ui/sprefs_interface.ui \
153         ui/sprefs_hotkeys.ui \
154         ui/sprefs_subtitles.ui \
155         ui/sprefs_video.ui \
156         ui/streampanel.ui \
157         ui/sout.ui \
158         pixmaps/advanced.xpm \
159         pixmaps/audio.xpm \
160         pixmaps/codec.xpm \
161         pixmaps/intf.xpm \
162         pixmaps/type_net.xpm \
163         pixmaps/type_playlist.xpm \
164         pixmaps/video.xpm \
165         pixmaps/type_unknown.xpm \
166         pixmaps/type_afile.xpm \
167         pixmaps/type_vfile.xpm \
168         pixmaps/type_card.xpm \
169         pixmaps/type_disc.xpm \
170         pixmaps/type_cdda.xpm \
171         pixmaps/type_directory.xpm \
172         pixmaps/type_node.xpm \
173         pixmaps/go-next.png \
174         pixmaps/next.png \
175         pixmaps/noart.png \
176         pixmaps/playlist_icon.png \
177         pixmaps/play.png \
178         pixmaps/previous.png \
179         pixmaps/spref_cone_Audio_64.png \
180         pixmaps/spref_cone_Hotkeys_64.png \
181         pixmaps/spref_cone_Input_64.png \
182         pixmaps/spref_cone_Interface_64.png \
183         pixmaps/spref_cone_Subtitles_64.png \
184         pixmaps/spref_cone_Video_64.png \
185         pixmaps/stop.png \
186         pixmaps/volume-high.png \
187         pixmaps/volume-low.png \
188         pixmaps/vlc_help_16px.png \
189         pixmaps/vlc_stop_16px.png \
190         pixmaps/vlc_play_16px.png \
191         pixmaps/vlc_pause_16px.png \
192         pixmaps/vlc_messages_16px.png \
193         pixmaps/vlc_network_16px.png \
194         pixmaps/vlc_stream_16px.png \
195         pixmaps/vlc_quit_16px.png \
196         pixmaps/vlc_disc_16px.png \
197         pixmaps/vlc_network_16px.png \
198         pixmaps/vlc_capture-card_16px.png \
199         pixmaps/vlc_preferences_16px.png \
200         pixmaps/vlc_settings_16px.png \
201         pixmaps/vlc_playlist_16px.png \
202         pixmaps/vlc_folder-grey_16px.png \
203         pixmaps/vlc_folder-blue_16px.png \
204         pixmaps/vlc_tape_16px.png \
205         pixmaps/vlc_file-asym_16px.png \
206         pixmaps/vlc_file-wide_16px.png \
207         pixmaps/vlc_info_16px.png \
208         pixmaps/vlc_previous_16px.png \
209         pixmaps/vlc_next_16px.png