4 # - Add it without extension to TOMOC
5 # - Add the moc.cpp to BUILT_SOURCES and nodist_SOURCES_qt4
6 # - Add the cpp to SOURCES_qt4
7 # - Add the hpp to EXTRA_DIST
9 # - Add it without extension to TOUI
10 # - Add it to EXTRA_DIST
12 AUTOMAKE_OPTIONS = subdir-objects
34 TOMOC = main_interface \
40 dialogs/prefs_dialog \
49 components/extended_panels \
50 components/infopanels \
51 components/preferences_widgets \
52 components/preferences \
53 components/simple_preferences \
55 components/interface_widgets \
56 components/playlist/panels \
57 components/playlist/selector \
60 MOCCPP = $(TOMOC:%=%.moc.cpp)
62 nodist_SOURCES_qt4 = \
63 main_interface.moc.cpp \
65 dialogs_provider.moc.cpp \
66 input_manager.moc.cpp \
67 playlist_model.moc.cpp \
68 dialogs/playlist.moc.cpp \
69 dialogs/mediainfo.moc.cpp \
70 dialogs/extended.moc.cpp \
71 dialogs/messages.moc.cpp \
72 dialogs/errors.moc.cpp \
73 dialogs/prefs_dialog.moc.cpp \
74 dialogs/interaction.moc.cpp \
75 dialogs/sout.moc.cpp \
76 dialogs/help.moc.cpp \
77 dialogs/open.moc.cpp \
78 components/extended_panels.moc.cpp \
79 components/infopanels.moc.cpp \
80 components/preferences_widgets.moc.cpp \
81 components/preferences.moc.cpp \
82 components/simple_preferences.moc.cpp \
83 components/open.moc.cpp \
84 components/interface_widgets.moc.cpp \
85 components/playlist/panels.moc.cpp \
86 components/playlist/selector.moc.cpp \
87 util/input_slider.moc.cpp \
88 util/customwidgets.moc.cpp \
92 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
95 resources.cpp: res.qrc
96 $(RCC) -name vlc -o $@ $<
98 $(MOCCPP): %.moc.cpp: %.hpp
99 @echo "$(MOC) $< -> $@"
104 @echo "$(UIC) $< -> $@"
106 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
107 $(UIC) -tr "Q_" $< >> $@
108 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
111 SOURCES_qt4 = qt4.cpp \
114 dialogs_provider.cpp \
117 dialogs/playlist.cpp \
118 dialogs/prefs_dialog.cpp \
119 dialogs/mediainfo.cpp \
120 dialogs/extended.cpp \
121 dialogs/messages.cpp \
123 dialogs/interaction.cpp \
127 components/extended_panels.cpp \
128 components/infopanels.cpp \
129 components/preferences_widgets.cpp \
130 components/preferences.cpp \
131 components/simple_preferences.cpp \
132 components/open.cpp \
133 components/interface_widgets.cpp \
134 components/playlist/standardpanel.cpp \
135 components/playlist/selector.cpp \
136 util/input_slider.cpp \
137 util/customwidgets.cpp \
144 dialogs_provider.hpp \
148 dialogs/playlist.hpp \
149 dialogs/mediainfo.hpp \
150 dialogs/extended.hpp \
151 dialogs/messages.hpp \
153 dialogs/prefs_dialog.hpp \
154 dialogs/interaction.hpp \
158 components/extended_panels.hpp \
159 components/infopanels.hpp \
160 components/preferences_widgets.hpp \
161 components/preferences.hpp \
162 components/simple_preferences.hpp \
163 components/open.hpp \
164 components/interface_widgets.hpp \
165 components/playlist/panels.hpp \
166 components/playlist/selector.hpp \
167 util/input_slider.hpp \
168 util/directslider.hpp \
169 util/customwidgets.hpp \
172 ui/video_effects.ui \
178 ui/main_interface.ui \
180 ui/sprefs_interface.ui \
181 ui/sprefs_playlist.ui \
182 ui/sprefs_subtitles.ui \
186 pixmaps/advanced.xpm \
190 pixmaps/type_net.xpm \
191 pixmaps/type_playlist.xpm \
193 pixmaps/advanced_50x50.xpm \
194 pixmaps/audio_50x50.xpm \
195 pixmaps/input_and_codecs_50x50.xpm \
196 pixmaps/interface_50x50.xpm \
197 pixmaps/playlist_50x50.xpm \
198 pixmaps/subtitles_50x50.xpm \
199 pixmaps/video_50x50.xpm