Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ################################################################################
  2. #
  3. # Copyright (c) 2015 Minoca Corp.
  4. #
  5. # This file is licensed under the terms of the GNU General Public License
  6. # version 3. Alternative licensing terms are available. Contact
  7. # info@minocacorp.com for details. See the LICENSE file at the root of this
  8. # project for complete licensing information.
  9. #
  10. # Module Name:
  11. #
  12. # Crypt Library
  13. #
  14. # Abstract:
  15. #
  16. # This module contains the crypt library, which contains the C library
  17. # functions like crypt, encrypt, fcrypt, and setkey.
  18. #
  19. # Author:
  20. #
  21. # Evan Green 6-Mar-2015
  22. #
  23. # Environment:
  24. #
  25. # User Mode C Library
  26. #
  27. ################################################################################
  28. BINARY = libcrypt.so.1
  29. BINARYTYPE = so
  30. BINPLACE = bin
  31. INCLUDES += $(SRCROOT)/os/apps/libc/include;
  32. OBJS = crypt.o \
  33. DYNLIBS = $(BINROOT)/libc.so.1 \
  34. EXTRA_LDFLAGS += -nostdlib
  35. include $(SRCROOT)/os/minoca.mk
  36. postbuild:
  37. @mkdir -p $(BINROOT)/skel/lib
  38. @cp -p $(BINROOT)/$(BINARY) $(BINROOT)/skel/lib