GITVERSION=$(shell sh -c 'git describe --dirty --always 2>/dev/null')
AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ @CAIRO_CFLAGS@ @FRONTEND_CFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' \
- -DLOCALEDIR='"$(localedir)"' -DSVGDIR='"$(svgdir)"' -D__GIT_VERSION='"$(GITVERSION)"' $(headers)
+ -DLOCALEDIR='"$(localedir)"' -DSVGDIR='"$(svgdir)"' -D__GIT_VERSION='"$(GITVERSION)"' \
+ -DCONFIGURE_OPTIONS='"@CONFIGURE_OPTIONS@"' $(headers)
ACLOCAL_AMFLAGS = -I m4
svg/BlackQueen.svg svg/WhiteQueen.svg \
svg/BlackRook.svg svg/WhiteRook.svg \
svg/BlackUnicorn.svg svg/WhiteUnicorn.svg \
+ svg/BlackSword.svg svg/WhiteSword.svg \
+ svg/BlackHSword.svg svg/WhiteHSword.svg \
+ svg/BlackLeopard.svg svg/WhiteLeopard.svg \
+ svg/BlackLion.svg svg/WhiteLion.svg \
+ svg/BlackPromoBishop.svg svg/WhitePromoBishop.svg \
+ svg/BlackPromoRook.svg svg/WhitePromoRook.svg \
+ svg/BlackPromoHorse.svg svg/WhitePromoHorse.svg \
+ svg/BlackPromoDragon.svg svg/WhitePromoDragon.svg \
+ svg/BlackPromoSword.svg svg/WhitePromoSword.svg \
+ svg/BlackPromoHSword.svg svg/WhitePromoHSword.svg \
+ svg/BlackHCrown.svg svg/WhiteHCrown.svg \
+ svg/BlackDolphin.svg svg/WhiteDolphin.svg \
svg/eo_Analyzing.svg svg/eo_Black.svg \
svg/eo_Clear.svg svg/eo_Ponder.svg \
svg/eo_Thinking.svg svg/eo_Unknown.svg \
### directory and files for pixmaps
pixmapsdir = $(gamedatadir)/pixmaps/textures
-dist_pixmaps_DATA = pixmaps/cross32.xpm pixmaps/cross48.xpm pixmaps/board32.xpm pixmaps/board48.xpm pixmaps/ini32.xpm pixmaps/ini48.xpm
+dist_pixmaps_DATA = pixmaps/cross32.png pixmaps/cross48.png pixmaps/board32.png pixmaps/board48.png pixmaps/ini32.png pixmaps/ini48.png
### directory and files for pngs
$(XDG_DESKTOP_MENU) install --mode system --novendor xboard-fen-viewer.desktop;\
$(XDG_DESKTOP_MENU) install --mode system --novendor xboard-tourney.desktop;\
$(XDG_DESKTOP_MENU) install --mode system --novendor xboard-config.desktop;\
- $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/board32.xpm application-x-chess-pgn;\
- $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/cross32.xpm application-x-xboard-trn;\
- $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/ini32.xpm application-x-xboard-opt;\
- $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/board48.xpm application-x-chess-pgn;\
- $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/cross48.xpm application-x-xboard-trn;\
- $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/ini48.xpm application-x-xboard-opt;\
+ $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/board32.png application-x-chess-pgn;\
+ $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/cross32.png application-x-xboard-trn;\
+ $(XDG_ICON_RESOURCE) install --context mimetypes --size 32 pixmaps/ini32.png application-x-xboard-opt;\
+ $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/board48.png application-x-chess-pgn;\
+ $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/cross48.png application-x-xboard-trn;\
+ $(XDG_ICON_RESOURCE) install --context mimetypes --size 48 pixmaps/ini48.png application-x-xboard-opt;\
fi
endif
$(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-fen-viewer.desktop;\
$(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-tourney.desktop;\
$(XDG_DESKTOP_MENU) uninstall --mode system --novendor xboard-config.desktop;\
- $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 board32.xpm application-x-chess-pgn;\
- $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 cross32.xpm application-x-xboard-trn;\
- $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 ini32.xpm application-x-xboard-opt;\
- $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 board48.xpm application-x-chess-pgn;\
- $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 cross48.xpm application-x-xboard-trn;\
- $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 ini48.xpm application-x-xboard-opt;\
+ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 board32.png application-x-chess-pgn;\
+ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 cross32.png application-x-xboard-trn;\
+ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 32 ini32.png application-x-xboard-opt;\
+ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 board48.png application-x-chess-pgn;\
+ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 cross48.png application-x-xboard-trn;\
+ $(XDG_ICON_RESOURCE) uninstall --context mimetypes --size 48 ini48.png application-x-xboard-opt;\
fi
endif