aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/.cvsignore4
-rw-r--r--calendar/cal-util/Makefile.am21
-rw-r--r--calendar/cal-util/alarm-enums.h18
-rw-r--r--calendar/cal-util/cal-util.h2
-rw-r--r--calendar/cal-util/icalendar.h2
5 files changed, 16 insertions, 31 deletions
diff --git a/calendar/cal-util/.cvsignore b/calendar/cal-util/.cvsignore
index cd15c2b075..db4c89d448 100644
--- a/calendar/cal-util/.cvsignore
+++ b/calendar/cal-util/.cvsignore
@@ -2,5 +2,5 @@
Makefile.in
Makefile
.deps
-libcalutil.la
-*.lo \ No newline at end of file
+libcal-util.la
+*.lo
diff --git a/calendar/cal-util/Makefile.am b/calendar/cal-util/Makefile.am
index 8a866efd49..248e5373e5 100644
--- a/calendar/cal-util/Makefile.am
+++ b/calendar/cal-util/Makefile.am
@@ -1,21 +1,24 @@
-
INCLUDES = \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
- -DG_LOG_DOMAIN=\"cal-client\" \
+ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DG_LOG_DOMAIN=\"cal-util\" \
-I$(srcdir) -I$(top_srcdir) \
+ -I$(srcdir)/calendar \
-I. \
-I.. \
-I$(top_builddir) \
-I$(includedir) \
$(GNOME_INCLUDEDIR)
-lib_LTLIBRARIES = libcalutil.la
+lib_LTLIBRARIES = libcal-util.la
-libcalutil_la_SOURCES = \
+libcal_util_la_SOURCES = \
cal-util.c \
- cal-util.h \
calobj.c \
- calobj.h \
- timeutil.c \
- timeutil.h
+ timeutil.c
+libcal_utilincludedir = $(includedir)/evolution/cal-util
+
+libcal_utilinclude_HEADERS = \
+ cal-util.h \
+ calobj.h \
+ timeutil.h
diff --git a/calendar/cal-util/alarm-enums.h b/calendar/cal-util/alarm-enums.h
deleted file mode 100644
index e35b471a09..0000000000
--- a/calendar/cal-util/alarm-enums.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef ALARM_ENUMS_H_INCLUDED
-#define ALARM_ENUMS_H_INCLUDED
-
-
-enum AlarmType {
- ALARM_MAIL,
- ALARM_PROGRAM,
- ALARM_DISPLAY,
- ALARM_AUDIO
-};
-
-enum AlarmUnit {
- ALARM_MINUTES,
- ALARM_HOURS,
- ALARM_DAYS
-};
-
-#endif /* ALARM_ENUMS_H_INCLUDED */
diff --git a/calendar/cal-util/cal-util.h b/calendar/cal-util/cal-util.h
index 6adb7104a5..7821ce8ca4 100644
--- a/calendar/cal-util/cal-util.h
+++ b/calendar/cal-util/cal-util.h
@@ -25,7 +25,7 @@
#include <libgnome/gnome-defs.h>
#include <time.h>
#include <glib.h>
-#include "calobj.h"
+#include <cal-util/calobj.h>
BEGIN_GNOME_DECLS
diff --git a/calendar/cal-util/icalendar.h b/calendar/cal-util/icalendar.h
index 09bfa06fad..2a22fbab71 100644
--- a/calendar/cal-util/icalendar.h
+++ b/calendar/cal-util/icalendar.h
@@ -2,7 +2,7 @@
#define ICALENDAR_H
#include <ical.h>
-#include "calobj.h"
+#include <cal-util/calobj.h>