]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/Makefile.am
Qt: Reindent Makefile.am
[vlc] / modules / gui / qt4 / Makefile.am
index 07272250a8ffed099627208e315893d440fb0333..16a6fb4e9fd982ccd97c1f8b20d170eabc58c246 100644 (file)
@@ -1,6 +1,5 @@
-basedir = gui
-
 include $(top_srcdir)/modules/common.am
+guidir = $(pluginsdir)/gui
 
 ## Howto
 # For each Q_OBJECT:
@@ -13,22 +12,24 @@ include $(top_srcdir)/modules/common.am
 # For each ressource (icon, png, ...)
 #   - Add it to DEPS_res
 
-AUTOMAKE_OPTIONS = subdir-objects
-SUFFIXES = .ui .h .hpp .moc.cpp
+SUFFIXES += .ui .h .hpp .moc.cpp
 
 libqt4_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS)
-libqt4_plugin_la_LIBADD = $(AM_LIBADD) $(QT_LIBS)
-libqt4_plugin_la_LDFLAGS = $(AM_LDFLAGS)
+libqt4_plugin_la_LIBADD = $(QT_LIBS)
+libqt4_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)'
+if HAVE_OS2
+else
 if HAVE_WIN32
 libqt4_plugin_la_LIBADD += -lole32
 else
 libqt4_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIB) -lX11
 endif
+endif
 if HAVE_DARWIN
 libqt4_plugin_la_LDFLAGS += -Wl,-framework,Cocoa
 endif
 
-libvlc_LTLIBRARIES =  $(LTLIBqt4)
+gui_LTLIBRARIES =  $(LTLIBqt4)
 EXTRA_LTLIBRARIES = libqt4_plugin.la
 
 libqt4_plugin_la_SOURCES = \
@@ -39,6 +40,7 @@ libqt4_plugin_la_SOURCES = \
        input_manager.cpp input_manager.hpp \
        actions_manager.cpp actions_manager.hpp \
        extensions_manager.cpp extensions_manager.hpp \
+       managers/addons_manager.cpp managers/addons_manager.hpp \
        recents.cpp recents.hpp \
        adapters/seekpoints.cpp adapters/seekpoints.hpp \
        adapters/chromaprint.cpp adapters/chromaprint.hpp \
@@ -71,7 +73,7 @@ libqt4_plugin_la_SOURCES = \
        components/info_widgets.cpp components/info_widgets.hpp \
        components/preferences_widgets.cpp components/preferences_widgets.hpp \
        components/complete_preferences.cpp \
-               components/complete_preferences.hpp \
+       components/complete_preferences.hpp \
        components/simple_preferences.cpp components/simple_preferences.hpp \
        components/open_panels.cpp components/open_panels.hpp \
        components/interface_widgets.cpp components/interface_widgets.hpp \
@@ -87,18 +89,19 @@ libqt4_plugin_la_SOURCES = \
        components/playlist/ml_model.cpp components/playlist/ml_model.hpp \
        components/playlist/vlc_model.cpp components/playlist/vlc_model.hpp \
        components/playlist/playlist_model.cpp \
-               components/playlist/playlist_model.hpp \
+       components/playlist/playlist_model.hpp \
        components/playlist/playlist_item.cpp \
-               components/playlist/playlist_item.hpp \
+       components/playlist/playlist_item.hpp \
        components/playlist/standardpanel.cpp \
-               components/playlist/standardpanel.hpp \
+       components/playlist/standardpanel.hpp \
        components/playlist/playlist.cpp components/playlist/playlist.hpp \
        components/playlist/selector.cpp components/playlist/selector.hpp \
-               components/playlist/sorting.h \
+       components/playlist/sorting.h \
        components/sout/profile_selector.cpp \
-               components/sout/profile_selector.hpp \
+       components/sout/profile_selector.hpp \
        components/sout/sout_widgets.cpp components/sout/sout_widgets.hpp \
-               components/sout/profiles.hpp \
+       components/sout/profiles.hpp \
+       util/animators.cpp util/animators.hpp \
        util/input_slider.cpp util/input_slider.hpp \
        util/timetooltip.cpp util/timetooltip.hpp \
        util/customwidgets.cpp util/customwidgets.hpp \
@@ -107,12 +110,13 @@ libqt4_plugin_la_SOURCES = \
        util/qmenuview.cpp util/qmenuview.hpp \
        util/qt_dirs.cpp util/qt_dirs.hpp \
        util/pictureflow.cpp util/pictureflow.hpp \
+       util/validators.cpp util/validators.hpp \
        util/buttons/BrowseButton.cpp util/buttons/BrowseButton.hpp \
        util/buttons/DeckButtonsLayout.cpp util/buttons/DeckButtonsLayout.hpp \
        util/buttons/RoundButton.cpp util/buttons/RoundButton.hpp \
-               util/qvlcframe.hpp \
-               util/qvlcapp.hpp \
-               util/singleton.hpp \
+       util/qvlcframe.hpp \
+       util/qvlcapp.hpp \
+       util/singleton.hpp \
        styles/seekstyle.cpp styles/seekstyle.hpp
 if HAVE_WIN32
 libqt4_plugin_la_SOURCES += main_interface_win32.cpp
@@ -138,6 +142,7 @@ nodist_libqt4_plugin_la_SOURCES = \
        input_manager.moc.cpp \
        actions_manager.moc.cpp \
        extensions_manager.moc.cpp \
+       managers/addons_manager.moc.cpp \
        recents.moc.cpp \
        adapters/seekpoints.moc.cpp \
        adapters/chromaprint.moc.cpp \
@@ -188,6 +193,7 @@ nodist_libqt4_plugin_la_SOURCES = \
        components/playlist/ml_model.moc.cpp \
        components/sout/profile_selector.moc.cpp \
        components/sout/sout_widgets.moc.cpp \
+       util/animators.moc.cpp \
        util/input_slider.moc.cpp \
        util/timetooltip.moc.cpp \
        util/customwidgets.moc.cpp \
@@ -195,6 +201,7 @@ nodist_libqt4_plugin_la_SOURCES = \
        util/qmenuview.moc.cpp \
        util/qvlcapp.moc.cpp \
        util/pictureflow.moc.cpp \
+       util/validators.moc.cpp \
        util/buttons/RoundButton.moc.cpp \
        util/buttons/DeckButtonsLayout.moc.cpp \
        util/buttons/BrowseButton.moc.cpp \
@@ -281,6 +288,9 @@ DEPS_res = \
        pixmaps/faster.png \
        pixmaps/faster2.png \
        pixmaps/go-next.png \
+       pixmaps/addons/addon.png \
+       pixmaps/addons/addon_broken.png \
+       pixmaps/addons/score.png \
        pixmaps/menus/exit_16px.png \
        pixmaps/menus/help_16px.png \
        pixmaps/menus/info_16px.png \