aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/alarm-notify/Makefile.am
blob: 5647c3925473059f54f1051763dbec755236b15d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
if OS_WIN32
bin_PROGRAMS = evolution-alarm-notify
else
privlibexec_PROGRAMS = evolution-alarm-notify
endif

if HAVE_WINDRES
EVOLUTIONALARMNOTIFYICON = evolution-alarm-notify-icon.o
endif

evolution_alarm_notify_CPPFLAGS =           \
    $(AM_CPPFLAGS)                  \
    -DG_LOG_DOMAIN=\"evolution-alarm-notify\"   \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/widgets             \
    -I$(top_srcdir)/calendar            \
    -DEVOLUTION_UIDIR=\""$(uidir)"\"        \
    -DEVOLUTION_ICONDIR=\""$(icondir)"\"        \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DEVOLUTION_LIBEXECDIR=\""$(privlibexecdir)"\"  \
    $(EVOLUTION_DATA_SERVER_CFLAGS)         \
    $(GNOME_PLATFORM_CFLAGS)            \
    $(LIBNOTIFY_CFLAGS)             \
    $(CANBERRA_CFLAGS)

ui_DATA =       \
    alarm-notify.ui

evolution_alarm_notify_SOURCES =    \
    alarm.c             \
    alarm.h             \
    alarm-notify.c          \
    alarm-notify.h          \
    alarm-notify-dialog.c       \
    alarm-notify-dialog.h       \
    alarm-queue.c           \
    alarm-queue.h           \
    config-data.c           \
    config-data.h           \
    notify-main.c           \
    util.c              \
    util.h

evolution_alarm_notify_LDADD =                      \
    $(top_builddir)/e-util/libeutil.la              \
    $(top_builddir)/widgets/misc/libemiscwidgets.la         \
    $(top_builddir)/calendar/gui/libevolution-calendar.la       \
    $(top_builddir)/libevolution-utils/libevolution-utils.la    \
    $(EVOLUTION_DATA_SERVER_LIBS)                   \
    $(GNOME_PLATFORM_LIBS)                      \
    $(LIBNOTIFY_LIBS)                       \
    $(CANBERRA_LIBS)                        \
    $(EVOLUTIONALARMNOTIFYICON)

if OS_WIN32
evolution_alarm_notify_LDFLAGS = -mwindows
endif

EXTRA_DIST = $(ui_DATA) \
    evolution-alarm-notify-icon.rc          \
    evolution-alarm-notify.ico


evolution-alarm-notify-icon.o: evolution-alarm-notify.ico evolution-alarm-notify-icon.rc
    $(WINDRES) evolution-alarm-notify-icon.rc evolution-alarm-notify-icon.o

-include $(top_srcdir)/git.mk