Makefile.in 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. SHELL = @SHELL@
  2. top_srcdir = @top_srcdir@
  3. srcdir = @srcdir@
  4. VPATH = @srcdir@
  5. @SET_MAKE@
  6. #include $(top_srcdir)/build/build.mk
  7. .PHONY: default clean distclean normal debug general buildcheck notice notice_debug build units libelf libelf_notice bdlib
  8. default: normal
  9. clean:
  10. -+@cd bdlib && $(MAKE) clean
  11. -+@test -f libelf/Makefile && cd libelf && $(MAKE) clean
  12. @rm -f *.a
  13. distclean: clean
  14. -+@cd bdlib && $(MAKE) distclean
  15. -+@test -f libelf/Makefile && cd libelf && $(MAKE) distclean
  16. notice:
  17. @echo "[*] Making libraries"
  18. notice_debug:
  19. @echo "[*] Making libraries (debug)"
  20. normal: general notice build
  21. debug: general notice_debug build.debug
  22. general:
  23. libelf_notice:
  24. @echo "[*] Building libelf"
  25. $(top_srcdir)/lib/libelf/lib/libelf.a: libelf_notice
  26. +@cd libelf/lib && $(MAKE) libelf.a
  27. libelf: @LIBELF_BUNDLED@
  28. $(top_srcdir)/lib/bdlib/libbdlib.a:
  29. +@cd bdlib && $(MAKE)
  30. bdlib: $(top_srcdir)/lib/bdlib/libbdlib.a
  31. build: $(top_srcdir)/lib/bdlib/libbdlib.a @LIBELF_BUNDLED@
  32. build.debug: $(top_srcdir)/lib/bdlib/libbdlib.a @LIBELF_BUNDLED@
  33. buildcheck: build
  34. units:
  35. # +@cd bdlib/tests && $(MAKE) units