diff options
author | Seth Alves <alves@src.gnome.org> | 2000-04-06 04:13:45 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-04-06 04:13:45 +0800 |
commit | ce3b224ed64f470fd5031342930f7c8f773c6eeb (patch) | |
tree | fc3d645e2378d131901f99b193cf304b394f248e /calendar/gui/Makefile.am | |
parent | 0c061c70785480f5d528722f89df2d32bf558121 (diff) | |
download | gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.gz gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.tar.zst gsoc2013-evolution-ce3b224ed64f470fd5031342930f7c8f773c6eeb.zip |
build test-calendar-widget and evolution-calendar, common stuff is in a
* gui/Makefile.am: build test-calendar-widget and evolution-calendar,
common stuff is in a library
* gui/gnome-cal.c (gnome_calendar_get_type): made the calendar widget
based on a gtk_frame rather than a gnome_app
* gui/calendar-commands.c: split out some of main.c
* gui/evolution-calendar-control.c: bonobo bung so evolution
can use the calendar widget
svn path=/trunk/; revision=2294
Diffstat (limited to 'calendar/gui/Makefile.am')
-rw-r--r-- | calendar/gui/Makefile.am | 66 |
1 files changed, 44 insertions, 22 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am index c506044f7d..6f35ed7ed2 100644 --- a/calendar/gui/Makefile.am +++ b/calendar/gui/Makefile.am @@ -1,15 +1,11 @@ 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) \ @@ -21,7 +17,20 @@ INCLUDES = \ -I$(top_srcdir)/libical/src/libical \ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" -gnomecal_SOURCES = \ + +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 \ + $(top_builddir)/libical/src/libical/libical.la \ + $(top_builddir)/calendar/cal-client/libcal-client.la + +noinst_LIBRARIES = libcalendarwidget.a + +libcalendarwidget_a_SOURCES = \ alarm.c \ alarm.h \ e-day-view-main-item.c \ @@ -66,8 +75,36 @@ gnomecal_SOURCES = \ view-utils.c \ year-view.c \ year-view.h \ - main.c \ - main.h + calendar-commands.c \ + calendar-commands.h + + +bin_PROGRAMS = evolution-calendar +noinst_PROGRAMS = test-calendar-widget +test_calendar_widget_SOURCES = main.c +test_calendar_widget_INCLUDES = \ + $(INCLUDES) \ + -DG_LOG_DOMAIN=\"test-calendar-widget\" +test_calendar_widget_LDADD = \ + libcalendarwidget.a \ + $(LINK_FLAGS) + +evolution_calendar_SOURCES = evolution-calendar-control.c + +evolution_calendar_LDADD = \ + $(EXTRA_GNOME_LIBS) \ + $(BONOBO_HTML_GNOME_LIBS) \ + $(top_builddir)/calendar/gui/libcalendarwidget.a \ + $(top_builddir)/widgets/e-minicard/libeminicard.a \ + $(top_builddir)/widgets/e-table/libetable.a \ + $(top_builddir)/widgets/e-text/libetext.a \ + $(top_builddir)/e-util/libeutil.la \ + $(LINK_FLAGS) + +evolution_calendar_LDFLAGS = `gnome-config --libs gdk_pixbuf` + +gnorbadir = $(sysconfdir)/CORBA/servers +gnorba_DATA = calendar-control.gnorba #calendar_pilot_sync_SOURCES = \ # GnomeCal-common.c \ @@ -77,15 +114,6 @@ gnomecal_SOURCES = \ # 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) \ @@ -156,12 +184,6 @@ LINK_FLAGS = \ # $(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) |