wmail: only include one set of XPM's among wmail's sources.
[dockapps.git] / wmail / src / Makefile.am
blobd6af3ddf3123b035a34e6272900834cc79b01b77
1 AM_CPPFLAGS =
2 AM_CFLAGS   = $(dockapp_CFLAGS) $(X11_CFLAGS)
4 if ENABLE_DEBUG
5   AM_CPPFLAGS += -DDEBUG -D_XOPEN_SOURCE=600
6   AM_CFLAGS   += -std=c99 -pedantic -Wall -Wextra
7 endif
9 if ENABLE_DELT_XPMS
10   AM_CPPFLAGS += -DUSE_DELT_XPMS
11 endif
13 LIBS += $(dockapp_LIBS) $(X11_LIBS)
15 bin_PROGRAMS = wmail
17 wmail_SOURCES = common.c common.h config.c config.h wmail.c
19 if ENABLE_DELT_XPMS
20   wmail_SOURCES += xpm_delt/*.xpm
21 else
22   wmail_SOURCES += xpm/*.xpm
23 endif