diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-10-10 05:02:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-10-10 05:02:30 +0800 |
commit | 9f20d8032c2544a78de0f1f0a3f6de7d14e84256 (patch) | |
tree | 9a95e76ff99d279133fac5aba4e8b920c1532b77 /libical/src/libicalss | |
parent | 18407a6beb9cce3a4e79eefd39acd83795501dfa (diff) | |
download | gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.gz gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.bz2 gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.lz gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.xz gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.zst gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.zip |
Fixed INCLUDES and don't autogenerate ical.h, no need to. Plus it caused
2003-10-09 Jeffrey Stedfast <fejj@ximian.com>
* src/libical/Makefile.am: Fixed INCLUDES and don't autogenerate
ical.h, no need to. Plus it caused problems anyways.
* src/libical/*.[c,h]: Fixed the #includes
* src/libicalss/Makefile.am: Fixed INCLUDES and don't autogenerate
icalss.h, no need to. Plus it caused problems anyways.
* src/libicalss/*.[c,h]: Fixed the #includes
* tests/*.c: #include <libical/ical.h> rather
than "ical.h"
* tests/Makefile.am: Fixed INCLUDES
* examples/*.c: #include <libical/ical.h> rather
than "ical.h"
* examples/Makefile.am: Fixed INCLUDES
* src/libicalvcal/icalvcal.h: #include <libical/ical.h> which is
no longer autogenerated.
* src/libicalvcal/icalvcal.c (icalvcal_convert_with_defaults): Use
the proper macro names from config.h
svn path=/trunk/; revision=22844
Diffstat (limited to 'libical/src/libicalss')
33 files changed, 69 insertions, 77 deletions
diff --git a/libical/src/libicalss/Makefile.am b/libical/src/libicalss/Makefile.am index 359b1f029a..c714e8ca5a 100644 --- a/libical/src/libicalss/Makefile.am +++ b/libical/src/libicalss/Makefile.am @@ -2,7 +2,7 @@ # FILE: Makefile.am # CREATOR: eric # -# $Id: Makefile.am,v 1.20 2003/09/22 07:32:31 hansp Exp $ +# $Id: Makefile.am,v 1.21 2003/10/09 21:02:25 fejj Exp $ # # # (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org @@ -27,8 +27,6 @@ AM_YFLAGS =-d -v -p ss AM_LFLAGS = -Pss LEX_OUTPUT_ROOT = lex.ss -all: icalss.h - # just to get it built $(srcdir)/icalgauge.c: icalssyacc.h $(srcdir)/icalsslexer.c: icalssyacc.h @@ -58,9 +56,6 @@ privlib_LTLIBRARIES = libicalss-evolution.la $(cxx_lib) INCLUDES = \ -I$(top_srcdir)/src \ - -I$(top_builddir)/src \ - -I$(top_srcdir)/src/libical \ - -I$(top_builddir)/libical \ $(BDB_INCLUDE) libicalss_evolution_la_LDFLAGS = -version-info 0:0:0 @@ -113,32 +108,12 @@ COMBINEDHEADERS = \ $(srcdir)/icalspanlist.h \ $(srcdir)/icalmessage.h - -icalss.h: $(COMBINEDHEADERS) - echo '#ifdef __cplusplus' > icalss.h - echo 'extern "C" {' >> icalss.h - echo '#endif' >> icalss.h - echo '/*' >> icalss.h - echo ' $$''Id''$$' >> icalss.h - echo '*/' >> icalss.h - cat $(COMBINEDHEADERS) \ - | egrep -v "#include.*\"ical" \ - | egrep -v "#include.*\"pvl\.h\"" \ - | egrep -v '\$$(Id|Locker): .+\$$'>> icalss.h - echo '#ifdef __cplusplus' >> icalss.h - echo '};' >> icalss.h - echo '#endif' >> icalss.h - - if WITH_CXX_BINDINGS libicalss_evolution_cxx_la_SOURCES = \ $(libicalss_evolution_la_SOURCES) \ icalspanlist_cxx.h \ icalspanlist_cxx.cpp -# c++ needs ical.h auto-generated. -icalspanlist_cxx.lo: icalss.h - endif diff --git a/libical/src/libicalss/icalbdbset.h b/libical/src/libicalss/icalbdbset.h index c5c835fae3..4c278bea31 100644 --- a/libical/src/libicalss/icalbdbset.h +++ b/libical/src/libicalss/icalbdbset.h @@ -11,9 +11,9 @@ #ifndef ICALBDBSET_H #define ICALBDBSET_H -#include "ical.h" -#include "icalset.h" -#include "icalgauge.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> +#include <libicalss/icalgauge.h> #include <db.h> typedef struct icalbdbset_impl icalbdbset; diff --git a/libical/src/libicalss/icalbdbset_cxx.h b/libical/src/libicalss/icalbdbset_cxx.h index 678adaa299..a80e195139 100644 --- a/libical/src/libicalss/icalbdbset_cxx.h +++ b/libical/src/libicalss/icalbdbset_cxx.h @@ -10,8 +10,8 @@ extern "C" { -#include "ical.h" -#include "icalgauge.h" +#include <libical/ical.h> +#include <libicalss/icalgauge.h> } #include "vcomponent.h" diff --git a/libical/src/libicalss/icalbdbsetimpl.h b/libical/src/libicalss/icalbdbsetimpl.h index 281a4834d4..9cde41b36b 100644 --- a/libical/src/libicalss/icalbdbsetimpl.h +++ b/libical/src/libicalss/icalbdbsetimpl.h @@ -15,7 +15,7 @@ #include "config.h" #endif -#include "icalgauge.h" +#include <libicalss/icalgauge.h> #include <db.h> /* This definition is in its own file so it can be kept out of the diff --git a/libical/src/libicalss/icalcalendar.h b/libical/src/libicalss/icalcalendar.h index 2a0c15196a..62abdfa7c0 100644 --- a/libical/src/libicalss/icalcalendar.h +++ b/libical/src/libicalss/icalcalendar.h @@ -29,8 +29,8 @@ #ifndef ICALCALENDAR_H #define ICALCALENDAR_H -#include "ical.h" -#include "icalset.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> /* icalcalendar * Routines for storing calendar data in a file system. The calendar diff --git a/libical/src/libicalss/icalclassify.c b/libical/src/libicalss/icalclassify.c index 61ddbd3a76..e67287bc1b 100644 --- a/libical/src/libicalss/icalclassify.c +++ b/libical/src/libicalss/icalclassify.c @@ -26,9 +26,9 @@ #include "config.h" #endif -#include "ical.h" +#include <libical/ical.h> #include "icalclassify.h" -#include "icalmemory.h" +#include <libical/icalmemory.h> #include <ctype.h> /* For tolower() */ #include <string.h> /* for index() */ diff --git a/libical/src/libicalss/icalclassify.h b/libical/src/libicalss/icalclassify.h index aceabc0a20..19021e8dd2 100644 --- a/libical/src/libicalss/icalclassify.h +++ b/libical/src/libicalss/icalclassify.h @@ -26,8 +26,8 @@ #ifndef ICALCLASSIFY_H #define ICALCLASSIFY_H -#include "ical.h" -#include "icalset.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> icalproperty_xlicclass icalclassify(icalcomponent* c,icalcomponent* match, const char* user); diff --git a/libical/src/libicalss/icalcluster.h b/libical/src/libicalss/icalcluster.h index f4eb041b04..e13bb0425c 100644 --- a/libical/src/libicalss/icalcluster.h +++ b/libical/src/libicalss/icalcluster.h @@ -29,8 +29,8 @@ #ifndef ICALCLUSTER_H #define ICALCLUSTER_H -#include "ical.h" -#include "icalset.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> typedef struct icalcluster_impl icalcluster; diff --git a/libical/src/libicalss/icalcomponent.h b/libical/src/libicalss/icalcomponent.h index 9e0e9f5a9f..38025813e1 100644 --- a/libical/src/libicalss/icalcomponent.h +++ b/libical/src/libicalss/icalcomponent.h @@ -25,9 +25,9 @@ #ifndef ICALCOMPONENT_H #define ICALCOMPONENT_H -#include "icalproperty.h" -#include "icalvalue.h" -#include "icalenums.h" /* defines icalcomponent_kind */ +#include <libicalss/icalproperty.h> +#include <libicalss/icalvalue.h> +#include <libicalss/icalenums.h> /* defines icalcomponent_kind */ typedef void icalcomponent; diff --git a/libical/src/libicalss/icalcsdb.h b/libical/src/libicalss/icalcsdb.h index 4619b94fd0..109d6fa73a 100644 --- a/libical/src/libicalss/icalcsdb.h +++ b/libical/src/libicalss/icalcsdb.h @@ -26,7 +26,7 @@ #ifndef ICALCSDB_H #define ICALCSDB_H -#include "ical.h" +#include <libical/ical.h> typedef void icalcsdb; diff --git a/libical/src/libicalss/icalcstp.c b/libical/src/libicalss/icalcstp.c index 3b212b424a..d1a52fe303 100644 --- a/libical/src/libicalss/icalcstp.c +++ b/libical/src/libicalss/icalcstp.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include "ical.h" +#include <libical/ical.h> #include "icalcstp.h" #include "pvl.h" diff --git a/libical/src/libicalss/icalcstp.h b/libical/src/libicalss/icalcstp.h index dfc361830e..a42f7fd244 100644 --- a/libical/src/libicalss/icalcstp.h +++ b/libical/src/libicalss/icalcstp.h @@ -27,7 +27,7 @@ #ifndef ICALCSTP_H #define ICALCSTP_H -#include "ical.h" +#include <libical/ical.h> /* Connection state, from the state machine in RFC2445 */ diff --git a/libical/src/libicalss/icalcstpclient.c b/libical/src/libicalss/icalcstpclient.c index d53d53f568..2d819c27c1 100644 --- a/libical/src/libicalss/icalcstpclient.c +++ b/libical/src/libicalss/icalcstpclient.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include "ical.h" +#include <libical/ical.h> #include "icalcstp.h" #include "icalcstpclient.h" #include "pvl.h" diff --git a/libical/src/libicalss/icalcstpclient.h b/libical/src/libicalss/icalcstpclient.h index 8d9d0c904c..b18f54f594 100644 --- a/libical/src/libicalss/icalcstpclient.h +++ b/libical/src/libicalss/icalcstpclient.h @@ -27,8 +27,8 @@ #ifndef ICALCSTPC_H #define ICALCSTPC_H -#include "ical.h" -#include "icalcstp.h" +#include <libical/ical.h> +#include <libicalss/icalcstp.h> /********************** Client (Sender) Interfaces **************************/ diff --git a/libical/src/libicalss/icalcstpserver.c b/libical/src/libicalss/icalcstpserver.c index 1a6ed7b976..1685caab3d 100644 --- a/libical/src/libicalss/icalcstpserver.c +++ b/libical/src/libicalss/icalcstpserver.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include "ical.h" +#include <libical/ical.h> #include "icalcstp.h" #include "icalcstpserver.h" #include "pvl.h" diff --git a/libical/src/libicalss/icalcstpserver.h b/libical/src/libicalss/icalcstpserver.h index 6fa2254b2e..c8f0aa0ba1 100644 --- a/libical/src/libicalss/icalcstpserver.h +++ b/libical/src/libicalss/icalcstpserver.h @@ -27,7 +27,7 @@ #ifndef ICALCSTPS_H #define ICALCSTPS_H -#include "ical.h" +#include <libical/ical.h> /********************** Server (Reciever) Interfaces *************************/ diff --git a/libical/src/libicalss/icaldirset.c b/libical/src/libicalss/icaldirset.c index 4a20fe1978..7e495f9eae 100644 --- a/libical/src/libicalss/icaldirset.c +++ b/libical/src/libicalss/icaldirset.c @@ -57,7 +57,7 @@ #endif -#include "ical.h" +#include <libical/ical.h> #include "icaldirset.h" #include "icaldirset.h" #include "icalfileset.h" diff --git a/libical/src/libicalss/icaldirset.h b/libical/src/libicalss/icaldirset.h index a2d577dc34..3a90af2ffa 100644 --- a/libical/src/libicalss/icaldirset.h +++ b/libical/src/libicalss/icaldirset.h @@ -29,10 +29,10 @@ #ifndef ICALDIRSET_H #define ICALDIRSET_H -#include "ical.h" -#include "icalset.h" -#include "icalcluster.h" -#include "icalgauge.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> +#include <libicalss/icalcluster.h> +#include <libicalss/icalgauge.h> /* icaldirset Routines for storing, fetching, and searching for ical * objects in a database */ diff --git a/libical/src/libicalss/icaldirsetimpl.h b/libical/src/libicalss/icaldirsetimpl.h index 332a369b02..442f0ea8f3 100644 --- a/libical/src/libicalss/icaldirsetimpl.h +++ b/libical/src/libicalss/icaldirsetimpl.h @@ -30,7 +30,7 @@ #include "config.h" #endif -#include "icalcluster.h" +#include <libicalss/icalcluster.h> /* This definition is in its own file so it can be kept out of the main header file, but used by "friend classes" like icalset*/ diff --git a/libical/src/libicalss/icalfileset.h b/libical/src/libicalss/icalfileset.h index 1a42307525..a24574b7a9 100644 --- a/libical/src/libicalss/icalfileset.h +++ b/libical/src/libicalss/icalfileset.h @@ -29,10 +29,10 @@ #ifndef ICALFILESET_H #define ICALFILESET_H -#include "ical.h" -#include "icalset.h" -#include "icalcluster.h" -#include "icalgauge.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> +#include <libicalss/icalcluster.h> +#include <libicalss/icalgauge.h> #include <sys/types.h> /* For open() flags and mode */ #include <sys/stat.h> /* For open() flags and mode */ #include <fcntl.h> /* For open() flags and mode */ diff --git a/libical/src/libicalss/icalfilesetimpl.h b/libical/src/libicalss/icalfilesetimpl.h index fe39604225..6f7cf00c1a 100644 --- a/libical/src/libicalss/icalfilesetimpl.h +++ b/libical/src/libicalss/icalfilesetimpl.h @@ -32,7 +32,7 @@ #include "config.h" #endif -#include "icalgauge.h" +#include <libicalss/icalgauge.h> /* This definition is in its own file so it can be kept out of the main header file, but used by "friend classes" like icaldirset*/ diff --git a/libical/src/libicalss/icalgauge.c b/libical/src/libicalss/icalgauge.c index a181053d21..a4b97a9f1d 100644 --- a/libical/src/libicalss/icalgauge.c +++ b/libical/src/libicalss/icalgauge.c @@ -26,7 +26,7 @@ ======================================================================*/ -#include "ical.h" +#include <libical/ical.h> #include "icalgauge.h" #include "icalgaugeimpl.h" #include <stdlib.h> diff --git a/libical/src/libicalss/icalgaugeimpl.h b/libical/src/libicalss/icalgaugeimpl.h index e56b1c01c1..4bf13524c4 100644 --- a/libical/src/libicalss/icalgaugeimpl.h +++ b/libical/src/libicalss/icalgaugeimpl.h @@ -22,7 +22,7 @@ ======================================================================*/ -#include "ical.h" +#include <libical/ical.h> typedef enum icalgaugecompare { ICALGAUGECOMPARE_EQUAL=ICAL_XLICCOMPARETYPE_EQUAL, diff --git a/libical/src/libicalss/icalmessage.c b/libical/src/libicalss/icalmessage.c index 731a2c7cfc..7a64ac5de1 100644 --- a/libical/src/libicalss/icalmessage.c +++ b/libical/src/libicalss/icalmessage.c @@ -27,7 +27,7 @@ #endif #include "icalmessage.h" -#include "icalenums.h" +#include <libical/icalenums.h> #include <ctype.h> /* for tolower()*/ #include <string.h> /* for strstr */ #include <stdlib.h> /* for free(), malloc() */ diff --git a/libical/src/libicalss/icalmessage.h b/libical/src/libicalss/icalmessage.h index 24f1c9f243..102e467f32 100644 --- a/libical/src/libicalss/icalmessage.h +++ b/libical/src/libicalss/icalmessage.h @@ -23,7 +23,7 @@ =========================================================================*/ -#include "ical.h" +#include <libical/ical.h> #ifndef ICALMESSAGE_H #define ICALMESSAGE_H diff --git a/libical/src/libicalss/icalset.c b/libical/src/libicalss/icalset.c index 0ad22696f7..682a404a1e 100644 --- a/libical/src/libicalss/icalset.c +++ b/libical/src/libicalss/icalset.c @@ -34,7 +34,7 @@ ======================================================================*/ -#include "ical.h" +#include <libical/ical.h> #include "icalset.h" #include "icalfileset.h" #include "icalfilesetimpl.h" diff --git a/libical/src/libicalss/icalset.h b/libical/src/libicalss/icalset.h index 4008c6216f..dd550e2690 100644 --- a/libical/src/libicalss/icalset.h +++ b/libical/src/libicalss/icalset.h @@ -40,8 +40,8 @@ #define ICALSET_H #include <limits.h> /* For PATH_MAX */ -#include "ical.h" -#include "icalgauge.h" +#include <libical/ical.h> +#include <libicalss/icalgauge.h> #ifdef PATH_MAX #define ICAL_PATH_MAX PATH_MAX diff --git a/libical/src/libicalss/icalspanlist.c b/libical/src/libicalss/icalspanlist.c index f42ff41ed8..6c366fa5ba 100644 --- a/libical/src/libicalss/icalspanlist.c +++ b/libical/src/libicalss/icalspanlist.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include "ical.h" +#include <libical/ical.h> #include "icalspanlist.h" #include <stdlib.h> /* for free and malloc */ diff --git a/libical/src/libicalss/icalspanlist.h b/libical/src/libicalss/icalspanlist.h index 91f0acb8c1..084cb9afeb 100644 --- a/libical/src/libicalss/icalspanlist.h +++ b/libical/src/libicalss/icalspanlist.h @@ -25,8 +25,8 @@ #ifndef ICALSPANLIST_H #define ICALSPANLIST_H -#include "ical.h" -#include "icalset.h" +#include <libical/ical.h> +#include <libicalss/icalset.h> /** @file icalspanlist.h * @brief Code that supports collections of free/busy spans of time diff --git a/libical/src/libicalss/icalspanlist_cxx.h b/libical/src/libicalss/icalspanlist_cxx.h index fce901c3db..cf81f13003 100644 --- a/libical/src/libicalss/icalspanlist_cxx.h +++ b/libical/src/libicalss/icalspanlist_cxx.h @@ -15,8 +15,8 @@ #ifndef ICALSPANLIST_CXX_H #define ICALSPANLIST_CXX_H -#include "ical.h" -#include "icalss.h" +#include <libical/ical.h> +#include <libicalss/icalss.h> #include "vcomponent.h" #include <vector> /* For as_matrix.. */ diff --git a/libical/src/libicalss/icalss.h b/libical/src/libicalss/icalss.h new file mode 100644 index 0000000000..f2e543a260 --- /dev/null +++ b/libical/src/libicalss/icalss.h @@ -0,0 +1,17 @@ +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#include <libicalss/icalgauge.h> +#include <libicalss/icalcluster.h> +#include <libicalss/icalfileset.h> +#include <libicalss/icaldirset.h> +#include <libicalss/icalcalendar.h> +#include <libicalss/icalclassify.h> +#include <libicalss/icalspanlist.h> +#include <libicalss/icalmessage.h> + +#ifdef __cplusplus +} +#endif /* __cplusplus */ diff --git a/libical/src/libicalss/icalssutil.h b/libical/src/libicalss/icalssutil.h index 3890da6a11..22be0202b1 100644 --- a/libical/src/libicalss/icalssutil.h +++ b/libical/src/libicalss/icalssutil.h @@ -23,5 +23,5 @@ =========================================================================*/ -#include "ical.h" +#include <libical/ical.h> diff --git a/libical/src/libicalss/icalssyacc.c b/libical/src/libicalss/icalssyacc.c index c2dcc47a24..8e27cd75ed 100644 --- a/libical/src/libicalss/icalssyacc.c +++ b/libical/src/libicalss/icalssyacc.c @@ -63,8 +63,8 @@ #include <stdlib.h> #include <string.h> /* for strdup() */ #include <limits.h> /* for SHRT_MAX*/ -#include "ical.h" -#include "icalgauge.h" +#include <libical/ical.h> +#include <libicalss/icalgauge.h> #include "icalgaugeimpl.h" extern struct icalgauge_impl *icalss_yy_gauge; |