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 \
18 TOMOC = main_interface \
24 dialogs/prefs_dialog \
27 components/infopanels \
28 components/preferences_widgets \
29 components/preferences \
31 components/video_widget \
32 components/playlist/panels \
34 MOCCPP = $(TOMOC:%=%.moc.cpp)
36 nodist_SOURCES_qt4 = \
37 main_interface.moc.cpp \
39 dialogs_provider.moc.cpp \
40 input_manager.moc.cpp \
41 playlist_model.moc.cpp \
42 dialogs/playlist.moc.cpp \
43 dialogs/streaminfo.moc.cpp \
44 dialogs/prefs_dialog.moc.cpp \
45 dialogs/interaction.moc.cpp \
46 components/infopanels.moc.cpp \
47 components/preferences_widgets.moc.cpp \
48 components/preferences.moc.cpp \
49 components/open.moc.cpp \
50 components/video_widget.moc.cpp \
51 components/playlist/panels.moc.cpp \
52 util/input_slider.moc.cpp \
56 BUILT_SOURCES += $(UIH) $(nodist_SOURCES_qt4)
59 resources.cpp: res.qrc
60 $(RCC) -name vlc -o $@ $<
62 $(MOCCPP): %.moc.cpp: %.hpp
63 @echo "$(MOC) $< -> $@"
68 @echo "$(UIC) $< -> $@"
70 echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
71 $(UIC) -tr "Q_" $< >> $@
74 SOURCES_qt4 = qt4.cpp \
77 dialogs_provider.cpp \
80 dialogs/playlist.cpp \
81 dialogs/prefs_dialog.cpp \
82 dialogs/streaminfo.cpp \
83 dialogs/interaction.cpp \
84 components/infopanels.cpp \
85 components/preferences_widgets.cpp \
86 components/preferences.cpp \
88 components/video_widget.cpp \
89 components/playlist/standardpanel.cpp \
90 util/input_slider.cpp \
97 dialogs_provider.hpp \
101 dialogs/playlist.hpp \
102 dialogs/streaminfo.hpp \
103 dialogs/prefs_dialog.hpp \
104 dialogs/interaction.hpp \
105 components/infopanels.hpp \
106 components/preferences_widgets.hpp \
107 components/preferences.hpp \
108 components/open.hpp \
109 components/video_widget.hpp \
110 components/playlist/panels.hpp \
111 components/playlist/selector.hpp \
112 util/input_slider.hpp \
113 util/directslider.hpp \
117 ui/main_interface.ui \
118 ui/okcanceldialog.ui \
119 pixmaps/advanced.xpm \
123 pixmaps/type_net.xpm \
124 pixmaps/type_playlist.xpm \