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
35 TOMOC = main_interface \
41 dialogs/prefs_dialog \
50 components/extended_panels \
51 components/infopanels \
52 components/preferences_widgets \
53 components/preferences \
54 components/simple_preferences \
56 components/interface_widgets \
57 components/playlist/panels \
58 components/playlist/selector \
61 MOCCPP = $(TOMOC:%=%.moc.cpp)
63 nodist_SOURCES_qt4 = \
64 main_interface.moc.cpp \
66 dialogs_provider.moc.cpp \
67 input_manager.moc.cpp \
68 playlist_model.moc.cpp \
69 dialogs/playlist.moc.cpp \
70 dialogs/mediainfo.moc.cpp \
71 dialogs/extended.moc.cpp \
72 dialogs/messages.moc.cpp \
73 dialogs/errors.moc.cpp \
74 dialogs/prefs_dialog.moc.cpp \
75 dialogs/interaction.moc.cpp \
76 dialogs/sout.moc.cpp \
77 dialogs/help.moc.cpp \
78 dialogs/open.moc.cpp \
79 components/extended_panels.moc.cpp \
80 components/infopanels.moc.cpp \
81 components/preferences_widgets.moc.cpp \
82 components/preferences.moc.cpp \
83 components/simple_preferences.moc.cpp \
84 components/open.moc.cpp \
85 components/interface_widgets.moc.cpp \
86 components/playlist/panels.moc.cpp \
87 components/playlist/selector.moc.cpp \
88 util/input_slider.moc.cpp \
89 util/customwidgets.moc.cpp \
93 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
96 resources.cpp: res.qrc
97 $(RCC) -name vlc -o $@ $<
99 $(MOCCPP): %.moc.cpp: %.hpp
100 @echo "$(MOC) $< -> $@"
105 @echo "$(UIC) $< -> $@"
107 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
108 $(UIC) -tr "Q_" $< >> $@
109 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
112 SOURCES_qt4 = qt4.cpp \
115 dialogs_provider.cpp \
118 dialogs/playlist.cpp \
119 dialogs/prefs_dialog.cpp \
120 dialogs/mediainfo.cpp \
121 dialogs/extended.cpp \
122 dialogs/messages.cpp \
124 dialogs/interaction.cpp \
128 components/extended_panels.cpp \
129 components/infopanels.cpp \
130 components/preferences_widgets.cpp \
131 components/preferences.cpp \
132 components/simple_preferences.cpp \
133 components/open.cpp \
134 components/interface_widgets.cpp \
135 components/playlist/standardpanel.cpp \
136 components/playlist/selector.cpp \
137 util/input_slider.cpp \
138 util/customwidgets.cpp \
145 dialogs_provider.hpp \
149 dialogs/playlist.hpp \
150 dialogs/mediainfo.hpp \
151 dialogs/extended.hpp \
152 dialogs/messages.hpp \
154 dialogs/prefs_dialog.hpp \
155 dialogs/interaction.hpp \
159 components/extended_panels.hpp \
160 components/infopanels.hpp \
161 components/preferences_widgets.hpp \
162 components/preferences.hpp \
163 components/simple_preferences.hpp \
164 components/open.hpp \
165 components/interface_widgets.hpp \
166 components/playlist/panels.hpp \
167 components/playlist/selector.hpp \
168 util/input_slider.hpp \
169 util/directslider.hpp \
170 util/customwidgets.hpp \
173 ui/video_effects.ui \
178 ui/main_interface.ui \
181 ui/sprefs_interface.ui \
182 ui/sprefs_playlist.ui \
183 ui/sprefs_hotkeys.ui \
184 ui/sprefs_subtitles.ui \
188 pixmaps/advanced.xpm \
192 pixmaps/type_net.xpm \
193 pixmaps/type_playlist.xpm \
195 pixmaps/hotkeys_50x50.xpm \
196 pixmaps/audio_50x50.xpm \
197 pixmaps/input_and_codecs_50x50.xpm \
198 pixmaps/interface_50x50.xpm \
199 pixmaps/playlist_50x50.xpm \
200 pixmaps/subtitles_50x50.xpm \
201 pixmaps/video_50x50.xpm