OSDN Git Service

Update the build system, yet again. I hope this is the last time...
[uclinux-h8/uClibc.git] / ldso / Makefile
1 TOPDIR=../
2 include $(TOPDIR)Rules.mak
3
4 ALL_SUBDIRS = d-link libdl util
5
6
7 all:
8 ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
9         $(MAKE) -C $(LIBRARY_CACHE) d-link;
10 endif
11
12 shared:
13 ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
14         $(MAKE) -C $(LIBRARY_CACHE) libdl;
15 endif
16         $(MAKE) -C $(LIBRARY_CACHE) util;
17
18 clean:
19         set -e ; for d in $(ALL_SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
20         -find . -name '*~' | xargs rm -f