aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/Makefile.am
blob: ea1c36e0d9b9a8929d2816a59d172ce10786d585 (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
68
69
70
71
72
73
74
75
76
77
CORBA_GENERATED_H =             \
    evolution-calendar.h
CORBA_GENERATED_C =             \
    evolution-calendar-common.c     \
    evolution-calendar-skels.c      \
    evolution-calendar-stubs.c
CORBA_GENERATED = $(CORBA_GENERATED_C) $(CORBA_GENERATED_H)

idls = $(top_srcdir)/calendar/idl/evolution-calendar.idl
idl_flags = $(IDL_INCLUDES) 

$(CORBA_GENERATED_H): $(idls)
    $(ORBIT_IDL) $(idl_flags) $(top_srcdir)/calendar/idl/evolution-calendar.idl
$(CORBA_GENERATED_C): $(CORBA_GENERATED_H)


privlibexec_PROGRAMS = evolution-alarm-notify


AM_CPPFLAGS =                       \
    -DG_LOG_DOMAIN=\"evolution-alarm-notify\"   \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/widgets             \
    -I$(top_srcdir)/calendar            \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"    \
    -DEVOLUTION_LIBEXECDIR=\""$(privlibexecdir)"\"  \
    $(EVOLUTION_CALENDAR_CFLAGS)            \
    $(CANBERRA_CFLAGS)

glade_DATA =        \
    alarm-notify.glade

evolution_alarm_notify_SOURCES =    \
    $(CORBA_GENERATED)      \
    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/common/libevolution-calendarprivate.la \
    $(CAMEL_LIBS)                           \
    $(EVOLUTION_CALENDAR_LIBS)                  \
    $(CANBERRA_LIBS)

if OS_WIN32
evolution_alarm_notify_LDFLAGS = -mwindows
endif

server_in_files = GNOME_Evolution_Calendar_AlarmNotify.server.in.in
server_DATA = $(server_in_files:.server.in.in=.server)
@EVO_SERVER_RULE@
@INTLTOOL_SERVER_RULE@

EXTRA_DIST =            \
    $(server_in_files)  \
    $(glade_DATA)

BUILT_SOURCES = $(CORBA_GENERATED) $(server_DATA)
CLEANFILES = $(BUILT_SOURCES)

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)

-include $(top_srcdir)/git.mk