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
30 TOMOC = main_interface \
36 dialogs/prefs_dialog \
43 components/extended_panels \
44 components/infopanels \
45 components/preferences_widgets \
46 components/preferences \
47 components/simple_preferences \
49 components/interface_widgets \
50 components/playlist/panels \
51 components/playlist/selector \
54 MOCCPP = $(TOMOC:%=%.moc.cpp)
56 nodist_SOURCES_qt4 = \
57 main_interface.moc.cpp \
59 dialogs_provider.moc.cpp \
60 input_manager.moc.cpp \
61 playlist_model.moc.cpp \
62 dialogs/playlist.moc.cpp \
63 dialogs/streaminfo.moc.cpp \
64 dialogs/extended.moc.cpp \
65 dialogs/messages.moc.cpp \
66 dialogs/errors.moc.cpp \
67 dialogs/prefs_dialog.moc.cpp \
68 dialogs/interaction.moc.cpp \
69 dialogs/sout.moc.cpp \
70 components/extended_panels.moc.cpp \
71 components/infopanels.moc.cpp \
72 components/preferences_widgets.moc.cpp \
73 components/preferences.moc.cpp \
74 components/simple_preferences.moc.cpp \
75 components/open.moc.cpp \
76 components/interface_widgets.moc.cpp \
77 components/playlist/panels.moc.cpp \
78 components/playlist/selector.moc.cpp \
79 util/input_slider.moc.cpp \
80 util/customwidgets.moc.cpp \
84 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
87 resources.cpp: res.qrc
88 $(RCC) -name vlc -o $@ $<
90 $(MOCCPP): %.moc.cpp: %.hpp
91 @echo "$(MOC) $< -> $@"
96 @echo "$(UIC) $< -> $@"
98 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
99 $(UIC) -tr "Q_" $< >> $@
100 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
103 SOURCES_qt4 = qt4.cpp \
106 dialogs_provider.cpp \
109 dialogs/playlist.cpp \
110 dialogs/prefs_dialog.cpp \
111 dialogs/streaminfo.cpp \
112 dialogs/extended.cpp \
113 dialogs/messages.cpp \
115 dialogs/interaction.cpp \
117 components/extended_panels.cpp \
118 components/infopanels.cpp \
119 components/preferences_widgets.cpp \
120 components/preferences.cpp \
121 components/simple_preferences.cpp \
122 components/open.cpp \
123 components/interface_widgets.cpp \
124 components/playlist/standardpanel.cpp \
125 components/playlist/selector.cpp \
126 util/input_slider.cpp \
127 util/customwidgets.cpp \
134 dialogs_provider.hpp \
138 dialogs/playlist.hpp \
139 dialogs/streaminfo.hpp \
140 dialogs/extended.hpp \
141 dialogs/messages.hpp \
143 dialogs/prefs_dialog.hpp \
144 dialogs/interaction.hpp \
146 components/extended_panels.hpp \
147 components/infopanels.hpp \
148 components/preferences_widgets.hpp \
149 components/preferences.hpp \
150 components/simple_preferences.hpp \
151 components/open.hpp \
152 components/interface_widgets.hpp \
153 components/playlist/panels.hpp \
154 components/playlist/selector.hpp \
155 util/input_slider.hpp \
156 util/directslider.hpp \
157 util/customwidgets.hpp \
162 ui/main_interface.ui \
164 ui/sprefs_interface.ui \
165 ui/sprefs_playlist.ui \
166 ui/sprefs_subtitles.ui \
170 pixmaps/advanced.xpm \
174 pixmaps/type_net.xpm \
175 pixmaps/type_playlist.xpm \
177 pixmaps/advanced_50x50.xpm \
178 pixmaps/audio_50x50.xpm \
179 pixmaps/input_and_codecs_50x50.xpm \
180 pixmaps/interface_50x50.xpm \
181 pixmaps/playlist_50x50.xpm \
182 pixmaps/subtitles_50x50.xpm \
183 pixmaps/video_50x50.xpm