Update target libs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@3506 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1998-12-30 20:45:42 +00:00
parent e1f0335193
commit f2e93d77c3
2 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Wed Dec 30 15:08:14 1998 Adam Fedor <fedor@doc.com>
* target.make (TARGET_SYSTEM_LIBS): Add FreeBSD specific libs. Use
$(objc_threaded) when adding thread lib to Solaris.
Mon Dec 21 11:04:45 1998 Matthias Klose <doko@cs.tu-berlin.de>
* common.make: New macros MAJOR_VERSION (0), MINOR_VERSION (5),

View file

@ -45,12 +45,12 @@ ifeq ($(GNUSTEP_TARGET_OS),linux-gnu)
endif
endif
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
ifeq ("$(objc_threaded)","-lthread")
ifeq ("$(objc_threaded)","")
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lsocket -lnsl -ldl -lm
else
INTERNAL_CFLAGS = -D_REENTRANT
INTERNAL_OBJCFLAGS = -D_REENTRANT
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lthread -lsocket -lnsl -ldl -lm
else
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lsocket -lnsl -ldl -lm
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) $(objc_threaded) -lsocket -lnsl -ldl -lm
endif
endif
ifeq ($(findstring irix, $(GNUSTEP_TARGET_OS)), irix)
@ -68,6 +68,9 @@ endif
ifeq ($(findstring freebsd3.0, $(GNUSTEP_TARGET_OS)), freebsd3.0)
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lm
endif
ifeq ($(findstring netbsd, $(GNUSTEP_TARGET_OS)), netbsd)
TARGET_SYSTEM_LIBS := $(CONFIG_SYSTEM_LIBS) -lm
endif
#
# Specific settings for building shared libraries, static libraries,