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
14 TOUI = ui/input_stats ui/main_interface ui/file_open \
15 ui/okcanceldialog ui/yesnocanceldialog ui/logindialog ui/inputdialog \
19 TOMOC = main_interface \
25 dialogs/prefs_dialog \
28 components/infopanels \
29 components/preferences_widgets \
30 components/preferences \
32 components/video_widget \
33 components/playlist/panels \
34 components/playlist/selector \
36 MOCCPP = $(TOMOC:%=%.moc.cpp)
38 nodist_SOURCES_qt4 = \
39 main_interface.moc.cpp \
41 dialogs_provider.moc.cpp \
42 input_manager.moc.cpp \
43 playlist_model.moc.cpp \
44 dialogs/playlist.moc.cpp \
45 dialogs/streaminfo.moc.cpp \
46 dialogs/prefs_dialog.moc.cpp \
47 dialogs/interaction.moc.cpp \
48 components/infopanels.moc.cpp \
49 components/preferences_widgets.moc.cpp \
50 components/preferences.moc.cpp \
51 components/open.moc.cpp \
52 components/video_widget.moc.cpp \
53 components/playlist/panels.moc.cpp \
54 components/playlist/selector.moc.cpp \
55 util/input_slider.moc.cpp \
59 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
62 resources.cpp: res.qrc
63 $(RCC) -name vlc -o $@ $<
65 $(MOCCPP): %.moc.cpp: %.hpp
66 @echo "$(MOC) $< -> $@"
71 @echo "$(UIC) $< -> $@"
73 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
74 $(UIC) -tr "Q_" $< >> $@
75 sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
78 SOURCES_qt4 = qt4.cpp \
81 dialogs_provider.cpp \
84 dialogs/playlist.cpp \
85 dialogs/prefs_dialog.cpp \
86 dialogs/streaminfo.cpp \
87 dialogs/interaction.cpp \
88 components/infopanels.cpp \
89 components/preferences_widgets.cpp \
90 components/preferences.cpp \
92 components/video_widget.cpp \
93 components/playlist/standardpanel.cpp \
94 components/playlist/selector.cpp \
95 util/input_slider.cpp \
102 dialogs_provider.hpp \
106 dialogs/playlist.hpp \
107 dialogs/streaminfo.hpp \
108 dialogs/prefs_dialog.hpp \
109 dialogs/interaction.hpp \
110 components/infopanels.hpp \
111 components/preferences_widgets.hpp \
112 components/preferences.hpp \
113 components/open.hpp \
114 components/video_widget.hpp \
115 components/playlist/panels.hpp \
116 components/playlist/selector.hpp \
117 util/input_slider.hpp \
118 util/directslider.hpp \
122 ui/main_interface.ui \
123 ui/okcanceldialog.ui \
124 ui/yesnocanceldialog.ui \
127 ui/progressdialog.ui \
128 pixmaps/advanced.xpm \
132 pixmaps/type_net.xpm \
133 pixmaps/type_playlist.xpm \