diff options
author | paltherr <paltherr@epfl.ch> | 2003-02-17 12:32:54 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-02-17 12:32:54 +0000 |
commit | 672f97063137767359641f9bc1fb3c49315add3b (patch) | |
tree | ff185b89632e486fd980029ef8fff91e96ab0137 /Makefile | |
parent | 04e7b8d053f6bc3a6de69919e6789feffeb6c33b (diff) | |
download | scala-672f97063137767359641f9bc1fb3c49315add3b.tar.gz scala-672f97063137767359641f9bc1fb3c49315add3b.tar.bz2 scala-672f97063137767359641f9bc1fb3c49315add3b.zip |
- Added rules to create the links to the scala ...
- Added rules to create the links to the scala wrapper
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -22,6 +22,17 @@ PROJECT_CLASSPATH = $(PROJECT_OUTPUTDIR) PROJECT_LISTDIR = $(PROJECT_ROOT)/config/list PROJECT_SOURCEDIR = $(PROJECT_ROOT)/sources +# scala scripts wrapper +SCRIPTS_PREFIX = $(PROJECT_ROOT)/bin +SCRIPTS_WRAPPER_NAME = .scala_wrapper +SCRIPTS_WRAPPER_LINKS += $(SCRIPTS_WRAPPER_ALIASES:%=$(SCRIPTS_PREFIX)/%) +SCRIPTS_WRAPPER_ALIASES += socos +SCRIPTS_WRAPPER_ALIASES += socos-debug +SCRIPTS_WRAPPER_ALIASES += siris +SCRIPTS_WRAPPER_ALIASES += siris-debug +SCRIPTS_WRAPPER_ALIASES += surus +SCRIPTS_WRAPPER_ALIASES += surus-debug + # scala compiler COMPILER_ROOT = $(PROJECT_SOURCEDIR)/scalac COMPILER_LIST = $(call READLIST,$(PROJECT_LISTDIR)/compiler.lst) @@ -90,6 +101,7 @@ make += $(MAKE) MAKELEVEL=$(MAKELEVEL) --no-print-directory ############################################################################## # Commands +all : scripts all : compiler force : @@ -102,13 +114,16 @@ clean : distclean : clean $(RM) -f .latest-* + $(RM) -f $(SCRIPTS_WRAPPER_LINKS) +scripts : $(SCRIPTS_WRAPPER_LINKS) compiler : .latest-compiler .PHONY : all .PHONY : force .PHONY : clean .PHONY : distclean +.PHONY : scripts .PHONY : compiler ############################################################################## @@ -119,6 +134,13 @@ compiler : .latest-compiler touch $@ ############################################################################## +# Rules + +$(SCRIPTS_WRAPPER_LINKS): + $(LN) -s $(SCRIPTS_WRAPPER_NAME) $@; + + +############################################################################## include $(ROOT)/support/make/exec.mk include $(ROOT)/support/make/grep.mk |