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
33 TOMOC = main_interface \
39 dialogs/prefs_dialog \
47 components/extended_panels \
48 components/infopanels \
49 components/preferences_widgets \
50 components/preferences \
51 components/simple_preferences \
53 components/interface_widgets \
54 components/playlist/panels \
55 components/playlist/selector \
58 MOCCPP = $(TOMOC:%=%.moc.cpp)
60 nodist_SOURCES_qt4 = \
61 main_interface.moc.cpp \
63 dialogs_provider.moc.cpp \
64 input_manager.moc.cpp \
65 playlist_model.moc.cpp \
66 dialogs/playlist.moc.cpp \
67 dialogs/mediainfo.moc.cpp \
68 dialogs/extended.moc.cpp \
69 dialogs/messages.moc.cpp \
70 dialogs/errors.moc.cpp \
71 dialogs/prefs_dialog.moc.cpp \
72 dialogs/interaction.moc.cpp \
73 dialogs/sout.moc.cpp \
74 dialogs/open.moc.cpp \
75 components/extended_panels.moc.cpp \
76 components/infopanels.moc.cpp \
77 components/preferences_widgets.moc.cpp \
78 components/preferences.moc.cpp \
79 components/simple_preferences.moc.cpp \
80 components/open.moc.cpp \
81 components/interface_widgets.moc.cpp \
82 components/playlist/panels.moc.cpp \
83 components/playlist/selector.moc.cpp \
84 util/input_slider.moc.cpp \
85 util/customwidgets.moc.cpp \
89 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
92 resources.cpp: res.qrc
93 $(RCC) -name vlc -o $@ $<
95 $(MOCCPP): %.moc.cpp: %.hpp
96 @echo "$(MOC) $< -> $@"
101 @echo "$(UIC) $< -> $@"
103 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
104 $(UIC) -tr "Q_" $< >> $@
105 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
108 SOURCES_qt4 = qt4.cpp \
111 dialogs_provider.cpp \
114 dialogs/playlist.cpp \
115 dialogs/prefs_dialog.cpp \
116 dialogs/mediainfo.cpp \
117 dialogs/extended.cpp \
118 dialogs/messages.cpp \
120 dialogs/interaction.cpp \
123 components/extended_panels.cpp \
124 components/infopanels.cpp \
125 components/preferences_widgets.cpp \
126 components/preferences.cpp \
127 components/simple_preferences.cpp \
128 components/open.cpp \
129 components/interface_widgets.cpp \
130 components/playlist/standardpanel.cpp \
131 components/playlist/selector.cpp \
132 util/input_slider.cpp \
133 util/customwidgets.cpp \
140 dialogs_provider.hpp \
144 dialogs/playlist.hpp \
145 dialogs/mediainfo.hpp \
146 dialogs/extended.hpp \
147 dialogs/messages.hpp \
149 dialogs/prefs_dialog.hpp \
150 dialogs/interaction.hpp \
153 components/extended_panels.hpp \
154 components/infopanels.hpp \
155 components/preferences_widgets.hpp \
156 components/preferences.hpp \
157 components/simple_preferences.hpp \
158 components/open.hpp \
159 components/interface_widgets.hpp \
160 components/playlist/panels.hpp \
161 components/playlist/selector.hpp \
162 util/input_slider.hpp \
163 util/directslider.hpp \
164 util/customwidgets.hpp \
172 ui/main_interface.ui \
174 ui/sprefs_interface.ui \
175 ui/sprefs_playlist.ui \
176 ui/sprefs_subtitles.ui \
180 pixmaps/advanced.xpm \
184 pixmaps/type_net.xpm \
185 pixmaps/type_playlist.xpm \
187 pixmaps/advanced_50x50.xpm \
188 pixmaps/audio_50x50.xpm \
189 pixmaps/input_and_codecs_50x50.xpm \
190 pixmaps/interface_50x50.xpm \
191 pixmaps/playlist_50x50.xpm \
192 pixmaps/subtitles_50x50.xpm \
193 pixmaps/video_50x50.xpm