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 \
42 components/extended_panels \
43 components/infopanels \
44 components/preferences_widgets \
45 components/preferences \
46 components/simple_preferences \
48 components/interface_widgets \
49 components/playlist/panels \
50 components/playlist/selector \
53 MOCCPP = $(TOMOC:%=%.moc.cpp)
55 nodist_SOURCES_qt4 = \
56 main_interface.moc.cpp \
58 dialogs_provider.moc.cpp \
59 input_manager.moc.cpp \
60 playlist_model.moc.cpp \
61 dialogs/playlist.moc.cpp \
62 dialogs/streaminfo.moc.cpp \
63 dialogs/extended.moc.cpp \
64 dialogs/messages.moc.cpp \
65 dialogs/errors.moc.cpp \
66 dialogs/prefs_dialog.moc.cpp \
67 dialogs/interaction.moc.cpp \
68 components/extended_panels.moc.cpp \
69 components/infopanels.moc.cpp \
70 components/preferences_widgets.moc.cpp \
71 components/preferences.moc.cpp \
72 components/simple_preferences.moc.cpp \
73 components/open.moc.cpp \
74 components/interface_widgets.moc.cpp \
75 components/playlist/panels.moc.cpp \
76 components/playlist/selector.moc.cpp \
77 util/input_slider.moc.cpp \
78 util/customwidgets.moc.cpp \
82 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
85 resources.cpp: res.qrc
86 $(RCC) -name vlc -o $@ $<
88 $(MOCCPP): %.moc.cpp: %.hpp
89 @echo "$(MOC) $< -> $@"
94 @echo "$(UIC) $< -> $@"
96 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
97 $(UIC) -tr "Q_" $< >> $@
98 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
101 SOURCES_qt4 = qt4.cpp \
104 dialogs_provider.cpp \
107 dialogs/playlist.cpp \
108 dialogs/prefs_dialog.cpp \
109 dialogs/streaminfo.cpp \
110 dialogs/extended.cpp \
111 dialogs/messages.cpp \
113 dialogs/interaction.cpp \
114 components/extended_panels.cpp \
115 components/infopanels.cpp \
116 components/preferences_widgets.cpp \
117 components/preferences.cpp \
118 components/simple_preferences.cpp \
119 components/open.cpp \
120 components/interface_widgets.cpp \
121 components/playlist/standardpanel.cpp \
122 components/playlist/selector.cpp \
123 util/input_slider.cpp \
124 util/customwidgets.cpp \
131 dialogs_provider.hpp \
135 dialogs/playlist.hpp \
136 dialogs/streaminfo.hpp \
137 dialogs/extended.hpp \
138 dialogs/messages.hpp \
140 dialogs/prefs_dialog.hpp \
141 dialogs/interaction.hpp \
142 components/extended_panels.hpp \
143 components/infopanels.hpp \
144 components/preferences_widgets.hpp \
145 components/preferences.hpp \
146 components/simple_preferences.hpp \
147 components/open.hpp \
148 components/interface_widgets.hpp \
149 components/playlist/panels.hpp \
150 components/playlist/selector.hpp \
151 util/input_slider.hpp \
152 util/directslider.hpp \
153 util/customwidgets.hpp \
158 ui/main_interface.ui \
160 ui/sprefs_interface.ui \
161 ui/sprefs_playlist.ui \
162 ui/sprefs_subtitles.ui \
165 pixmaps/advanced.xpm \
169 pixmaps/type_net.xpm \
170 pixmaps/type_playlist.xpm \
172 pixmaps/advanced_50x50.xpm \
173 pixmaps/audio_50x50.xpm \
174 pixmaps/input_and_codecs_50x50.xpm \
175 pixmaps/interface_50x50.xpm \
176 pixmaps/playlist_50x50.xpm \
177 pixmaps/subtitles_50x50.xpm \
178 pixmaps/video_50x50.xpm