* EOInterface/Makefile.preamble,

* EOInterface/GNUmakefile,
        * EOAccess/Makefile.preamble,
        * EOAdaptors/PostgreSQLAdaptor/Makefile.preamble,
        * EOControl/Makefile.preamble,
        * common.make,
        * EOModeler/Makefile.preamble: Add gcov flags.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26286 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2008-03-12 14:04:21 +00:00
parent 2cac738da8
commit 0f3cf79e03
8 changed files with 45 additions and 14 deletions

View file

@ -1,3 +1,14 @@
2008-03-12 Matt Rice <ratmice@gmail.com>
* EOInterface/Makefile.preamble,
* EOInterface/GNUmakefile,
* EOAccess/Makefile.preamble,
* EOAdaptors/PostgreSQLAdaptor/Makefile.preamble,
* EOControl/Makefile.preamble,
* common.make,
* EOModeler/Makefile.preamble: Add gcov flags.
2008-03-11 Matt Rice <ratmice@gmail.com>
* EOAccess/EOModel.m (-addEntity:): Reword assertion message.

View file

@ -40,16 +40,16 @@
ADDITIONAL_CPPFLAGS = $(FND_DEFINE) $(RUNTIME_DEFINE) -g
# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS =
ADDITIONAL_OBJCFLAGS = $(TEST_CFLAGS)
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS =
ADDITIONAL_CFLAGS = $(TEST_CFLAGS)
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../EOControl/$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =
ADDITIONAL_LDFLAGS = $(TEST_LDFLAGS)
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS =
@ -73,6 +73,8 @@ ifneq ($(FOUNDATION_LIB),gnu)
LIBRARIES_DEPEND_UPON += -lgnustep-baseadd
endif
LIBRARIES_DEPEND_UPON += $(TEST_COVERAGE_LIBS)
ADDITIONAL_NATIVE_LIBS += EOControl
ADDITIONAL_NATIVE_LIB_DIRS+=../EOControl

View file

@ -40,10 +40,12 @@
ADDITIONAL_CPPFLAGS +=
# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS +=
ADDITIONAL_OBJCFLAGS += $(TEST_CFLAGS)
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS +=
ADDITIONAL_CFLAGS += $(TEST_CFLAGS)
ADDITIONAL_LDFLAGS += $(TEST_LDFLAGS)
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS += \
@ -57,6 +59,8 @@ ifneq ($(FOUNDATION_LIB),gnu)
LIBRARIES_DEPEND_UPON += -lgnustep-baseadd
endif
LIBRARIES_DEPEND_UPON += $(TEST_COVERAGE_LIBS)
#
# Flags dealing with installing and uninstalling
#

View file

@ -40,16 +40,16 @@
ADDITIONAL_CPPFLAGS = $(FND_DEFINE) $(RUNTIME_DEFINE) -g
# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS =
ADDITIONAL_OBJCFLAGS = $(TEST_CFLAGS)
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS =
ADDITIONAL_CFLAGS = $(TEST_CFLAGS)
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I./$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =
ADDITIONAL_LDFLAGS = $(TEST_LDFLAGS)
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS =
@ -73,6 +73,8 @@ ifneq ($(FOUNDATION_LIB),gnu)
LIBRARIES_DEPEND_UPON += -lgnustep-baseadd
endif
LIBRARIES_DEPEND_UPON += $(TEST_COVERAGE_LIBS)
ifeq ($(FOUNDATION_HAS_KVC), yes)
ADDITIONAL_OBJCFLAGS := $(ADDITIONAL_OBJCFLAGS) -DFOUNDATION_HAS_KVC=1
endif

View file

@ -96,6 +96,7 @@ EOInterface_AGSDOC_FLAGS = \
-include Makefile.preamble
-include GNUmakefile.local
-include ../GNUmakefile.local
include $(GNUSTEP_MAKEFILES)/native-library.make
# Only build the doc if doc=yes was passed on the command line

View file

@ -31,16 +31,16 @@
ADDITIONAL_CPPFLAGS = $(FND_DEFINE) $(RUNTIME_DEFINE) -g
# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS =
ADDITIONAL_OBJCFLAGS = $(TEST_CFLAGS)
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS =
ADDITIONAL_CFLAGS = $(TEST_CFLAGS)
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../EOControl/$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =
ADDITIONAL_LDFLAGS = $(TEST_LDFLAGS)
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS =
@ -64,6 +64,8 @@ ifneq ($(FOUNDATION_LIB),gnu)
LIBRARIES_DEPEND_UPON += -lgnustep-baseadd
endif
LIBRARIES_DEPEND_UPON += $(TEST_COVERAGE_LIBS)
ADDITIONAL_NATIVE_LIB_DIRS += ../EOControl ../EOAccess
ADDITIONAL_NATIVE_LIBS += EOControl EOAccess

View file

@ -39,16 +39,16 @@
ADDITIONAL_CPPFLAGS = $(FND_DEFINE) $(RUNTIME_DEFINE)
# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS =
ADDITIONAL_OBJCFLAGS = $(TEST_CFLAGS)
# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS =
ADDITIONAL_CFLAGS = $(TEST_CFLAGS)
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../EOControl/$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =
ADDITIONAL_LDFLAGS = $(TEST_LDFLAGS)
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS=
@ -72,6 +72,8 @@ ifneq ($(FOUNDATION_LIB),gnu)
LIBRARIES_DEPEND_UPON += -lgnustep-baseadd
endif
LIBRARIES_DEPEND_UPON += $(TEST_COVERAGE_LIBS)
ADDITIONAL_NATIVE_LIB_DIRS += ../EOAccess ../EOControl
ADDITIONAL_NATIVE_LIBS += EOControl EOAccess

View file

@ -6,3 +6,10 @@ GDL2_AGSDOC_FLAGS = \
GDL2ACCESS_EXPORT = extern; \
GDL2INTERFACE_EXPORT = extern; \
}'
ifeq ($(gcov),yes)
TEST_CFLAGS +=-ftest-coverage -fprofile-arcs
TEST_LDFLAGS +=-ftest-coverage -fprofile-arcs -lgcov
TEST_COVERAGE_LIBS+=-lgcov
endif