Makefile 434 B

1234567891011121314151617181920
  1. TOPDIR=../
  2. include $(TOPDIR)Rules.mak
  3. include Config.mk
  4. SUBDIRS = util d-link # man
  5. TARGETDIR=/usr/$(TARGET_ARCH)-linux-uclibc
  6. all:
  7. set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done
  8. install: all
  9. mkdir -p $(TARGETDIR)/etc
  10. cp -a ./d-link/ld-linux-uclibc.so.1 ./d-link/libdl/libdl.so.1 $(TARGETDIR)/lib
  11. ./util/ldconfig
  12. clean:
  13. set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
  14. -find . -name '*~' | xargs rm -f