| 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/faster.png \ |
|---|
| 105 |
pixmaps/slower.png \ |
|---|
| 106 |
pixmaps/play_16px.png \ |
|---|
| 107 |
pixmaps/playlist/add.png \ |
|---|
| 108 |
pixmaps/playlist/playlist.png \ |
|---|
| 109 |
pixmaps/playlist/repeat_all.png \ |
|---|
| 110 |
pixmaps/playlist/repeat_off.png \ |
|---|
| 111 |
pixmaps/playlist/repeat_one.png \ |
|---|
| 112 |
pixmaps/playlist/shuffle_off.png \ |
|---|
| 113 |
pixmaps/playlist/shuffle_on.png \ |
|---|
| 114 |
pixmaps/playlist/jumpto.png \ |
|---|
| 115 |
pixmaps/play.png \ |
|---|
| 116 |
pixmaps/previous_16px.png \ |
|---|
| 117 |
pixmaps/previous.png \ |
|---|
| 118 |
pixmaps/stop_16px.png \ |
|---|
| 119 |
pixmaps/stop.png \ |
|---|
| 120 |
pixmaps/eject.png \ |
|---|
| 121 |
pixmaps/update.png \ |
|---|
| 122 |
pixmaps/clear.png \ |
|---|
| 123 |
pixmaps/arrow_down_dark.png \ |
|---|
| 124 |
pixmaps/types/tape_16px.png \ |
|---|
| 125 |
pixmaps/types/type_directory.png \ |
|---|
| 126 |
pixmaps/types/type_file.png \ |
|---|
| 127 |
pixmaps/types/type_net.png \ |
|---|
| 128 |
pixmaps/types/type_node.png \ |
|---|
| 129 |
pixmaps/types/type_playlist.png \ |
|---|
| 130 |
pixmaps/types/type_unknown.xpm \ |
|---|
| 131 |
pixmaps/toolbar/extended_16px.png \ |
|---|
| 132 |
pixmaps/toolbar/record_16px.png \ |
|---|
| 133 |
pixmaps/toolbar/snapshot.png \ |
|---|
| 134 |
pixmaps/toolbar/atob.png \ |
|---|
| 135 |
pixmaps/toolbar/atob_noa.png \ |
|---|
| 136 |
pixmaps/toolbar/atob_nob.png \ |
|---|
| 137 |
pixmaps/toolbar/dvd_menu.png \ |
|---|
| 138 |
pixmaps/toolbar/dvd_next.png \ |
|---|
| 139 |
pixmaps/toolbar/dvd_prev.png \ |
|---|
| 140 |
pixmaps/toolbar/tv.png \ |
|---|
| 141 |
pixmaps/toolbar/fullscreen.png \ |
|---|
| 142 |
pixmaps/toolbar/defullscreen.png \ |
|---|
| 143 |
pixmaps/toolbar/tvtelx.png \ |
|---|
| 144 |
pixmaps/toolbar/tvtelx-transparent.png \ |
|---|
| 145 |
pixmaps/toolbar/volume-high.png \ |
|---|
| 146 |
pixmaps/toolbar/volume-medium.png \ |
|---|
| 147 |
pixmaps/toolbar/volume-low.png \ |
|---|
| 148 |
pixmaps/toolbar/volume-muted.png \ |
|---|
| 149 |
pixmaps/toolbar/volume-slider-inside.png \ |
|---|
| 150 |
pixmaps/toolbar/volume-slider-outside.png |
|---|
| 151 |
|
|---|
| 152 |
BUILT_SOURCES += $(nodist_SOURCES_qt4) |
|---|
| 153 |
|
|---|
| 154 |
resources.cpp: vlc.qrc $(res_DEPENDENCIES) |
|---|
| 155 |
$(RCC) -name vlc -o $@ $< |
|---|
| 156 |
|
|---|
| 157 |
.hpp.moc.cpp: |
|---|
| 158 |
$(MOC) $(DEFS) $(CPPFLAGS) -I$(top_builddir) `$(VLC_CONFIG) --cppflags plugin qt4` -o $@ $< |
|---|
| 159 |
|
|---|
| 160 |
.ui.h: |
|---|
| 161 |
mkdir -p -- ui |
|---|
| 162 |
rm -f $@ $@.tmp |
|---|
| 163 |
echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp |
|---|
| 164 |
$(UIC) -tr "Q_" $< >> $@.tmp |
|---|
| 165 |
sed -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp >$@ |
|---|
| 166 |
rm -f $@.tmp |
|---|
| 167 |
|
|---|
| 168 |
SOURCES_qt4 = qt4.cpp \ |
|---|
| 169 |
menus.cpp \ |
|---|
| 170 |
main_interface.cpp \ |
|---|
| 171 |
dialogs_provider.cpp \ |
|---|
| 172 |
input_manager.cpp \ |
|---|
| 173 |
dialogs/playlist.cpp \ |
|---|
| 174 |
dialogs/bookmarks.cpp \ |
|---|
| 175 |
dialogs/preferences.cpp \ |
|---|
| 176 |
dialogs/mediainfo.cpp \ |
|---|
| 177 |
dialogs/extended.cpp \ |
|---|
| 178 |
dialogs/messages.cpp \ |
|---|
| 179 |
dialogs/errors.cpp \ |
|---|
| 180 |
dialogs/interaction.cpp \ |
|---|
| 181 |
dialogs/sout.cpp \ |
|---|
| 182 |
dialogs/help.cpp \ |
|---|
| 183 |
dialogs/gototime.cpp \ |
|---|
| 184 |
dialogs/open.cpp \ |
|---|
| 185 |
dialogs/vlm.cpp \ |
|---|
| 186 |
dialogs/podcast_configuration.cpp \ |
|---|
| 187 |
components/extended_panels.cpp \ |
|---|
| 188 |
components/info_panels.cpp \ |
|---|
| 189 |
components/preferences_widgets.cpp \ |
|---|
| 190 |
components/complete_preferences.cpp \ |
|---|
| 191 |
components/simple_preferences.cpp \ |
|---|
| 192 |
components/open_panels.cpp \ |
|---|
| 193 |
components/interface_widgets.cpp \ |
|---|
| 194 |
components/playlist/playlist_model.cpp \ |
|---|
| 195 |
components/playlist/playlist_item.cpp \ |
|---|
| 196 |
components/playlist/standardpanel.cpp \ |
|---|
| 197 |
components/playlist/playlist.cpp \ |
|---|
| 198 |
components/playlist/selector.cpp \ |
|---|
| 199 |
util/input_slider.cpp \ |
|---|
| 200 |
util/customwidgets.cpp \ |
|---|
| 201 |
util/registry.cpp |
|---|
| 202 |
|
|---|
| 203 |
noinst_HEADERS = \ |
|---|
| 204 |
qt4.hpp \ |
|---|
| 205 |
menus.hpp \ |
|---|
| 206 |
main_interface.hpp \ |
|---|
| 207 |
dialogs_provider.hpp \ |
|---|
| 208 |
input_manager.hpp \ |
|---|
| 209 |
dialogs/playlist.hpp \ |
|---|
| 210 |
dialogs/bookmarks.hpp \ |
|---|
| 211 |
dialogs/mediainfo.hpp \ |
|---|
| 212 |
dialogs/extended.hpp \ |
|---|
| 213 |
dialogs/messages.hpp \ |
|---|
| 214 |
dialogs/errors.hpp \ |
|---|
| 215 |
dialogs/preferences.hpp \ |
|---|
| 216 |
dialogs/interaction.hpp \ |
|---|
| 217 |
dialogs/sout.hpp \ |
|---|
| 218 |
dialogs/help.hpp \ |
|---|
| 219 |
dialogs/gototime.hpp \ |
|---|
| 220 |
dialogs/open.hpp \ |
|---|
| 221 |
dialogs/vlm.hpp \ |
|---|
| 222 |
dialogs/podcast_configuration.hpp \ |
|---|
| 223 |
components/extended_panels.hpp \ |
|---|
| 224 |
components/info_panels.hpp \ |
|---|
| 225 |
components/preferences_widgets.hpp \ |
|---|
| 226 |
components/complete_preferences.hpp \ |
|---|
| 227 |
components/simple_preferences.hpp \ |
|---|
| 228 |
components/open_panels.hpp \ |
|---|
| 229 |
components/interface_widgets.hpp \ |
|---|
| 230 |
components/playlist/playlist_model.hpp \ |
|---|
| 231 |
components/playlist/playlist_item.hpp \ |
|---|
| 232 |
components/playlist/panels.hpp \ |
|---|
| 233 |
components/playlist/playlist.hpp \ |
|---|
| 234 |
components/playlist/selector.hpp \ |
|---|
| 235 |
components/playlist/sorting.h \ |
|---|
| 236 |
util/input_slider.hpp \ |
|---|
| 237 |
util/customwidgets.hpp \ |
|---|
| 238 |
util/qvlcframe.hpp \ |
|---|
| 239 |
util/registry.hpp |
|---|
| 240 |
|
|---|
| 241 |
EXTRA_DIST += \ |
|---|
| 242 |
vlc.qrc \ |
|---|
| 243 |
ui/equalizer.ui \ |
|---|
| 244 |
ui/v4l2.ui \ |
|---|
| 245 |
ui/video_effects.ui \ |
|---|
| 246 |
ui/open_file.ui \ |
|---|
| 247 |
ui/open_disk.ui \ |
|---|
| 248 |
ui/open_net.ui \ |
|---|
| 249 |
ui/open_capture.ui \ |
|---|
| 250 |
ui/open.ui \ |
|---|
| 251 |
ui/podcast_configuration.ui \ |
|---|
| 252 |
ui/sprefs_audio.ui \ |
|---|
| 253 |
ui/sprefs_input.ui \ |
|---|
| 254 |
ui/sprefs_interface.ui \ |
|---|
| 255 |
ui/sprefs_subtitles.ui \ |
|---|
| 256 |
ui/sprefs_video.ui \ |
|---|
| 257 |
ui/streampanel.ui \ |
|---|
| 258 |
ui/sout.ui \ |
|---|
| 259 |
ui/vlm.ui |
|---|
| 260 |
EXTRA_DIST += $(res_DEPENDENCIES) |
|---|
| 261 |
|
|---|