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
8 # - Add it to EXTRA_DIST
9 # - Add the .h to nodist_SOURCES_qt4
11 AUTOMAKE_OPTIONS = subdir-objects
12 MOSTLYCLEANFILES = $(UIH)
13 CLEANFILES += dialogs/about.hpp
14 SUFFIXES += .ui .h .hpp .moc.cpp
16 nodist_SOURCES_qt4 = \
17 main_interface.moc.cpp \
19 dialogs_provider.moc.cpp \
20 input_manager.moc.cpp \
21 playlist_model.moc.cpp \
22 dialogs/playlist.moc.cpp \
23 dialogs/mediainfo.moc.cpp \
24 dialogs/extended.moc.cpp \
25 dialogs/messages.moc.cpp \
26 dialogs/errors.moc.cpp \
27 dialogs/preferences.moc.cpp \
28 dialogs/interaction.moc.cpp \
29 dialogs/sout.moc.cpp \
30 dialogs/help.moc.cpp \
31 dialogs/gototime.moc.cpp \
32 dialogs/open.moc.cpp \
33 components/extended_panels.moc.cpp \
34 components/infopanels.moc.cpp \
35 components/preferences_widgets.moc.cpp \
36 components/complete_preferences.moc.cpp \
37 components/simple_preferences.moc.cpp \
38 components/open.moc.cpp \
39 components/interface_widgets.moc.cpp \
40 components/playlist/panels.moc.cpp \
41 components/playlist/selector.moc.cpp \
42 util/input_slider.moc.cpp \
43 util/customwidgets.moc.cpp \
55 ui/sprefs_interface.h \
56 ui/sprefs_subtitles.h \
63 BUILT_SOURCES += $(nodist_SOURCES_qt4) dialogs/about.hpp
66 resources.cpp: res.qrc
67 $(RCC) -name vlc -o $@ $<
75 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@.tmp
76 $(UIC) -tr "Q_" $< >> $@.tmp
77 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@.tmp
80 dialogs/help.cpp: dialogs/about.hpp
82 dialogs/about.hpp: Modules.am $(top_srcdir)/COPYING $(top_srcdir)/THANKS $(top_srcdir)/AUTHORS
84 echo "/* Automatically generated file - DO NOT EDIT */" > dialogs/about.hpp.tmp
85 echo "static const char psz_license[] =" >> dialogs/about.hpp.tmp
86 cat $(top_srcdir)/COPYING | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\"" }' >> dialogs/about.hpp.tmp
87 echo ";" >> dialogs/about.hpp.tmp
88 echo "static const char psz_thanks[] =" >> dialogs/about.hpp.tmp
89 grep -v '$$Id:' $(top_srcdir)/THANKS | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\"" }' >> dialogs/about.hpp.tmp
90 echo ";" >> dialogs/about.hpp.tmp
91 echo "static const char psz_authors[] =" >> dialogs/about.hpp.tmp
92 grep N: $(top_srcdir)/AUTHORS | cut -d" " -f 2- | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\"" }' >> dialogs/about.hpp.tmp
93 echo ";" >> dialogs/about.hpp.tmp
94 mv -f -- dialogs/about.hpp.tmp dialogs/about.hpp
96 SOURCES_qt4 = qt4.cpp \
99 dialogs_provider.cpp \
102 dialogs/playlist.cpp \
103 dialogs/preferences.cpp \
104 dialogs/mediainfo.cpp \
105 dialogs/extended.cpp \
106 dialogs/messages.cpp \
108 dialogs/interaction.cpp \
111 dialogs/gototime.cpp \
113 components/extended_panels.cpp \
114 components/infopanels.cpp \
115 components/preferences_widgets.cpp \
116 components/complete_preferences.cpp \
117 components/simple_preferences.cpp \
118 components/open.cpp \
119 components/interface_widgets.cpp \
120 components/playlist/standardpanel.cpp \
121 components/playlist/selector.cpp \
122 util/input_slider.cpp \
123 util/customwidgets.cpp
129 dialogs_provider.hpp \
132 dialogs/playlist.hpp \
133 dialogs/mediainfo.hpp \
134 dialogs/extended.hpp \
135 dialogs/messages.hpp \
137 dialogs/preferences.hpp \
138 dialogs/interaction.hpp \
142 dialogs/gototime.hpp \
144 components/extended_panels.hpp \
145 components/infopanels.hpp \
146 components/preferences_widgets.hpp \
147 components/complete_preferences.hpp \
148 components/simple_preferences.hpp \
149 components/open.hpp \
150 components/interface_widgets.hpp \
151 components/playlist/panels.hpp \
152 components/playlist/selector.hpp \
153 util/input_slider.hpp \
154 util/directslider.hpp \
155 util/customwidgets.hpp \
162 ui/video_effects.ui \
170 ui/sprefs_interface.ui \
171 ui/sprefs_hotkeys.ui \
172 ui/sprefs_subtitles.ui \
176 pixmaps/advanced.xpm \
180 pixmaps/type_net.xpm \
181 pixmaps/type_playlist.xpm \
183 pixmaps/type_unknown.xpm \
184 pixmaps/type_file.xpm \
185 pixmaps/type_card.xpm \
186 pixmaps/type_disc.xpm \
187 pixmaps/type_cdda.xpm \
188 pixmaps/type_directory.xpm \
189 pixmaps/type_node.xpm \
190 pixmaps/go-next.png \
193 pixmaps/playlist_icon.png \
195 pixmaps/previous.png \
196 pixmaps/spref_cone_Audio_64.png \
197 pixmaps/spref_cone_Hotkeys_64.png \
198 pixmaps/spref_cone_Input_64.png \
199 pixmaps/spref_cone_Interface_64.png \
200 pixmaps/spref_cone_Subtitles_64.png \
201 pixmaps/spref_cone_Video_64.png \
203 pixmaps/volume-high.png \
204 pixmaps/volume-low.png \
205 pixmaps/vlc_help_16px.png \
206 pixmaps/vlc_stop_16px.png \
207 pixmaps/vlc_play_16px.png \
208 pixmaps/vlc_pause_16px.png \
209 pixmaps/vlc_messages_16px.png \
210 pixmaps/vlc_network_16px.png \
211 pixmaps/vlc_stream_16px.png \
212 pixmaps/vlc_quit_16px.png \
213 pixmaps/vlc_disc_16px.png \
214 pixmaps/vlc_network_16px.png \
215 pixmaps/vlc_capture-card_16px.png \
216 pixmaps/vlc_preferences_16px.png \
217 pixmaps/vlc_settings_16px.png \
218 pixmaps/vlc_playlist_16px.png \
219 pixmaps/vlc_folder-grey_16px.png \
220 pixmaps/vlc_folder-blue_16px.png \
221 pixmaps/vlc_tape_16px.png \
222 pixmaps/vlc_file-asym_16px.png \
223 pixmaps/vlc_file-wide_16px.png \
224 pixmaps/vlc_info_16px.png \
225 pixmaps/vlc_previous_16px.png \
226 pixmaps/vlc_next_16px.png