* EOControl/Makefile.postamble: Remove obsolete dependency and

target.  Add dependancy and targets for target specific
        config.h file.
        * EOAccess/Makefile.preamble: Add include option for target
        specific config.h file.
        * EOAdaptors/Postgres95/Makefile.preamble.in: Ditto.
        * EOModeler/Makefile.preamble: Ditto.
        * Tools/Makefile.preamble: Ditto.
        * EOAccess/Makefile.postamble: Comment empty target.

        * EOControl/EODebug.m (EOFLogC_): Log thread in a portable
        fashion.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@18628 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-02-19 13:45:07 +00:00
parent 0ca04f4fc4
commit b25a3800a1
8 changed files with 37 additions and 23 deletions

View file

@ -1,3 +1,18 @@
2003-02-19 David Ayers <d.ayers@inode.at>
* EOControl/Makefile.postamble: Remove obsolete dependency and
target. Add dependancy and targets for target specific config.h
file.
* EOAccess/Makefile.preamble: Add include option for target
specific config.h file.
* EOAdaptors/Postgres95/Makefile.preamble.in: Ditto.
* EOModeler/Makefile.preamble: Ditto.
* Tools/Makefile.preamble: Ditto.
* EOAccess/Makefile.postamble: Comment empty target.
* EOControl/EODebug.m (EOFLogC_): Log thread in a portable
fashion.
2003-02-14 Matt Rice <ratmice@yahoo.com>
* EOAdaptors/Postgres95/Postgres95Channel.m

View file

@ -33,7 +33,7 @@
#
# Things to do before compiling
before-all::
# before-all::
# Things to do after compiling
# after-all::

View file

@ -45,7 +45,7 @@ ADDITIONAL_OBJCFLAGS =
ADDITIONAL_CFLAGS =
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I..
ADDITIONAL_INCLUDE_DIRS = -I../EOControl/$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =

View file

@ -45,7 +45,10 @@ ADDITIONAL_OBJCFLAGS =
ADDITIONAL_CFLAGS =
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I../.. @POSTGRES_INCLUDES@
ADDITIONAL_INCLUDE_DIRS = \
-I../../EOControl/$(GNUSTEP_TARGET_DIR) \
-I../.. \
@POSTGRES_INCLUDES@
# Libraries linked to the framework
LIBRARIES_DEPEND_UPON = @POSTGRES_LIBS@

View file

@ -62,18 +62,9 @@ void EOFLogC_(const char *file, int line, const char *string)
if ([NSThread isMultiThreaded])
{
NSThread *t = [NSThread currentThread];
fprintf(stderr,"TID=");
#if 0
if (t && t->_thread_id)
fprintf(stderr,"%p [%ld] (%d) ",(void*)t->_thread_id,(long)t->_thread_id,(int)getpid());
else
#endif
{
void *tid = (void*)objc_thread_id();
fprintf(stderr, "%p [%ld] (%d) ", tid, (long)tid, (int)getpid());
}
fprintf(stderr, "%s PID=(%d) ",
[[GSCurrentThread() description] cString],
(int)getpid());
}
fprintf(stderr, "File %s: %d. ", file, line);
@ -82,7 +73,9 @@ void EOFLogC_(const char *file, int line, const char *string)
len = strlen(string);
if (len <= 0 || string[len-1] != '\n')
fprintf(stderr, "\n");
{
fprintf(stderr, "\n");
}
fflush(stderr);
}

View file

@ -33,7 +33,7 @@
#
# Things to do before compiling
before-all:: $(GNUSTEP_OBJ_DIR)/exceptions
before-all:: $(GNUSTEP_TARGET_DIR)/config.h
# Things to do after compiling
# after-all::
@ -60,7 +60,8 @@ before-all:: $(GNUSTEP_OBJ_DIR)/exceptions
# before-distclean::
# Things to do after distcleaning
# after-distclean::
after-distclean::
rm -f $(GNUSTEP_TARGET_DIR)/config.h
# Things to do before checking
# before-check::
@ -68,7 +69,9 @@ before-all:: $(GNUSTEP_OBJ_DIR)/exceptions
# Things to do after checking
# after-check:
$(GNUSTEP_OBJ_DIR)/exceptions:
$(MKDIRS) $@
$(GNUSTEP_OBJ_DIR)/EOModel$(OEXT): EOKeyValueCoding.m EOCustomValues.m
$(GNUSTEP_TARGET_DIR)/config.h: ../config.status
$(MKDIRS) $(GNUSTEP_TARGET_DIR)
-mv ../config.h $(GNUSTEP_TARGET_DIR)
-touch $(GNUSTEP_TARGET_DIR)/config.h

View file

@ -45,7 +45,7 @@ ADDITIONAL_OBJCFLAGS =
ADDITIONAL_CFLAGS =
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I..
ADDITIONAL_INCLUDE_DIRS = -I../EOControl/$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS =

View file

@ -45,7 +45,7 @@ ADDITIONAL_OBJCFLAGS += -Wall
ADDITIONAL_CFLAGS =
# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS = -I..
ADDITIONAL_INCLUDE_DIRS = -I../EOControl/$(GNUSTEP_TARGET_DIR) -I..
# Additional LDFLAGS to pass to the linker
ifneq ($(FOUNDATION_LIB),gnu)