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
36 TOMOC = main_interface \
42 dialogs/prefs_dialog \
51 components/extended_panels \
52 components/infopanels \
53 components/preferences_widgets \
54 components/preferences \
55 components/simple_preferences \
57 components/interface_widgets \
58 components/playlist/panels \
59 components/playlist/selector \
62 MOCCPP = $(TOMOC:%=%.moc.cpp)
64 nodist_SOURCES_qt4 = \
65 main_interface.moc.cpp \
67 dialogs_provider.moc.cpp \
68 input_manager.moc.cpp \
69 playlist_model.moc.cpp \
70 dialogs/playlist.moc.cpp \
71 dialogs/mediainfo.moc.cpp \
72 dialogs/extended.moc.cpp \
73 dialogs/messages.moc.cpp \
74 dialogs/errors.moc.cpp \
75 dialogs/prefs_dialog.moc.cpp \
76 dialogs/interaction.moc.cpp \
77 dialogs/sout.moc.cpp \
78 dialogs/help.moc.cpp \
79 dialogs/open.moc.cpp \
80 components/extended_panels.moc.cpp \
81 components/infopanels.moc.cpp \
82 components/preferences_widgets.moc.cpp \
83 components/preferences.moc.cpp \
84 components/simple_preferences.moc.cpp \
85 components/open.moc.cpp \
86 components/interface_widgets.moc.cpp \
87 components/playlist/panels.moc.cpp \
88 components/playlist/selector.moc.cpp \
89 util/input_slider.moc.cpp \
90 util/customwidgets.moc.cpp \
94 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
97 resources.cpp: res.qrc
98 $(RCC) -name vlc -o $@ $<
100 $(MOCCPP): %.moc.cpp: %.hpp
101 @echo "$(MOC) $< -> $@"
106 @echo "$(UIC) $< -> $@"
108 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
109 $(UIC) -tr "Q_" $< >> $@
110 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
113 SOURCES_qt4 = qt4.cpp \
116 dialogs_provider.cpp \
119 dialogs/playlist.cpp \
120 dialogs/prefs_dialog.cpp \
121 dialogs/mediainfo.cpp \
122 dialogs/extended.cpp \
123 dialogs/messages.cpp \
125 dialogs/interaction.cpp \
129 components/extended_panels.cpp \
130 components/infopanels.cpp \
131 components/preferences_widgets.cpp \
132 components/preferences.cpp \
133 components/simple_preferences.cpp \
134 components/open.cpp \
135 components/interface_widgets.cpp \
136 components/playlist/standardpanel.cpp \
137 components/playlist/selector.cpp \
138 util/input_slider.cpp \
139 util/customwidgets.cpp \
146 dialogs_provider.hpp \
150 dialogs/playlist.hpp \
151 dialogs/mediainfo.hpp \
152 dialogs/extended.hpp \
153 dialogs/messages.hpp \
155 dialogs/prefs_dialog.hpp \
156 dialogs/interaction.hpp \
160 components/extended_panels.hpp \
161 components/infopanels.hpp \
162 components/preferences_widgets.hpp \
163 components/preferences.hpp \
164 components/simple_preferences.hpp \
165 components/open.hpp \
166 components/interface_widgets.hpp \
167 components/playlist/panels.hpp \
168 components/playlist/selector.hpp \
169 util/input_slider.hpp \
170 util/directslider.hpp \
171 util/customwidgets.hpp \
174 ui/video_effects.ui \
180 ui/main_interface.ui \
183 ui/sprefs_interface.ui \
184 ui/sprefs_playlist.ui \
185 ui/sprefs_hotkeys.ui \
186 ui/sprefs_subtitles.ui \
190 pixmaps/advanced.xpm \
194 pixmaps/type_net.xpm \
195 pixmaps/type_playlist.xpm \
197 pixmaps/hotkeys_50x50.xpm \
198 pixmaps/audio_50x50.xpm \
199 pixmaps/input_and_codecs_50x50.xpm \
200 pixmaps/interface_50x50.xpm \
201 pixmaps/playlist_50x50.xpm \
202 pixmaps/subtitles_50x50.xpm \
203 pixmaps/video_50x50.xpm