SUBDIRS = doc idl cal-util pcs cal-client idldir = $(datadir)/idl idl_DATA = \ GnomeCal.idl idl_flags = `$(GNOME_CONFIG) --cflags idl` gnorbadir = $(sysconfdir)/CORBA/servers gnorba_DATA = \ gnomecal.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 $(extra_pilot_bins) ICAL_LINK_FLAGS = ../libical/src/libical/libical.la INCLUDES = \ -I$(includedir) \ $(BONOBO_VFS_GNOME_CFLAGS) \ $(GNOME_CONDUIT_INCLUDEDIR) \ $(PISOCK_INCLUDEDIR) \ -I$(top_srcdir) \ -I$(top_srcdir)/libical/src/libical \ -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) $(idl_flags) $(srcdir)/GnomeCal.idl corba-cal.c \ corba-cal.h \ corba-cal-factory.c \ corba-cal-factory.h: GnomeCal.h gnomecal_SOURCES = \ GnomeCal-common.c \ GnomeCal-skels.c \ GnomeCal.h \ alarm.c \ alarm.h \ calendar-conduit.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 \ todo-conduit.h \ view-utils.h \ view-utils.c \ year-view.c \ year-view.h # calendar.c \ # calendar.h \ # calobj.c \ # calobj.h \ # icalendar.c \ # icalendar.h \ # timeutil.c \ # timeutil.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 LINK_FLAGS = \ $(BONOBO_VFS_GNOME_LIBS) \ $(INTLLIBS) \ cal-util/libcalutil.la \ ../libversit/libversit.la \ $(ICAL_LINK_FLAGS) 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 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)