From 3eb7dc98a4d4bea03a0372d1831a744a5f1a1d2c Mon Sep 17 00:00:00 2001 From: helge Date: Mon, 29 Aug 2005 18:22:50 +0000 Subject: [PATCH] added PCH support for frameworks git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1096 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/GNUmakefile | 9 +++++---- sope-appserver/NGXmlRpc/GNUmakefile | 1 + sope-appserver/SoOFS/GNUmakefile | 1 + sope-appserver/WOXML/GNUmakefile | 1 + sope-core/EOControl/GNUmakefile | 1 + sope-core/EOCoreData/GNUmakefile | 1 + sope-core/NGExtensions/GNUmakefile | 7 ++++--- sope-core/NGStreams/GNUmakefile | 5 +++-- sope-gdl1/GDLAccess/GNUmakefile | 1 + sope-gdl1/GDLContentStore/GNUmakefile | 1 + sope-ical/NGiCal/GNUmakefile | 1 + sope-ldap/NGLdap/GNUmakefile | 1 + sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m | 1 + sope-xml/DOM/GNUmakefile | 1 + sope-xml/SaxObjC/GNUmakefile | 1 + sope-xml/XmlRpc/GNUmakefile | 1 + sopex/SOPEX/GNUmakefile | 2 ++ 17 files changed, 27 insertions(+), 9 deletions(-) diff --git a/sope-appserver/NGObjWeb/GNUmakefile b/sope-appserver/NGObjWeb/GNUmakefile index 9e8aab30..e6659feb 100644 --- a/sope-appserver/NGObjWeb/GNUmakefile +++ b/sope-appserver/NGObjWeb/GNUmakefile @@ -154,11 +154,12 @@ endif # framework support +NGObjWeb_PCH_FILE = $(libNGObjWeb_PCH_FILE) NGObjWeb_HEADER_FILES_DIR = NGObjWeb -NGObjWeb_HEADER_FILES = $(libNGObjWeb_HEADER_FILES) -NGObjWeb_OBJC_FILES = $(libNGObjWeb_OBJC_FILES) -NGObjWeb_SUBPROJECTS = $(libNGObjWeb_SUBPROJECTS) -NGObjWeb_RESOURCE_FILES = $(libNGObjWeb_RESOURCES) +NGObjWeb_HEADER_FILES = $(libNGObjWeb_HEADER_FILES) +NGObjWeb_OBJC_FILES = $(libNGObjWeb_OBJC_FILES) +NGObjWeb_SUBPROJECTS = $(libNGObjWeb_SUBPROJECTS) +NGObjWeb_RESOURCE_FILES = $(libNGObjWeb_RESOURCES) # ----- SoCore product for SOPE core registrations diff --git a/sope-appserver/NGXmlRpc/GNUmakefile b/sope-appserver/NGXmlRpc/GNUmakefile index 82382a00..ab85856f 100644 --- a/sope-appserver/NGXmlRpc/GNUmakefile +++ b/sope-appserver/NGXmlRpc/GNUmakefile @@ -57,6 +57,7 @@ libNGXmlRpc_OBJC_FILES = \ # framework support +NGXmlRpc_PCH_FILE = $(libNGXmlRpc_PCH_FILE) NGXmlRpc_HEADER_FILES = $(libNGXmlRpc_HEADER_FILES) NGXmlRpc_OBJC_FILES = $(libNGXmlRpc_OBJC_FILES) diff --git a/sope-appserver/SoOFS/GNUmakefile b/sope-appserver/SoOFS/GNUmakefile index 65750aa6..55cab90e 100644 --- a/sope-appserver/SoOFS/GNUmakefile +++ b/sope-appserver/SoOFS/GNUmakefile @@ -63,6 +63,7 @@ libSoOFS_OBJC_FILES = \ ifeq ($(frameworks),yes) # framework support +SoOFS_PCH_FILE = $(libSoOFS_PCH_FILE) SoOFS_HEADER_FILES = $(libSoOFS_HEADER_FILES) SoOFS_OBJC_FILES = $(libSoOFS_OBJC_FILES) SoOFSProduct.m SoOFS_RESOURCE_FILES = product.plist Version diff --git a/sope-appserver/WOXML/GNUmakefile b/sope-appserver/WOXML/GNUmakefile index 0bf2fc54..d1a34d26 100644 --- a/sope-appserver/WOXML/GNUmakefile +++ b/sope-appserver/WOXML/GNUmakefile @@ -33,6 +33,7 @@ libWOXML_OBJC_FILES += \ # framework support +WOXML_PCH_FILE = $(libWOXML_PCH_FILE) WOXML_HEADER_FILES = $(libWOXML_HEADER_FILES) WOXML_OBJC_FILES = $(libWOXML_OBJC_FILES) WOXML_SUBPROJECTS = $(libWOXML_SUBPROJECTS) diff --git a/sope-core/EOControl/GNUmakefile b/sope-core/EOControl/GNUmakefile index 4369b3f6..0f55dd0f 100644 --- a/sope-core/EOControl/GNUmakefile +++ b/sope-core/EOControl/GNUmakefile @@ -65,6 +65,7 @@ libEOControl_OBJC_FILES = \ NSObject+QualDesc.m \ # framework support +EOControl_PCH_FILE = $(libEOControl_PCH_FILE) EOControl_HEADER_FILES = $(libEOControl_HEADER_FILES) EOControl_OBJC_FILES = $(libEOControl_OBJC_FILES) diff --git a/sope-core/EOCoreData/GNUmakefile b/sope-core/EOCoreData/GNUmakefile index cb2dd770..5901b0d3 100644 --- a/sope-core/EOCoreData/GNUmakefile +++ b/sope-core/EOCoreData/GNUmakefile @@ -59,6 +59,7 @@ libEOCoreData_OBJC_FILES += \ NSString+CoreData.m # framework support +EOCoreData_PCH_FILE = $(libEOCoreData_PCH_FILE) EOCoreData_HEADER_FILES = $(libEOCoreData_HEADER_FILES) EOCoreData_OBJC_FILES = $(libEOCoreData_OBJC_FILES) diff --git a/sope-core/NGExtensions/GNUmakefile b/sope-core/NGExtensions/GNUmakefile index 4001556f..09fadc98 100644 --- a/sope-core/NGExtensions/GNUmakefile +++ b/sope-core/NGExtensions/GNUmakefile @@ -147,10 +147,11 @@ libNGExtensions_HEADER_FILES += \ # framework support +NGExtensions_PCH_FILE = $(libNGExtensions_PCH_FILE) NGExtensions_HEADER_FILES_DIR = NGExtensions -NGExtensions_HEADER_FILES = $(libNGExtensions_HEADER_FILES) -NGExtensions_OBJC_FILES = $(libNGExtensions_OBJC_FILES) -NGExtensions_SUBPROJECTS = $(libNGExtensions_SUBPROJECTS) +NGExtensions_HEADER_FILES = $(libNGExtensions_HEADER_FILES) +NGExtensions_OBJC_FILES = $(libNGExtensions_OBJC_FILES) +NGExtensions_SUBPROJECTS = $(libNGExtensions_SUBPROJECTS) # building diff --git a/sope-core/NGStreams/GNUmakefile b/sope-core/NGStreams/GNUmakefile index 907fab0e..e1aa9ea9 100644 --- a/sope-core/NGStreams/GNUmakefile +++ b/sope-core/NGStreams/GNUmakefile @@ -97,9 +97,10 @@ libNGStreams_OBJC_FILES = \ NGGZipStream.m \ # framework support +NGStreams_PCH_FILE = $(libNGStreams_PCH_FILE) NGStreams_HEADER_FILES_DIR = $(libNGStreams_HEADER_FILES_DIR) -NGStreams_HEADER_FILES = $(libNGStreams_HEADER_FILES) -NGStreams_OBJC_FILES = $(libNGStreams_OBJC_FILES) +NGStreams_HEADER_FILES = $(libNGStreams_HEADER_FILES) +NGStreams_OBJC_FILES = $(libNGStreams_OBJC_FILES) # building diff --git a/sope-gdl1/GDLAccess/GNUmakefile b/sope-gdl1/GDLAccess/GNUmakefile index ef9c1fa0..62b88e08 100644 --- a/sope-gdl1/GDLAccess/GNUmakefile +++ b/sope-gdl1/GDLAccess/GNUmakefile @@ -127,6 +127,7 @@ connect-EOAdaptor_PCH_FILE = common.h # framework support +GDLAccess_PCH_FILE = $(libGDLAccess_PCH_FILE) GDLAccess_HEADER_FILES = $(libGDLAccess_HEADER_FILES) GDLAccess_OBJC_FILES = $(libGDLAccess_OBJC_FILES) GDLAccess_SUBPROJECTS = $(libGDLAccess_SUBPROJECTS) diff --git a/sope-gdl1/GDLContentStore/GNUmakefile b/sope-gdl1/GDLContentStore/GNUmakefile index fb3d6526..10e63890 100644 --- a/sope-gdl1/GDLContentStore/GNUmakefile +++ b/sope-gdl1/GDLContentStore/GNUmakefile @@ -59,6 +59,7 @@ gcs_recreatequick_OBJC_FILES += gcs_recreatequick.m # framework support +GDLContentStore_PCH_FILE = $(libGDLContentStore_PCH_FILE) GDLContentStore_HEADER_FILES = $(libGDLContentStore_HEADER_FILES) GDLContentStore_OBJC_FILES = $(libGDLContentStore_OBJC_FILES) GDLContentStore_SUBPROJECTS = $(libGDLContentStore_SUBPROJECTS) diff --git a/sope-ical/NGiCal/GNUmakefile b/sope-ical/NGiCal/GNUmakefile index c4eeeb21..4a3fba5b 100644 --- a/sope-ical/NGiCal/GNUmakefile +++ b/sope-ical/NGiCal/GNUmakefile @@ -94,6 +94,7 @@ libNGiCal_OBJC_FILES = \ # framework support +NGiCal_PCH_FILE = $(libNGiCal_PCH_FILE) NGiCal_HEADER_FILES = $(libNGiCal_HEADER_FILES) NGiCal_OBJC_FILES = $(libNGiCal_OBJC_FILES) NGiCal_SUBPROJECTS = $(libNGiCal_SUBPROJECTS) diff --git a/sope-ldap/NGLdap/GNUmakefile b/sope-ldap/NGLdap/GNUmakefile index 73a1bb9c..24b16485 100644 --- a/sope-ldap/NGLdap/GNUmakefile +++ b/sope-ldap/NGLdap/GNUmakefile @@ -53,6 +53,7 @@ libNGLdap_OBJC_FILES = \ # framework support +NGLdap_PCH_FILE = $(libNGLdap_PCH_FILE) NGLdap_HEADER_FILES = $(libNGLdap_HEADER_FILES) NGLdap_OBJC_FILES = $(libNGLdap_OBJC_FILES) diff --git a/sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m b/sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m index 87becd90..bc9ace18 100644 --- a/sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m +++ b/sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m @@ -55,6 +55,7 @@ static int UseLFSeperatedAddressEntries = -1; - (NSData *)generateDataForHeaderFieldNamed:(NSString *)_headerField value:(id)_value { + // TODO: produces a reference to NGMailAddressParser which is in NGMail! NGMailAddressParser *parser; NSMutableString *result; NSData *data; diff --git a/sope-xml/DOM/GNUmakefile b/sope-xml/DOM/GNUmakefile index d1aa43a7..f019124d 100644 --- a/sope-xml/DOM/GNUmakefile +++ b/sope-xml/DOM/GNUmakefile @@ -10,6 +10,7 @@ FRAMEWORK_NAME = DOM endif libDOM_PCH_FILE = common.h +DOM_PCH_FILE = common.h LDOM_HEADER_FILES += \ DOM.h \ diff --git a/sope-xml/SaxObjC/GNUmakefile b/sope-xml/SaxObjC/GNUmakefile index 3e0b78a6..437dbdce 100644 --- a/sope-xml/SaxObjC/GNUmakefile +++ b/sope-xml/SaxObjC/GNUmakefile @@ -10,6 +10,7 @@ FRAMEWORK_NAME = SaxObjC endif libSaxObjC_PCH_FILE = common.h +SaxObjC_PCH_FILE = common.h libSaxObjC_OBJC_FILES = \ SaxAttributeList.m \ diff --git a/sope-xml/XmlRpc/GNUmakefile b/sope-xml/XmlRpc/GNUmakefile index 611e3ae3..88b6412b 100644 --- a/sope-xml/XmlRpc/GNUmakefile +++ b/sope-xml/XmlRpc/GNUmakefile @@ -10,6 +10,7 @@ FRAMEWORK_NAME = XmlRpc endif libXmlRpc_PCH_FILE = common.h +XmlRpc_PCH_FILE = common.h libXmlRpc_HEADER_FILES = \ XmlRpc.h \ diff --git a/sopex/SOPEX/GNUmakefile b/sopex/SOPEX/GNUmakefile index ff6843e4..12bd3b18 100644 --- a/sopex/SOPEX/GNUmakefile +++ b/sopex/SOPEX/GNUmakefile @@ -6,6 +6,8 @@ include ./Version FRAMEWORK_NAME = SOPEX +SOPEX_PCH_FILE = common.h + SOPEX_HEADER_FILES += \ SOPEX.h \ SOPEXAppController.h \ -- 2.39.5