Makefile.arch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  4. # Copyright (C) 2005 Jan-Benedict Glaw <jbglaw@lug-owl.de>
  5. #
  6. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. #
  8. CSRC:=brk.c _mmap.c vfork.c
  9. SSRC:=__longjmp.S setjmp.S _setjmp.S clone.S
  10. ARCH_DIR:=$(top_srcdir)libc/sysdeps/linux/vax
  11. ARCH_OUT:=$(top_builddir)libc/sysdeps/linux/vax
  12. ARCH_CSRC:=$(patsubst %.c,$(ARCH_DIR)/%.c,$(CSRC))
  13. ARCH_COBJ:=$(patsubst %.c,$(ARCH_OUT)/%.o,$(CSRC))
  14. ARCH_SSRC:=$(patsubst %.S,$(ARCH_DIR)/%.S,$(SSRC))
  15. ARCH_SOBJ:=$(patsubst %.S,$(ARCH_OUT)/%.o,$(SSRC))
  16. ARCH_OBJS:=$(ARCH_COBJ) $(ARCH_SOBJ)
  17. crt-y:=create
  18. libc-a-y+=$(ARCH_OBJS)
  19. libc-a-pic-y+=$(ARCH_OBJS:.o=.os)
  20. libc-so-y+=$(ARCH_OBJS:.o=.os)
  21. #libc-multi-y+=$(ARCH_CSRC)
  22. libc-nomulti-y+=$(ARCH_OBJS)
  23. objclean-y+=arch_objclean
  24. arch_objclean:
  25. $(RM) $(ARCH_OUT)/*.{o,os}
  26. headers-y+=arch_headers
  27. #
  28. arch_headers:
  29. # arm has this, but we don't (yet?)...
  30. # $(LN) -fs ../libc/sysdeps/linux/vax/fpu_control.h $(top_builddir)include/
  31. #