aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/Makefile.am
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>1999-09-08 21:06:07 +0800
committerEskil Heyn Olsen <eskil@src.gnome.org>1999-09-08 21:06:07 +0800
commit8550ca3f28108f315db18a0edc508f6e682b66fd (patch)
treedc34b88b0922da48c1acb8f19eb2f17d3c7846ad /calendar/gui/Makefile.am
parent4a3be146661da5d5267af57482ba0a22656166f5 (diff)
downloadgsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.tar
gsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.tar.gz
gsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.tar.bz2
gsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.tar.lz
gsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.tar.xz
gsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.tar.zst
gsoc2013-evolution-8550ca3f28108f315db18a0edc508f6e682b66fd.zip
uses GNOME_PILOT_CHECK
* configure.in: uses GNOME_PILOT_CHECK * gncal/GnomeCal.idl: added a get_objects() call, which returns all the objects in the calendar. * gncal/Makefile.am: added two conduits with control-applets. Compiled only if configure sets HAVE_GNOME_PILOT * gncal/calender-conduit.[ch]: began implementing conduit. * gncal/todo-conduit.[ch]: begin implementing conduit. * gncal/corba-cal.c: implemented the get_objects() call. svn path=/trunk/; revision=1216
Diffstat (limited to 'calendar/gui/Makefile.am')
-rw-r--r--calendar/gui/Makefile.am77
1 files changed, 62 insertions, 15 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 5d2aba31b3..c7794b7e85 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -8,6 +8,11 @@ gnorba_DATA = gnomecal.gnorba
help_base = $(datadir)/gnome/help/cal
+if HAVE_GNOME_PILOT
+EXTRA_PROGRAMS = todo-conduit-control-applet calendar-conduit-control-applet
+endif
+bin_PROGRAMS = gnomecal
+
INCLUDES = \
-I$(includedir) \
$(GNOME_INCLUDEDIR) \
@@ -15,9 +20,6 @@ INCLUDES = \
$(PISOCK_INCLUDEDIR) \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
-bin_PROGRAMS = gnomecal @CALSYNC@
-EXTRA_PROGRAMS = calendar-pilot-sync
-
GNOMECAL_CORBA_GENERATED = \
GnomeCal.h \
GnomeCal.c \
@@ -101,8 +103,6 @@ calendar_pilot_sync_SOURCES = \
timeutil.c \
timeutil.h
-
-
LINK_FLAGS = \
$(GNOME_LIBDIR) \
$(GNOMEGNORBA_LIBS) \
@@ -113,38 +113,84 @@ calendar_pilot_sync_LDADD = \
$(LINK_FLAGS)
+if HAVE_GNOME_PILOT
#calendar_conduit
calendar_conduitsdir=$(libdir)/gnome-pilot/conduits
-calendar_conduits_LTLIBRARIES = @CALCONDUITLIB@
+calendar_conduits_LTLIBRARIES = libcalendar_conduit.la
-EXTRA_LTLIBRARIES = libcalendar_conduit.la
+libcalendar_conduit_la_SOURCES = \
+ calendar-conduit.c
libcalendar_conduit_la_LDFLAGS = \
-rpath $(libdir)
libcalendar_conduit_la_LIBADD = \
- $(GNOME_CONDUIT_LIBS) \
+ $(PISOCK_LIBS) \
$(GNOME_LIBDIR) \
$(GNOME_LIBS)
-libcalendar_conduit_la_SOURCES = \
- calendar-conduit.c
+calendar_conduit_control_applet_SOURCES = \
+ calendar-conduit-control-applet.c
+
+calendar_conduit_control_applet_LDADD = \
+ $(CAPPLET_LIBS) \
+ $(GNOME_LIBDIR) \
+ $(GNOME_CAPPLET_LIBS) \
+ $(PISOCK_LIBS) \
+ $(GNOMEUI_LIBS) \
+ $(PISOCK_LIBS) \
+ $(GNOME_PILOT_LIBS) \
+ $(INTLLIBS)
+
+#todo_conduit
+todo_conduitsdir=$(libdir)/gnome-pilot/conduits
-#libcalendar_conduit_la_OBJECTS = \
-# calendar-conduit.o
+todo_conduits_LTLIBRARIES = libtodo_conduit.la
-#gncal_LDADD = $(LINK_FLAGS)
+libtodo_conduit_la_LDFLAGS = \
+ -rpath $(libdir)
+
+libtodo_conduit_la_LIBADD = \
+ $(GNOME_LIBDIR) \
+ $(GNOME_LIBS)
+
+libtodo_conduit_la_SOURCES = \
+ todo-conduit.c
+
+todo_conduit_control_applet_SOURCES = \
+ todo-conduit-control-applet.c
+
+todo_conduit_control_applet_LDADD = \
+ $(CAPPLET_LIBS) \
+ $(GNOME_LIBDIR) \
+ $(GNOME_CAPPLET_LIBS) \
+ $(PISOCK_LIBS) \
+ $(GNOMEUI_LIBS) \
+ $(PISOCK_LIBS) \
+ $(GNOME_PILOT_LIBS) \
+ $(INTLLIBS)
+endif # HAVE_GNOME_PILOT
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
+endif
+
EXTRA_DIST = \
gncal.desktop \
bell.xpm \
recur.xpm \
$(idl_DATA) \
- $(gnorba_DATA)
-
+ $(gnorba_DATA) \
Productivitydir = $(datadir)/gnome/apps/Applications
@@ -152,3 +198,4 @@ Productivity_DATA = gncal.desktop
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(help_base)/C
+ $(mkinstalldirs) $(Conduitsdir)