wmbattery: use CPPFLAGS for defining preprocessor macros.
[dockapps.git] / wmcdplay / Makefile.am
blobafb17319d604db896e564ba8467eca49cade52ab
1 bin_PROGRAMS = wmcdplay
2 wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc XPM/standard.art
3 BUILT_SOURCES = XPM/standard.art
4 AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS)
5 AM_CPPFLAGS = -DSYSARTDIR=\"$(pkgdatadir)\"
6 LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS)
8 ART = XPM/bluered.art XPM/grey.art XPM/newstyle.art XPM/wmcd.art
9 pkgdata_DATA = $(ART)
10 pkgdata_SCRIPTS = XPM/makeart
11 CLEANFILES = $(ART) XPM/standard.art
13 XPM/%.art:
14         cd XPM && ./makeart $*
16 XPM/standard.art: XPM/@defaultart@.art
17         cd XPM && ln -s @defaultart@.art standard.art
19 man_MANS = wmcdplay.1