Makefile 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. ################################################################################
  2. #
  3. # Copyright (c) 2017 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. # Binary Name:
  11. #
  12. # santa
  13. #
  14. # Abstract:
  15. #
  16. # This executable implements the Minoca package manager.
  17. #
  18. # Author:
  19. #
  20. # Evan Green 29-Aug-2017
  21. #
  22. # Environment:
  23. #
  24. # Build
  25. #
  26. ################################################################################
  27. BINARY = santa
  28. OS ?= $(shell uname -s)
  29. ifeq ($(OS),$(filter Windows_NT cygwin,$(OS)))
  30. BINARY = santa.exe
  31. endif
  32. BUILD = yes
  33. BINPLACE = tools/bin
  34. BINARYTYPE = custom
  35. OBJS = mkbundle.ck \
  36. santa.ck \
  37. cmd/archive.ck \
  38. cmd/build.ck \
  39. cmd/config.ck \
  40. cmd/convert_archive.ck \
  41. cmd/del_realm.ck \
  42. cmd/install.ck \
  43. cmd/list_realms.ck \
  44. cmd/new_realm.ck \
  45. cmd/patch.ck \
  46. cmd/uninstall.ck \
  47. containment/chroot.ck \
  48. containment/none.ck \
  49. presentation/copy.ck \
  50. presentation/move.ck \
  51. santa/build.ck \
  52. santa/config.ck \
  53. santa/containment.ck \
  54. santa/file.ck \
  55. santa/modules.ck \
  56. santa/presentation.ck \
  57. santa/lib/archive.ck \
  58. santa/lib/build.ck \
  59. santa/lib/config.ck \
  60. santa/lib/defaultbuild.ck \
  61. santa/lib/diff.ck \
  62. santa/lib/patch.ck \
  63. santa/lib/patchman.ck \
  64. santa/lib/pkg.ck \
  65. santa/lib/pkgbuilder.ck \
  66. santa/lib/pkgdb.ck \
  67. santa/lib/pkgdepot.ck \
  68. santa/lib/pkgman.ck \
  69. santa/lib/realm.ck \
  70. santa/lib/realmmanager.ck \
  71. santa/lib/santaconfig.ck
  72. include $(SRCROOT)/os/minoca.mk
  73. BUILD_COMMAND = chalk $(SRCDIR)/mkbundle.ck $@