| 1 | ## Copyright (C) 2009,2016,2018,2020,2022 Matthew Fluet. |
| 2 | # Copyright (C) 1999-2006 Henry Cejtin, Matthew Fluet, Suresh |
| 3 | # Jagannathan, and Stephen Weeks. |
| 4 | # Copyright (C) 1997-2000 NEC Research Institute. |
| 5 | # |
| 6 | # MLton is released under a HPND-style license. |
| 7 | # See the file MLton-LICENSE for details. |
| 8 | ## |
| 9 | |
| 10 | ROOT := ../.. |
| 11 | include $(ROOT)/Makefile.config |
| 12 | |
| 13 | ###################################################################### |
| 14 | |
| 15 | all: ckit/README.mlton |
| 16 | |
| 17 | ckit/README.mlton: ckit.tgz ckit.patch |
| 18 | $(RM) ckit |
| 19 | $(GZIP) -dc ckit.tgz | $(TAR) xf - |
| 20 | $(FIND) ckit -name '._*' -prune -exec $(RM) '{}' ';' |
| 21 | $(CHMOD) -R a+r ckit |
| 22 | $(CHMOD) -R g-s ckit |
| 23 | $(CHMOD) a-x ckit/src/ast/simplify-assign-ops.sml |
| 24 | $(PATCH) -s -d ckit -p1 < ckit.patch |
| 25 | |
| 26 | $(eval $(MK_COMMON_GOALS)) |