aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/Makefile.am
blob: c506044f7d6aea1b7f8beedbe3e36d83e5ae1d4b (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
help_base = $(datadir)/gnome/help/cal

#bin_PROGRAMS = gnomecal $(extra_pilot_bins)
bin_PROGRAMS = gnomecal

#if HAVE_GNOME_PILOT
#extra_pilot_bins =                 \
#        calendar-conduit-control-applet    \
#        calendar-pilot-sync
#endif

ICAL_LINK_FLAGS = $(top_builddir)/libical/src/libical/libical.la

INCLUDES =                      \
    -I$(includedir)                 \
    $(BONOBO_VFS_GNOME_CFLAGS)          \
    $(GNOME_CONDUIT_INCLUDEDIR)         \
    $(PISOCK_INCLUDEDIR)                        \
    -I$(top_srcdir)                 \
    -I$(top_srcdir)/calendar            \
    -I$(top_srcdir)/libical/src/libical     \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"

gnomecal_SOURCES =              \
    alarm.c                 \
    alarm.h                 \
    e-day-view-main-item.c          \
    e-day-view-main-item.h          \
    e-day-view-time-item.c          \
    e-day-view-time-item.h          \
    e-day-view-top-item.c           \
    e-day-view-top-item.h           \
    e-day-view.c                \
    e-day-view.h                \
    eventedit.c             \
    eventedit.h             \
    getdate.y               \
    gncal-day-panel.c           \
    gncal-day-panel.h           \
    gncal-day-view.c            \
    gncal-day-view.h            \
    gncal-full-day.c            \
    gncal-full-day.h            \
    gncal-week-view.c           \
    gncal-week-view.h           \
    gncal-todo.c                \
    gncal-todo.h                \
    gnome-month-item.c          \
    gnome-month-item.h          \
    gnome-cal.c             \
    gnome-cal.h             \
    goto.c                  \
    layout.c                \
    layout.h                \
    mark.c                  \
    mark.h                  \
    month-view.c                \
    month-view.h                \
    popup-menu.c                \
    popup-menu.h                \
    prop.c                  \
    quick-view.c                \
    quick-view.h                \
    todo-conduit.h              \
    view-utils.h                \
    view-utils.c                \
    year-view.c             \
    year-view.h             \
    main.c                  \
    main.h

#calendar_pilot_sync_SOURCES =  \
#    GnomeCal-common.c  \
#    GnomeCal-stubs.c   \
#    alarm.c            \
#    calendar-pilot-sync.c  \
#    calendar.c     \
#    calendar.h

LINK_FLAGS = \
    $(BONOBO_VFS_GNOME_LIBS) \
    $(INTLLIBS) \
    $(top_builddir)/calendar/cal-util/libcalutil.la \
    $(top_builddir)/e-util/libeutil.la \
    $(top_builddir)/widgets/e-text/libetext.a \
    $(top_builddir)/libversit/libversit.la \
    $(ICAL_LINK_FLAGS) \
    $(top_builddir)/calendar/cal-client/libcal-client.la

#calendar_pilot_sync_LDADD =    \
#    $(PISOCK_LIBDIR) $(PISOCK_LIBS)        \
#    $(LINK_FLAGS)

#if HAVE_GNOME_PILOT
##calendar_conduit
#calendar_conduitsdir=$(libdir)/gnome-pilot/conduits
#
#calendar_conduits_LTLIBRARIES = libcalendar_conduit.la
#endif 

#libcalendar_conduit_la_SOURCES =       \
#    GnomeCal-common.c          \
#    GnomeCal-stubs.c           \
#    calendar-conduit.h         \
#    calendar-conduit.c         \
#    alarm.c                    \
#    calendar.c

#libcalendar_conduit_la_LDFLAGS = \
#    -rpath $(libdir)

#libcalendar_conduit_la_LIBADD = \
#    ../libversit/libversit.la \
#    $(PISOCK_LIBDIR) $(PISOCK_LIBS) \
#    $(GNOME_LIBDIR) \
#    $(GNOME_LIBS)

#calendar_conduit_control_applet_SOURCES = \
#    calendar-conduit-control-applet.c

#calendar_conduit_control_applet_LDADD = \
#    $(CAPPLET_LIBS) \
#    $(GNOME_LIBDIR) \
#    $(GNOME_CAPPLET_LIBS) \
#    $(PISOCK_LIBDIR) $(PISOCK_LIBS) \
#    $(GNOMEUI_LIBS) \
#    $(GNOME_PILOT_LIBS) \
#    $(INTLLIBS) 

#todo_conduit
#todo_conduitsdir=$(libdir)/gnome-pilot/conduits

#todo_conduits_LTLIBRARIES = libtodo_conduit.la

#libtodo_conduit_la_LDFLAGS = \
#   -rpath $(libdir)

#libtodo_conduit_la_LIBADD = \
#   $(GNOME_LIBDIR) \
#   $(GNOME_LIBS)

#libtodo_conduit_la_SOURCES = \
#   todo-conduit.c

#todo-conduit.c:    GnomeCal.h

#todo_conduit_control_applet_SOURCES = \
#   todo-conduit-control-applet.c

#todo_conduit_control_applet_LDADD = \
#   $(CAPPLET_LIBS) \
#   $(GNOME_LIBDIR) \
#   $(GNOME_CAPPLET_LIBS) \
#   $(PISOCK_LIBDIR) $(PISOCK_LIBS) \
#   $(GNOMEUI_LIBS) \
#   $(GNOME_PILOT_LIBS) \
#   $(INTLLIBS) 

gnomecal_INCLUDES =         \
    $(INCLUDES)         \
    -DG_LOG_DOMAIN=\"gnomecal\"

gnomecal_LDADD = $(LINK_FLAGS)

#if HAVE_GNOME_PILOT
#ccenterdir = $(datadir)/control-center
#Rootdir = $(ccenterdir)
#PalmPilotdir = $(ccenterdir)/Peripherals/PalmPilot
#Conduitsdir = $(PalmPilotdir)/Conduits
#
#Conduits_DATA = \
#    calendar-conduit-control-applet.desktop 
##  todo-conduit-control-applet.desktop 
#
#Conduits_seconddir = $(datadir)/gnome/apps/Settings/Peripherals/PalmPilot/Conduits/
#Conduits_second_DATA = $(Conduits_DATA)
#endif

EXTRA_DIST = \
    gncal.desktop   \
    bell.xpm    \
    recur.xpm

#   gnome-calendar-conduit.png
#   todo-conduit-control-applet.desktop
#   $(idl_DATA)
#   $(gnorba_DATA)
#   calendar-conduit-control-applet.desktop

#appicondir = $(datadir)/pixmaps
#appicon_DATA = gnome-calendar-conduit.png

Productivitydir = $(datadir)/gnome/apps/Applications

Productivity_DATA = gncal.desktop

install-data-local:
    $(mkinstalldirs) $(DESTDIR)$(help_base)/C
#   $(mkinstalldirs) $(Conduitsdir)