1interfaces = \ 2 parole.ui \ 3 parole-settings.ui \ 4 playlist.ui \ 5 mediachooser.ui \ 6 save-playlist.ui \ 7 plugins.ui \ 8 open-location.ui \ 9 shortcuts.ui 10 11interfaces_h = \ 12 $(interfaces:.ui=_ui.h) 13 14if MAINTAINER_MODE 15BUILT_SOURCES = $(interfaces_h) 16 17parole_ui.h: parole.ui 18 xdt-csource --static --strip-comments --strip-content --name=parole_ui $< > $@ 19 20parole-settings_ui.h: parole-settings.ui 21 xdt-csource --static --strip-comments --strip-content --name=parole_settings_ui $< > $@ 22 23playlist_ui.h: playlist.ui 24 xdt-csource --static --strip-comments --strip-content --name=playlist_ui $< > $@ 25 26mediachooser_ui.h: mediachooser.ui 27 xdt-csource --static --strip-comments --strip-content --name=mediachooser_ui $< > $@ 28 29save-playlist_ui.h: save-playlist.ui 30 xdt-csource --static --strip-comments --strip-content --name=save_playlist_ui $< > $@ 31 32open-location_ui.h: open-location.ui 33 xdt-csource --static --strip-comments --strip-content --name=open_location_ui $< > $@ 34 35plugins_ui.h: plugins.ui 36 xdt-csource --static --strip-comments --strip-content --name=plugins_ui $< > $@ 37 38shortcuts_ui.h: shortcuts.ui 39 xdt-csource --static --strip-comments --strip-content --name=shortcuts_ui $< > $@ 40 41endif 42 43DISTCLEANFILES = \ 44 $(interfaces_h) 45 46EXTRA_DIST = \ 47 $(interfaces) \ 48 $(interfaces_h)