Makefile.in 677 B

1234567891011121314151617181920212223242526
  1. # Makefile for busybox
  2. #
  3. # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
  4. #
  5. # Licensed under the GPL v2, see the file LICENSE in this tarball.
  6. APPLETS_AR:=applets.a
  7. ifndef $(APPLETS_DIR)
  8. APPLETS_DIR:=$(top_builddir)/applets/
  9. endif
  10. srcdir=$(top_srcdir)/applets
  11. APPLET_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c)
  12. APPLET_OBJ:= $(patsubst $(srcdir)/%.c,$(APPLETS_DIR)%.o, $(APPLET_SRC))
  13. APPLET_SRC-y+=$(APPLET_SRC)
  14. APPLET_SRC-a+=$(APPLET_SRC)
  15. libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
  16. $(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
  17. $(do_ar)
  18. $(APPLET_OBJ): $(top_builddir)/.config
  19. $(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
  20. $(compile.c)