aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/Makefile.am
blob: 4176a71685a88178abebbc4d9e8600a228262fd6 (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
78
79
80
81
82
83
84
85
CORBA_GENERATED =               \
    evolution-calendar.h            \
    evolution-calendar-common.c     \
    evolution-calendar-skels.c      \
    evolution-calendar-stubs.c

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

idl_flags = `$(GNOME_CONFIG) --cflags idl` -I $(datadir)/idl

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

bin_PROGRAMS = evolution-alarm-notify # evolution-alarm-client

noinst_LIBRARIES = libalarm.a

libalarm_a_SOURCES =    \
    alarm.c     \
    alarm.h

INCLUDES =                      \
    -DG_LOG_DOMAIN=\"evolution-alarm-notify\"   \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I$(top_builddir)/calendar          \
    -I$(top_srcdir)/libical/src/libical     \
    -I$(top_builddir)/libical/src/libical       \
    -I$(top_srcdir)/widgets             \
    -I$(includedir)                 \
    $(BONOBO_VFS_GNOME_CFLAGS)          \
    $(EXTRA_GNOME_CFLAGS)               \
    -DEVOLUTION_DATADIR=\""$(datadir)"\"        \
    -DEVOLUTION_GLADEDIR=\""$(gladedir)"\"      \
    -DEVOLUTION_LOCALEDIR=\""$(localedir)"\"

gladedir   = $(datadir)/evolution/glade

glade_DATA =        \
    alarm-notify.glade

evolution_alarm_notify_SOURCES =    \
    $(CORBA_GENERATED)      \
    alarm-notify.c          \
    alarm-notify.h          \
    alarm-notify-dialog.c       \
    alarm-notify-dialog.h       \
    alarm-queue.c           \
    alarm-queue.h           \
    notify-main.c

evolution_alarm_notify_LDADD =                  \
    libalarm.a                      \
    $(top_builddir)/calendar/cal-client/libcal-client.la    \
    $(top_builddir)/calendar/cal-util/libcal-util.la    \
    $(top_builddir)/libical/src/libical/libical.la      \
    $(top_builddir)/libwombat/libwombat.la          \
    $(BONOBO_VFS_GNOME_LIBS)                \
    $(EXTRA_GNOME_LIBS)                 \
    $(INTLLIBS)

# evolution_alarm_client_SOURCES =  \
#   client-main.c           \
#   $(CORBA_GENERATED)
# 
# evolution_alarm_client_LDADD =        \
#    $(BONOBO_VFS_GNOME_LIBS)   \
#    $(EXTRA_GNOME_LIBS)        \
#    $(INTLLIBS)

oafdir = $(datadir)/oaf
oaf_in_files = \
    GNOME_Evolution_Calendar_AlarmNotify.oaf.in

oaf_DATA = $(oaf_in_files:.oaf.in=.oaf)

@XML_I18N_MERGE_OAF_RULE@

EXTRA_DIST =        \
    $(oaf_DATA) \
    $(oaf_in_files) \
    $(glade_DATA)

BUILT_SOURCES = $(CORBA_GENERATED)
CLEANFILES += $(BUILT_SOURCES)