defs-orig.mk, rules.mk: Add support for shared libs

This commit is contained in:
Jan Lindemann 2002-05-23 15:56:17 +00:00 committed by Jan Lindemann
commit 29beda6305
2 changed files with 9 additions and 1 deletions

View file

@ -88,6 +88,7 @@ INSTALL_LIBDIR = $(PREFIX)/lib
LIB_SO = $(LIBDIR)/lib$(LIBNAME).so
LIB_A = $(LIBDIR)/lib$(LIBNAME).a
INSTALLED_LIB_SO = $(INSTALL_LIBDIR)/lib$(LIBNAME).so
MEMBERS = $(LIB_A)($(OBJ))
#PREFIX = ../# CAUTION: This breaks the installation in the project
#MEMWATCH = -DMEMWATCH -DMW_STDIO
@ -160,3 +161,7 @@ endef
define make_subdirs_target
set -e; for D in $(SUBDIRS) ; do make -C $$D $@; done
endef
LD_LIBRARY_PATH = $(LIBDIR)
export LD_LIBRARY_PATH