diff --git a/Makefile b/Makefile index 2f5e37c2ec..f9bc8ba938 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,9 @@ # Packages (separated by spaces) to link in development mode or # to include in a distribution: -PKGS = main-distribution plt-services +PKGS = base racket-lib # plt-services +LINK_PKGS = $(PKGS) racket-doc at-exp-lib racket-test racket-benchmarks racket-index +INSTALL_PKGS = main-distribution main-distribution-test # ------------------------------------------------------------ # In-place build @@ -29,6 +31,10 @@ PKGS = main-distribution plt-services PLAIN_RACKET = racket/bin/racket WIN32_PLAIN_RACKET = racket\racket +PLAIN_RACO = racket/bin/racket -N raco -l- raco +WIN32_PLAIN_RACO = racket\racket -N raco -l- raco + + MACOSX_CHECK_ARGS = -I racket/base -e '(case (system-type) [(macosx) (exit 0)] [else (exit 1)])' MACOSX_CHECK = $(PLAIN_RACKET) -G build/config $(MACOSX_CHECK_ARGS) @@ -46,6 +52,7 @@ cpus-in-place: # Explicitly propagate variables for non-GNU `make's: PKG_LINK_COPY_ARGS = PKGS="$(PKGS)" LINK_MODE="$(LINK_MODE)" +PKG_LINK_COPY_EXTRA_ARGS = PKGS="$(LINK_PKGS)" LINK_MODE="$(LINK_MODE)" LIBSETUP = -N raco -l- raco setup plain-in-place: @@ -53,6 +60,9 @@ plain-in-place: if $(MACOSX_CHECK) ; then $(MAKE) native-from-git ; fi $(MAKE) pkg-links $(PKG_LINK_COPY_ARGS) $(PLAIN_RACKET) $(LIBSETUP) $(JOB_OPTIONS) $(PLT_SETUP_OPTIONS) + $(MAKE) pkg-extra-links $(PKG_LINK_COPY_EXTRA_ARGS) # NOTE: no setup after this step + $(PLAIN_RACO) pkg install $(JOB_OPTIONS) --scope installation \ + --deps search-auto $(INSTALL_PKGS) # For Windows: set up the following collections first, so that native # libraries are in place for use by a full setup: @@ -63,6 +73,8 @@ win32-in-place: $(MAKE) win32-pkg-links $(PKG_LINK_COPY_ARGS) $(WIN32_PLAIN_RACKET) $(LIBSETUP) -nxiID $(JOB_OPTIONS) $(PLT_SETUP_OPTIONS) $(LIB_PRE_COLLECTS) $(WIN32_PLAIN_RACKET) $(LIBSETUP) $(JOB_OPTIONS) $(PLT_SETUP_OPTIONS) + $(WIN32_PLAIN_RACO) pkg install $(JOB_OPTIONS) --scope installation \ + --deps search-auto $(INSTALL_PKGS) again: $(MAKE) LINK_MODE="--restore" @@ -96,6 +108,7 @@ plain-unix-style: $(MAKE) local-catalog-maybe-native RACKET="$(DESTDIR)$(PREFIX)/bin/racket" "$(DESTDIR)$(PREFIX)/bin/raco" pkg install $(UNIX_RACO_ARGS) $(REQUIRED_PKGS) $(PKGS) cd racket/src/build; $(MAKE) fix-paths + "$(DESTDIR)$(PREFIX)/bin/raco" pkg install $(JOB_OPTIONS) -i --dep search-auto $(INSTALL_PKGS) error-need-prefix: : ================================================================ @@ -302,6 +315,9 @@ LINK_ALL = -U -G build/config racket/src/link-all.rkt ++dir pkgs ++dir native-pk pkg-links: $(PLAIN_RACKET) $(LINK_ALL) $(LINK_MODE) $(PKGS) $(REQUIRED_PKGS) +pkg-extra-links: + $(PLAIN_RACKET) $(LINK_ALL) $(LINK_MODE) $(LINK_PKGS) $(REQUIRED_PKGS) + win32-pkg-links: IF NOT EXIST native-pkgs\racket-win32-i386 $(MAKE) complain-no-submodule $(MAKE) pkg-links PLAIN_RACKET="$(WIN32_PLAIN_RACKET)" LINK_MODE="$(LINK_MODE)" PKGS="$(PKGS)" diff --git a/pkgs/algol60/LICENSE.txt b/pkgs/algol60/LICENSE.txt deleted file mode 100644 index c2900e58d6..0000000000 --- a/pkgs/algol60/LICENSE.txt +++ /dev/null @@ -1,11 +0,0 @@ -algol60 -Copyright (c) 2010-2014 PLT Design Inc. - -This package is distributed under the GNU Lesser General Public -License (LGPL). This means that you can link this package into proprietary -applications, provided you follow the rules stated in the LGPL. You -can also modify this package; if you distribute a modified version, -you must distribute it under the terms of the LGPL, which in -particular means that you must release the source code for the -modified software. See http://www.gnu.org/copyleft/lesser.html -for more information. diff --git a/pkgs/algol60/algol60.rkt b/pkgs/algol60/algol60.rkt deleted file mode 100644 index e15e94a982..0000000000 --- a/pkgs/algol60/algol60.rkt +++ /dev/null @@ -1,55 +0,0 @@ -#cs(module algol60 mzscheme - (require-for-syntax "parse.rkt" - ;; Parses to generate an AST. Identifiers in the AST - ;; are represented as syntax objects with source location. - - "simplify.rkt" - ;; Desugars the AST, transforming `for' to `if'+`goto', - ;; and flattening `if' statements so they are always - ;; of the for `if then goto