Output libraries in the current directory.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@2480 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1997-10-05 06:28:05 +00:00
parent 56e406490a
commit 8c29ca3f10
3 changed files with 15 additions and 6 deletions

View file

@ -1,3 +1,11 @@
Sat Oct 4 23:08:01 1997 Ovidiu Predescu <ovidiu@net-community.com>
* target.make: Set the extension of shared libraries under OS 4.x to be
.a because the compiler/linker does not handle other extensions.
* library.make: Output the library in the current directory to be able
to solve problems with different library paths under systems with
shared libraries.
Fri Oct 3 14:48:15 1997 Ovidiu Predescu <ovidiu@net-community.com>
* Support the host install program if any.

View file

@ -49,10 +49,10 @@ endif
#
# Compilation targets
#
internal-all:: $(GNUSTEP_OBJ_DIR) $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) \
internal-all:: $(GNUSTEP_OBJ_DIR) $(VERSION_LIBRARY_FILE) \
import-library
$(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE): $(C_OBJ_FILES) $(OBJC_OBJ_FILES)
$(VERSION_LIBRARY_FILE): $(C_OBJ_FILES) $(OBJC_OBJ_FILES)
$(LIB_LINK_CMD)
import-library::
@ -83,9 +83,8 @@ internal-install-libs:: internal-install-lib \
internal-install-import-lib
internal-install-lib::
if [ -f $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) ]; then \
$(INSTALL_PROGRAM) $(GNUSTEP_OBJ_DIR)/$(VERSION_LIBRARY_FILE) \
$(GNUSTEP_LIBRARIES) ; \
if [ -f $(VERSION_LIBRARY_FILE) ]; then \
$(INSTALL_PROGRAM) $(VERSION_LIBRARY_FILE) $(GNUSTEP_LIBRARIES) ; \
$(AFTER_INSTALL_LIBRARY_CMD) \
fi

View file

@ -123,7 +123,9 @@ LDFLAGS += -Wl,-read_only_relocs,suppress
AFTER_INSTALL_STATIC_LIB_COMMAND =
SHARED_CFLAGS += -dynamic
SHARED_LIBEXT = .so
SHARED_LIBEXT = .a
TARGET_SYSTEM_LIBS += -lgcc
HAVE_BUNDLES = yes
BUNDLE_CFLAGS =