Files
evolution/calendar/gui/Makefile.am
Federico Mena Quintero ca082de77a Added get_uids() method to get a list of UIDs based on object types.
2000-02-08  Federico Mena Quintero  <federico@helixcode.com>

	* evolution-calendar.idl (Cal): Added get_uids() method to get a
	list of UIDs based on object types.

	* cal-backend.c (cal_backend_get_uids): Implemented get_uids() in
	the backend.

	* cal.c (Cal_get_uids): Implemented get_uids() method.

	* cal-client.c (cal_client_get_uids): Implemented client-side
	function.

	* cal-util.c (cal_obj_instance_list_free): Doh.  Free the list,
	not the last link.
	(cal_obj_uid_list_free): New function to free a list of UIDs.

	* GnomeCal.idl (Repository): Removed unused method
	get_object_by_id_list().  This is just for cleanup purposes and to
	remind me exactly of what needs to be moved over to
	evolution-calendar.idl.
	(Repository): Removed unused get_objects() method.

	* corba-cal.c (init_calendar_repo_class): Removed the unused
	get_objects method.

	* calobj.h (CalObjFindStatus): New status value enumeration for
	the find function.

	* calobj.c (ical_object_find_in_string): New function to parse a
	complete calendar and find a calendar object in it.  This should
	be used instead ical_object_new_from_string() in the future.

	* evolution-calendar.idl (CalObjInstance): Added an uid field.
	Now the idea is that whenever calendar object strings are passed
	around, their UIDs are passed along with them so that the actual
	object can be pulled from the whole VCAL object using its UID to
	identify it.

	* cal-util.h (CalObjInstance): Added uid field.

	* cal-util.c (cal_obj_instance_list_free): Free the UIDs.

	* cal-backend.c (build_event_list): Store the object's UID in the
	instance structure.

	* cal.c (Cal_get_events_in_range): Copy the UID field to the CORBA
	structure.

	* cal-client.c (cal_client_get_events_in_range): Copy the UID
	field from the CORBA structure.

	* main.c (gnome_cal_file_menu): Removed unfinished html-month stuff.

	* Makefile.am (gnomecal_SOURCES): Removed html-month.c.

	* gnome-cal.c: #include "alarm.h"
	(mail_notify): Made static.

	* alarm.h: #include "calobj.h"

	* corba-cal-factory.h (init_corba_server): Fixed prototype.

	* quick-view.c (create_items_for_event): Made static.

	* gncal-todo.c (column_resized): Made static.

	* layout.c (find_index): Made static.

svn path=/trunk/; revision=1699
2000-02-09 08:04:33 +00:00

275 lines
5.4 KiB
Makefile

SUBDIRS = doc
idldir = $(datadir)/idl
idl_DATA = \
GnomeCal.idl \
evolution-calendar.idl
gnorbadir = $(sysconfdir)/CORBA/servers
gnorba_DATA = \
gnomecal.gnorba \
tlacuache.gnorba
help_base = $(datadir)/gnome/help/cal
if HAVE_GNOME_PILOT
extra_pilot_bins = \
calendar-conduit-control-applet \
calendar-pilot-sync
endif
bin_PROGRAMS = gnomecal tlacuache $(extra_pilot_bins)
INCLUDES = \
-I$(includedir) \
$(GNOME_INCLUDEDIR) \
$(GNOME_CONDUIT_INCLUDEDIR) \
$(PISOCK_INCLUDEDIR) \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
GNOMECAL_CORBA_GENERATED = \
GnomeCal.h \
GnomeCal.c \
GnomeCal-common.c \
GnomeCal-skels.c \
GnomeCal-stubs.c
$(GNOMECAL_CORBA_GENERATED): GnomeCal.idl
orbit-idl $(srcdir)/GnomeCal.idl
corba-cal.c \
corba-cal.h \
corba-cal-factory.c \
corba-cal-factory.h: GnomeCal.h
GNOME_CALENDAR_CORBA_GENERATED = \
evolution-calendar.h \
evolution-calendar-common.c \
evolution-calendar-skels.c \
evolution-calendar-stubs.c
$(GNOME_CALENDAR_CORBA_GENERATED): evolution-calendar.idl
orbit-idl -I`$(GNOME_CONFIG) --datadir`/idl $(srcdir)/evolution-calendar.idl
gnomecal_SOURCES = \
$(GNOME_CALENDAR_CORBA_GENERATED) \
GnomeCal-common.c \
GnomeCal-skels.c \
GnomeCal.h \
alarm.c \
alarm.h \
cal-client.c \
cal-client.h \
cal-listener.c \
cal-listener.h \
cal-util.c \
cal-util.h \
calendar.c \
calendar.h \
calendar-conduit.h \
calobj.c \
calobj.h \
eventedit.c \
eventedit.h \
corba-cal.c \
corba-cal.h \
corba-cal-factory.c \
corba-cal-factory.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 \
main.c \
main.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 \
timeutil.c \
timeutil.h \
todo-conduit.h \
view-utils.h \
view-utils.c \
year-view.c \
year-view.h
calendar_pilot_sync_SOURCES = \
GnomeCal-common.c \
GnomeCal-stubs.c \
alarm.c \
calendar-pilot-sync.c \
calobj.c \
calobj.h \
calendar.c \
calendar.h \
timeutil.c \
timeutil.h
tlacuache_SOURCES = \
$(GNOME_CALENDAR_CORBA_GENERATED) \
alarm.c \
alarm.h \
cal.c \
cal.h \
cal-backend.c \
cal-backend.h \
cal-common.h \
cal-factory.c \
cal-factory.h \
cal-util.c \
cal-util.h \
calobj.c \
calobj.h \
job.c \
job.h \
timeutil.c \
timeutil.h \
tlacuache.c
LINK_FLAGS = \
$(BONOBO_VFS_GNOME_LIBS) \
$(INTLLIBS) \
../libversit/libversit.la
tlacuache_INCLUDES = \
$(INCLUDES) \
-DG_LOG_DOMAIN=\"tlacuache\"
tlacuache_LDADD = \
$(BONOBO_VFS_GNOME_LIBS) \
../libversit/libversit.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.c \
calobj.c \
alarm.c \
calendar.c \
timeutil.c
calendar-conduit.c: my_gnomecal_idl
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 \
calendar-conduit-control-applet.desktop \
bell.xpm \
recur.xpm \
$(idl_DATA) \
$(gnorba_DATA) \
gnome-calendar-conduit.png
# todo-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)