mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Correct settings for building on solaris.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2443 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
df9e186eda
commit
be3e223bfe
2 changed files with 14 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Sep 24 17:54:41 1997 Scott Christley <scottc@speedy.net-community.com>
|
||||
|
||||
* target.make: Correct settings for solaris.
|
||||
|
||||
Wed Sep 24 14:00:03 1997 Scott Christley <scottc@net-community.com>
|
||||
|
||||
* Makefile.in: Run scripts in current directory.
|
||||
|
|
13
target.make
13
target.make
|
@ -59,7 +59,7 @@ include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/clean.make
|
|||
#
|
||||
# Host and target specific settings
|
||||
#
|
||||
ifeq ($(GNUSTEP_TARGET_OS),solaris2)
|
||||
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
|
||||
X_INCLUDES := $(X_INCLUDES)/X11
|
||||
endif
|
||||
|
||||
|
@ -69,6 +69,9 @@ endif
|
|||
ifeq ($(GNUSTEP_TARGET_OS),linux-gnu)
|
||||
TARGET_SYSTEM_LIBS := -lpcthread -ldl -lm
|
||||
endif
|
||||
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
|
||||
TARGET_SYSTEM_LIBS := -lsocket -lnsl -ldl -lm
|
||||
endif
|
||||
|
||||
#
|
||||
# Specific settings for building shared libraries
|
||||
|
@ -117,8 +120,12 @@ endif
|
|||
ifeq ($(findstring solaris, $(GNUSTEP_TARGET_OS)), solaris)
|
||||
HAVE_SHARED_LIBS = yes
|
||||
SHARED_LIB_LINK_CMD = \
|
||||
$(CC) -G -o $@ $^
|
||||
$(CC) -G -o $(SHARED_LIBRARY_FILE) $^ ;\
|
||||
mv $(SHARED_LIBRARY_FILE) $(GNUSTEP_OBJ_DIR) ;\
|
||||
(cd $(GNUSTEP_OBJ_DIR); \
|
||||
rm -f $(SHARED_LIBRARY_NAME); \
|
||||
$(LN_S) $(SHARED_LIBRARY_FILE) $(SHARED_LIBRARY_NAME))
|
||||
|
||||
SHARED_CFLAGS += -fpic -fPIC
|
||||
SHARE_LIBEXT = .so
|
||||
SHARED_LIBEXT = .so
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue