From 0b99a4b7448a1c5c1f053f55ef6fdae4c9457e37 Mon Sep 17 00:00:00 2001 From: helge Date: Sat, 27 Aug 2005 11:38:59 +0000 Subject: [PATCH] added PCH support git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1085 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-xml/ChangeLog | 4 ++++ sope-xml/DOM/GNUmakefile | 2 ++ sope-xml/STXSaxDriver/ChangeLog | 4 ++++ sope-xml/STXSaxDriver/ExtraSTX/COPYRIGHT | 2 +- sope-xml/STXSaxDriver/ExtraSTX/GNUmakefile | 2 ++ sope-xml/STXSaxDriver/ExtraSTX/README | 1 - sope-xml/STXSaxDriver/ExtraSTX/common.h | 1 + sope-xml/STXSaxDriver/GNUmakefile | 2 ++ sope-xml/STXSaxDriver/Model/COPYRIGHT | 1 - sope-xml/STXSaxDriver/Model/GNUmakefile | 2 ++ sope-xml/STXSaxDriver/Model/README | 1 - sope-xml/STXSaxDriver/Model/common.h | 1 + sope-xml/STXSaxDriver/Version | 2 +- sope-xml/SaxObjC/GNUmakefile | 2 ++ sope-xml/XmlRpc/GNUmakefile | 2 ++ sope-xml/common.make | 2 +- sope-xml/libxmlSAXDriver/GNUmakefile | 2 ++ sope-xml/samples/GNUmakefile.preamble | 9 +++++++++ sope-xml/samples/PlistSaxDriver/GNUmakefile | 5 +++-- sope-xml/samples/PlistSaxDriver/README | 2 -- sope-xml/samples/PlistSaxDriver/bundle-info.plist | 1 - 21 files changed, 39 insertions(+), 11 deletions(-) create mode 100644 sope-xml/STXSaxDriver/ExtraSTX/common.h create mode 100644 sope-xml/STXSaxDriver/Model/common.h diff --git a/sope-xml/ChangeLog b/sope-xml/ChangeLog index 7150bc4f..c9c02c7a 100644 --- a/sope-xml/ChangeLog +++ b/sope-xml/ChangeLog @@ -1,3 +1,7 @@ +2005-08-27 Helge Hess + + * all makefiles: add common.h as the precompiled header file + 2005-08-09 Helge Hess * all makefiles: added flags to build only frameworks on MacOSX diff --git a/sope-xml/DOM/GNUmakefile b/sope-xml/DOM/GNUmakefile index 6a9b0518..d1aa43a7 100644 --- a/sope-xml/DOM/GNUmakefile +++ b/sope-xml/DOM/GNUmakefile @@ -9,6 +9,8 @@ else FRAMEWORK_NAME = DOM endif +libDOM_PCH_FILE = common.h + LDOM_HEADER_FILES += \ DOM.h \ DOMProtocols.h \ diff --git a/sope-xml/STXSaxDriver/ChangeLog b/sope-xml/STXSaxDriver/ChangeLog index 9098db4b..24bd2f97 100644 --- a/sope-xml/STXSaxDriver/ChangeLog +++ b/sope-xml/STXSaxDriver/ChangeLog @@ -1,3 +1,7 @@ +2005-08-27 Helge Hess + + * added common.h in project subdirs for PCH support (v4.5.13) + 2005-08-16 Helge Hess * v4.5.12 diff --git a/sope-xml/STXSaxDriver/ExtraSTX/COPYRIGHT b/sope-xml/STXSaxDriver/ExtraSTX/COPYRIGHT index cee7d8ec..f3880857 100644 --- a/sope-xml/STXSaxDriver/ExtraSTX/COPYRIGHT +++ b/sope-xml/STXSaxDriver/ExtraSTX/COPYRIGHT @@ -1,4 +1,4 @@ -# $Id$ + Structured Text Code Copyright (C) 2004 eXtrapola Srl diff --git a/sope-xml/STXSaxDriver/ExtraSTX/GNUmakefile b/sope-xml/STXSaxDriver/ExtraSTX/GNUmakefile index a91adceb..6e112aaf 100644 --- a/sope-xml/STXSaxDriver/ExtraSTX/GNUmakefile +++ b/sope-xml/STXSaxDriver/ExtraSTX/GNUmakefile @@ -5,6 +5,8 @@ include $(GNUSTEP_MAKEFILES)/common.make SUBPROJECT_NAME = ExtraSTX +ExtraSTX_PCH_FILE = common.h + ExtraSTX_OBJC_FILES = \ NSString+STX.m \ StructuredLine.m \ diff --git a/sope-xml/STXSaxDriver/ExtraSTX/README b/sope-xml/STXSaxDriver/ExtraSTX/README index 96438cd2..7aa40dd3 100644 --- a/sope-xml/STXSaxDriver/ExtraSTX/README +++ b/sope-xml/STXSaxDriver/ExtraSTX/README @@ -1,4 +1,3 @@ -# $Id$ How to use ========== diff --git a/sope-xml/STXSaxDriver/ExtraSTX/common.h b/sope-xml/STXSaxDriver/ExtraSTX/common.h new file mode 100644 index 00000000..1898d06d --- /dev/null +++ b/sope-xml/STXSaxDriver/ExtraSTX/common.h @@ -0,0 +1 @@ +#include "../common.h" diff --git a/sope-xml/STXSaxDriver/GNUmakefile b/sope-xml/STXSaxDriver/GNUmakefile index 78fcf4cd..145a9f45 100644 --- a/sope-xml/STXSaxDriver/GNUmakefile +++ b/sope-xml/STXSaxDriver/GNUmakefile @@ -9,6 +9,8 @@ BUNDLE_NAME = STXSaxDriver BUNDLE_EXTENSION = .sax BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SaxDrivers-$(SOPE_MAJOR_VERSION).$(SOPE_MINOR_VERSION)/ +STXSaxDriver_PCH_FILE = common.h + STXSaxDriver_OBJC_FILES += \ STXSaxDriver.m \ StructuredTextBodyElement+SAX.m diff --git a/sope-xml/STXSaxDriver/Model/COPYRIGHT b/sope-xml/STXSaxDriver/Model/COPYRIGHT index cee7d8ec..ea307090 100644 --- a/sope-xml/STXSaxDriver/Model/COPYRIGHT +++ b/sope-xml/STXSaxDriver/Model/COPYRIGHT @@ -1,4 +1,3 @@ -# $Id$ Structured Text Code Copyright (C) 2004 eXtrapola Srl diff --git a/sope-xml/STXSaxDriver/Model/GNUmakefile b/sope-xml/STXSaxDriver/Model/GNUmakefile index edc2164e..7931c9ee 100644 --- a/sope-xml/STXSaxDriver/Model/GNUmakefile +++ b/sope-xml/STXSaxDriver/Model/GNUmakefile @@ -11,6 +11,8 @@ include $(GNUSTEP_MAKEFILES)/common.make SUBPROJECT_NAME = Model +Model_PCH_FILE = common.h + Model_OBJC_FILES = \ StructuredTextDocument.m \ StructuredTextBodyElement.m \ diff --git a/sope-xml/STXSaxDriver/Model/README b/sope-xml/STXSaxDriver/Model/README index a97aaf57..c4616c99 100644 --- a/sope-xml/STXSaxDriver/Model/README +++ b/sope-xml/STXSaxDriver/Model/README @@ -1,4 +1,3 @@ -# $Id$ Notes ===== diff --git a/sope-xml/STXSaxDriver/Model/common.h b/sope-xml/STXSaxDriver/Model/common.h new file mode 100644 index 00000000..1898d06d --- /dev/null +++ b/sope-xml/STXSaxDriver/Model/common.h @@ -0,0 +1 @@ +#include "../common.h" diff --git a/sope-xml/STXSaxDriver/Version b/sope-xml/STXSaxDriver/Version index 42dcfc3c..bb0b16a8 100644 --- a/sope-xml/STXSaxDriver/Version +++ b/sope-xml/STXSaxDriver/Version @@ -2,4 +2,4 @@ MAJOR_VERSION=4 MINOR_VERSION=5 -SUBMINOR_VERSION:=12 +SUBMINOR_VERSION:=13 diff --git a/sope-xml/SaxObjC/GNUmakefile b/sope-xml/SaxObjC/GNUmakefile index b3f04b39..3e0b78a6 100644 --- a/sope-xml/SaxObjC/GNUmakefile +++ b/sope-xml/SaxObjC/GNUmakefile @@ -9,6 +9,8 @@ else FRAMEWORK_NAME = SaxObjC endif +libSaxObjC_PCH_FILE = common.h + libSaxObjC_OBJC_FILES = \ SaxAttributeList.m \ SaxAttributes.m \ diff --git a/sope-xml/XmlRpc/GNUmakefile b/sope-xml/XmlRpc/GNUmakefile index 8698b9ef..611e3ae3 100644 --- a/sope-xml/XmlRpc/GNUmakefile +++ b/sope-xml/XmlRpc/GNUmakefile @@ -9,6 +9,8 @@ else FRAMEWORK_NAME = XmlRpc endif +libXmlRpc_PCH_FILE = common.h + libXmlRpc_HEADER_FILES = \ XmlRpc.h \ NSObject+XmlRpc.h \ diff --git a/sope-xml/common.make b/sope-xml/common.make index 66d7480e..1e804491 100644 --- a/sope-xml/common.make +++ b/sope-xml/common.make @@ -1,4 +1,4 @@ -# $Id$ +# GNUstep makefile SKYROOT=.. diff --git a/sope-xml/libxmlSAXDriver/GNUmakefile b/sope-xml/libxmlSAXDriver/GNUmakefile index 7bfa06a3..74a17282 100644 --- a/sope-xml/libxmlSAXDriver/GNUmakefile +++ b/sope-xml/libxmlSAXDriver/GNUmakefile @@ -9,6 +9,8 @@ BUNDLE_NAME = libxmlSAXDriver BUNDLE_EXTENSION = .sax BUNDLE_INSTALL_DIR = $(GNUSTEP_INSTALLATION_DIR)/Library/SaxDrivers-$(MAJOR_VERSION).$(MINOR_VERSION)/ +libxmlSAXDriver_PCH_FILE = common.h + libxmlSAXDriver_OBJC_FILES = \ libxmlSAXDriver.m \ libxmlHTMLSAXDriver.m \ diff --git a/sope-xml/samples/GNUmakefile.preamble b/sope-xml/samples/GNUmakefile.preamble index 01b9b89f..e6de2b46 100644 --- a/sope-xml/samples/GNUmakefile.preamble +++ b/sope-xml/samples/GNUmakefile.preamble @@ -1,6 +1,15 @@ # compilation settings +rss2plist1_PCH_FILE = common.h +rss2plist2_PCH_FILE = common.h +rssparse_PCH_FILE = common.h +saxxml_PCH_FILE = common.h +xmln_PCH_FILE = common.h +domxml_PCH_FILE = common.h +testqp_PCH_FILE = common.h + + ifneq ($(frameworks),yes) domxml_TOOL_LIBS += -lDOM -lSaxObjC testqp_TOOL_LIBS += -lDOM -lSaxObjC diff --git a/sope-xml/samples/PlistSaxDriver/GNUmakefile b/sope-xml/samples/PlistSaxDriver/GNUmakefile index c4a22e94..484f109a 100644 --- a/sope-xml/samples/PlistSaxDriver/GNUmakefile +++ b/sope-xml/samples/PlistSaxDriver/GNUmakefile @@ -1,5 +1,6 @@ -# $Id$ +# GNUstep Makefile +-include ../../config.make include $(GNUSTEP_MAKEFILES)/common.make BUNDLE_NAME = PlistSaxDriver @@ -7,7 +8,7 @@ BUNDLE_EXTENSION = .sax BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/Bundles PlistSaxDriver_OBJC_FILES = \ - PlistSaxDriver.m \ + PlistSaxDriver.m PlistSaxDriver_BUNDLE_LIBS += -lSaxObjC diff --git a/sope-xml/samples/PlistSaxDriver/README b/sope-xml/samples/PlistSaxDriver/README index 176f766a..527d7fc1 100644 --- a/sope-xml/samples/PlistSaxDriver/README +++ b/sope-xml/samples/PlistSaxDriver/README @@ -1,5 +1,3 @@ -# $Id$ - PlistSaxDriver ============== diff --git a/sope-xml/samples/PlistSaxDriver/bundle-info.plist b/sope-xml/samples/PlistSaxDriver/bundle-info.plist index 645d559e..871b1094 100644 --- a/sope-xml/samples/PlistSaxDriver/bundle-info.plist +++ b/sope-xml/samples/PlistSaxDriver/bundle-info.plist @@ -1,5 +1,4 @@ { - CVS = "$Id$"; //bundleHandler = NSObject; requires = { -- 2.39.5