diff options
Diffstat (limited to 'js/config/Make.rules.mak.js')
-rw-r--r-- | js/config/Make.rules.mak.js | 205 |
1 files changed, 0 insertions, 205 deletions
diff --git a/js/config/Make.rules.mak.js b/js/config/Make.rules.mak.js deleted file mode 100644 index 0229141e09b..00000000000 --- a/js/config/Make.rules.mak.js +++ /dev/null @@ -1,205 +0,0 @@ -# ********************************************************************** -# -# Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. -# -# This copy of Ice is licensed to you under the terms described in the -# ICE_LICENSE file included in this distribution. -# -# ********************************************************************** - -# -# Select an installation base directory. The directory will be created -# if it does not exist. -# -prefix = C:\Ice-$(VERSION) - -# -# Define to yes for an optimized build. -# -#OPTIMIZE = yes - -# -# Google Closure Compiler -# -CLOSURE_COMPILER = C:\closure\compiler.jar - -# -# Closure Flags -# -CLOSUREFLAGS = --language_in ECMASCRIPT5 - -# -# jsHint location -# -JSHINT_PATH = $(NODE_PATH)\jshint - -# -# Define to the location of gnu gzip if you want to generate -# gzip version of JavaScript libraries. -# -#GZIP_PATH = "C:\Program Files (x86)\GnuWin32\bin\gzip.exe" - -# -# jsHint flags -# -LINTFLAGS = --verbose - -# -# NodeJS executable -# -!if "$(NODE)" == "" -NODE = node -!endif - -# ---------------------------------------------------------------------- -# Don't change anything below this line! -# ---------------------------------------------------------------------- - -# -# Common definitions -# -ice_language = js -slice_translator = slice2js.exe - -bindir = $(top_srcdir)\bin -libdir = $(top_srcdir)\lib - -install_libdir = $(prefix)\lib -install_moduledir = $(prefix)\node_modules\icejs - -!if exist ($(top_srcdir)\..\config\Make.common.rules.mak) -!include $(top_srcdir)\..\config\Make.common.rules.mak -!else -!include $(top_srcdir)\config\Make.common.rules.mak -!endif - -!if "$(ice_src_dist)" != "" -!if "$(ice_cpp_dir)" == "$(ice_dir)\cpp" -SLICE2JS = $(ice_cpp_dir)\bin\slice2js.exe -SLICEPARSERLIB = $(ice_cpp_dir)\lib\slice.lib -!if !exist ("$(SLICEPARSERLIB)") -SLICEPARSERLIB = $(ice_cpp_dir)\lib\sliced.lib -!endif -!else -SLICE2JS = $(ice_cpp_dir)\bin$(x64suffix)\slice2js.exe -SLICEPARSERLIB = $(ice_cpp_dir)\lib$(x64suffix)\slice.lib -!if !exist ("$(SLICEPARSERLIB)") -SLICEPARSERLIB = $(ice_cpp_dir)\lib$(x64suffix)\sliced.lib -!endif -!endif -!else -SLICE2JS = $(ice_dir)\bin\slice2js.exe -SLICEPARSERLIB = $(ice_dir)\lib\slice.lib -!endif - -!if "$(LIBNAME)" != "" - -TARGETS = $(TARGETS) $(libdir)\$(LIBNAME).js -install:: all - copy $(libdir)\$(LIBNAME).js $(install_libdir) - -!if "$(OPTIMIZE)" == "yes" -TARGETS = $(TARGETS) $(libdir)\$(LIBNAME).min.js -install:: all - copy $(libdir)\$(LIBNAME).min.js $(install_libdir) -!endif - -!if "$(GZIP_PATH)" != "" -TARGETS = $(TARGETS) $(libdir)\$(LIBNAME).js.gz -install:: all - copy $(libdir)\$(LIBNAME).js.gz $(install_libdir) - -!if "$(OPTIMIZE)" == "yes" -TARGETS = $(TARGETS) $(libdir)\$(LIBNAME).min.js.gz -install:: all - copy $(libdir)\$(LIBNAME).min.js.gz $(install_libdir) -!endif - -!endif - -!endif - -EVERYTHING = all clean install lint depend -EVERYTHING_EXCEPT_INSTALL = all clean lint depend - -.SUFFIXES: -.SUFFIXES: .js .ice .d - -depend:: - -!if exist(.depend.mak) -!include .depend.mak - -depend:: - @del /q .depend.mak -!endif - -!if "$(GEN_SRCS)" != "" -TARGETS = $(TARGETS) $(GEN_SRCS) -$(GEN_SRCS): "$(SLICE2JS)" "$(SLICEPARSERLIB)" -depend:: $(GEN_SRCS:.js=.d) -!endif - -.ice.d: - @echo Generating dependencies for $< - @"$(SLICE2JS)" $(SLICE2JSFLAGS) --depend $< |\ - cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice - -{$(SDIR)}.ice.d: - @echo Generating dependencies for $< - @"$(SLICE2JS)" $(SLICE2JSFLAGS) $< --depend $< |\ - cscript /NoLogo $(top_srcdir)\..\config\makedepend-slice.vbs $(*F).ice - -.ice.js: - "$(SLICE2JS)" $(SLICE2JSFLAGS) $< - -{$(SDIR)}.ice.js: - "$(SLICE2JS)" $(SLICE2JSFLAGS) $< - -all:: $(TARGETS) - -!if "$(TARGETS)" != "" -clean:: - del /q $(TARGETS) -!endif - -!if "$(GEN_SRCS)" != "" -clean:: - del /q $(GEN_SRCS) -!endif - -index.html: $(GEN_SRCS) $(top_srcdir)\test\Common\index.html - copy $(top_srcdir)\test\Common\index.html . - -$(libdir)/$(LIBNAME).js: $(SRCS) - @del /q $(libdir)\$(LIBNAME).js - "$(NODE)" $(top_srcdir)\config\makebundle.js "$(MODULES)" $(SRCS) > $(libdir)\$(LIBNAME).js - -!if "$(OPTIMIZE)" == "yes" -$(libdir)/$(LIBNAME).min.js: $(libdir)/$(LIBNAME).js - @del /q $(libdir)\$(LIBNAME).min.js - "$(NODE)" $(top_srcdir)\config\makebundle.js "$(MODULES)" $(SRCS) > $(libdir)\$(LIBNAME).tmp.js - java -jar $(CLOSURE_COMPILER) $(CLOSUREFLAGS) --js $(libdir)\$(LIBNAME).js --js_output_file $(libdir)\$(LIBNAME).min.js - del /q $(libdir)\$(LIBNAME).tmp.js -!endif - -!if "$(GZIP_PATH)" != "" - -$(libdir)/$(LIBNAME).js.gz: $(libdir)/$(LIBNAME).js - @del /q $(libdir)\$(LIBNAME).js.gz - "$(GZIP_PATH)" -c9 $(libdir)\$(LIBNAME).js > $(libdir)\$(LIBNAME).js.gz - -$(libdir)/$(LIBNAME).min.js.gz: $(libdir)/$(LIBNAME).min.js - @del /q $(libdir)\$(LIBNAME).min.js.gz - "$(GZIP_PATH)" -c9 $(libdir)\$(LIBNAME).min.js > $(libdir)\$(LIBNAME).min.js.gz - -!endif - -!if "$(INSTALL_SRCS)" != "" -lint: $(INSTALL_SRCS) - "$(NODE)" "$(JSHINT_PATH)\bin\jshint" $(LINTFLAGS) $(INSTALL_SRCS) -!else -lint:: -!endif - -install:: |