diff options
Diffstat (limited to 'ldso/Makefile')
-rw-r--r-- | ldso/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ldso/Makefile b/ldso/Makefile index aa37d2ea4..0337ab90a 100644 --- a/ldso/Makefile +++ b/ldso/Makefile @@ -4,15 +4,21 @@ include $(TOPDIR)Rules.mak SUBDIRS = libdl ALL_SUBDIRS = util libdl d-link + + all: +ifeq ($(strip $(HAVE_SHARED)),true) @if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \ $(MAKE) -C d-link; \ fi; +endif shared: +ifeq ($(strip $(HAVE_SHARED)),true) @if [ -d $(TOPDIR)ldso/d-link/$(TARGET_ARCH) ] ; then \ set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done \ fi; +endif clean: set -e ; for d in $(ALL_SUBDIRS) ; do $(MAKE) -C $$d $@ ; done |