+2005-08-30 Helge Hess <helge.hess@skyrix.com>
+
+ * do not use PCH warning flags with older compilers (v4.5.235)
+
2005-08-27 Helge Hess <helge.hess@opengroupware.org>
* added some PCH support (v4.5.234)
-DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
-DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION} \
-ADDITIONAL_CPPFLAGS += -Wall -Winvalid-pch
+ADDITIONAL_CPPFLAGS += -Wall
+ifeq ($(PRECOMPILED_HEADERS),yes)
+ADDITIONAL_CPPFLAGS += -Winvalid-pch
+endif
libNGMime_INCLUDE_DIRS += \
-I$(SOPE_ROOT) \
SOPE_ROOT=../..
-ADDITIONAL_CPPFLAGS += -Wall -Winvalid-pch
+ADDITIONAL_CPPFLAGS += -Wall
+ifeq ($(PRECOMPILED_HEADERS),yes)
+ADDITIONAL_CPPFLAGS += -Winvalid-pch
+endif
NGImap4_INCLUDE_DIRS += \
-I.. -I$(SOPE_ROOT) \
SOPE_ROOT=../..
-ADDITIONAL_CPPFLAGS += -Wall -Winvalid-pch
+ADDITIONAL_CPPFLAGS += -Wall
+ifeq ($(PRECOMPILED_HEADERS),yes)
+ADDITIONAL_CPPFLAGS += -Winvalid-pch
+endif
NGMail_INCLUDE_DIRS += \
-I.. -I$(SOPE_ROOT) \
# compilation settings
-ADDITIONAL_CPPFLAGS += -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
- -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
- -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION} \
+ADDITIONAL_CPPFLAGS += \
+ -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
+ -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
+ -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION} \
NGMime_INCLUDE_DIRS += \
-I.. -I../.. \
-I../../sope-core/NGStreams/ \
-I../../sope-core/NGExtensions/ \
-I../../sope-core
-
-ADDITIONAL_CPPFLAGS += \
- -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
- -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
- -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION}
MAJOR_VERSION:=4
MINOR_VERSION:=5
-SUBMINOR_VERSION:=234
+SUBMINOR_VERSION:=235
# v4.5.214 requires libNGExtensions v4.5.146
# v4.2.149 requires libNGStreams v4.2.34