From b5a2e47cb53aa92be37b469d3d9d625ea8477416 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 7 Aug 2009 09:02:32 +0530 Subject: Allow calendar to be written as a external app and split the huge .so to a share private lib and component lib. --- calendar/gui/Makefile.am | 58 ++++++++++++++++++++++++++++++++-------- calendar/gui/dialogs/Makefile.am | 30 ++++++++++++++++++++- 2 files changed, 76 insertions(+), 12 deletions(-) (limited to 'calendar') diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am index 981393f55c..c5672c2461 100644 --- a/calendar/gui/Makefile.am +++ b/calendar/gui/Makefile.am @@ -4,12 +4,53 @@ endif SUBDIRS = alarm-notify dialogs +privsolib_LTLIBRARIES = libevolution-calendar.la + ecalendarincludedir = $(privincludedir)/calendar/gui ecalendarinclude_HEADERS = \ e-cal-config.h \ e-cal-popup.h \ - itip-utils.h + itip-utils.h \ + e-attachment-handler-calendar.h \ + calendar-config.h \ + calendar-config-keys.h \ + comp-util.h \ + e-alarm-list.h \ + e-cal-config.h \ + e-cal-event.h \ + e-cal-model-calendar.h \ + e-cal-model.h \ + e-cal-popup.h \ + e-calendar-view.h \ + e-cell-date-edit-text.h \ + e-comp-editor-registry.h \ + e-date-time-list.h \ + e-day-view-layout.h \ + e-day-view-main-item.h \ + e-day-view-time-item.h \ + e-day-view-top-item.h \ + e-day-view.h \ + e-meeting-attendee.h \ + e-meeting-list-view.h \ + e-meeting-store.h \ + e-meeting-time-sel.h \ + e-meeting-time-sel-item.h \ + e-meeting-types.h \ + e-meeting-utils.h \ + e-select-names-editable.h \ + e-select-names-renderer.h \ + e-week-view-event-item.h \ + e-week-view-layout.h \ + e-week-view-main-item.h \ + e-week-view-titles-item.h \ + e-week-view.h \ + e-timezone-entry.h \ + goto.h \ + itip-utils.h \ + misc.h \ + tag-calendar.h \ + weekday-picker.h search_files = tasktypes.xml memotypes.xml caltypes.xml @@ -44,9 +85,7 @@ etspec_DATA = \ e-cal-list-view.etspec \ e-memo-table.etspec -noinst_LTLIBRARIES = libcal-gui.la - -libcal_gui_la_SOURCES = \ +libevolution_calendar_la_SOURCES = \ e-attachment-handler-calendar.c \ e-attachment-handler-calendar.h \ e-calendar-view.c \ @@ -72,11 +111,8 @@ libcal_gui_la_SOURCES = \ e-cal-event.h \ e-cal-menu.c \ e-cal-menu.h \ - e-cal-model-calendar.h \ e-cal-model-calendar.c \ e-cal-model-calendar.h \ - e-cal-model-tasks.c \ - e-cal-model-tasks.h \ e-cal-model.c \ e-cal-model.h \ e-cal-popup.h \ @@ -85,6 +121,8 @@ libcal_gui_la_SOURCES = \ e-cal-list-view.h \ e-cal-model-memos.c \ e-cal-model-memos.h \ + e-cal-model-tasks.c \ + e-cal-model-tasks.h \ e-calendar-selector.c \ e-calendar-selector.h \ e-cell-date-edit-text.h \ @@ -103,8 +141,6 @@ libcal_gui_la_SOURCES = \ e-day-view-top-item.h \ e-day-view.c \ e-day-view.h \ - e-itip-control.h \ - e-itip-control.c \ e-meeting-attendee.c \ e-meeting-attendee.h \ e-meeting-list-view.c \ @@ -181,7 +217,7 @@ libcal_gui_la_SOURCES = \ ea-gnome-calendar.c \ ea-gnome-calendar.h -libcal_gui_la_LIBADD = \ +libevolution_calendar_la_LIBADD = \ $(top_builddir)/composer/libcomposer.la \ $(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.la \ $(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.la \ @@ -199,7 +235,7 @@ libcal_gui_la_LIBADD = \ $(CAMEL_LIBS) \ $(EVOLUTION_CALENDAR_LIBS) -libcal_gui_la_LDFLAGS = -avoid-version -module $(NO_UNDEFINED) +libevolution_calendar_la_LDFLAGS = $(NO_UNDEFINED) @INTLTOOL_SERVER_RULE@ diff --git a/calendar/gui/dialogs/Makefile.am b/calendar/gui/dialogs/Makefile.am index a9c752701d..87d640a6b2 100644 --- a/calendar/gui/dialogs/Makefile.am +++ b/calendar/gui/dialogs/Makefile.am @@ -17,7 +17,35 @@ ecalendarincludedir = $(privincludedir)/calendar/gui/dialogs ecalendarinclude_HEADERS = \ comp-editor-page.h \ - comp-editor.h + comp-editor.h \ + alarm-dialog.h \ + alarm-list-dialog.h \ + cal-attachment-select-file.h \ + cal-prefs-dialog.h \ + calendar-setup.h \ + cancel-comp.h \ + changed-comp.h \ + comp-editor.h \ + comp-editor-page.h \ + comp-editor-util.h \ + copy-source-dialog.h \ + delete-comp.h \ + delete-error.h \ + e-delegate-dialog.h \ + e-send-options-utils.h \ + event-editor.h \ + event-page.h \ + memo-editor.h \ + memo-page.h \ + recurrence-page.h \ + recur-comp.h \ + save-comp.h \ + schedule-page.h \ + select-source-dialog.h \ + send-comp.h \ + task-editor.h \ + task-details-page.h \ + task-page.h noinst_LTLIBRARIES = libcal-dialogs.la -- cgit v1.2.3