diff options
Diffstat (limited to 'python/test')
-rw-r--r-- | python/test/Slice/import/Makefile.mak | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/test/Slice/import/Makefile.mak b/python/test/Slice/import/Makefile.mak index f56fb6a3d87..a017b57afea 100644 --- a/python/test/Slice/import/Makefile.mak +++ b/python/test/Slice/import/Makefile.mak @@ -14,12 +14,16 @@ top_srcdir = ..\..\.. SRCS = Test1_ice.py \ Test2_ice.py +!if "$(ice_src_dist)" != "" +SLICE2PY = $(PYTHON_HOME)\python $(top_srcdir)\config\slice2py.py +!endif + all:: $(SRCS) -Test1_ice.py: "Test1.ice" "$(SLICE2PY)" "$(SLICEPARSERLIB)" +Test1_ice.py: "Test1.ice" "$(SLICEPARSERLIB)" "$(SLICE2PY)" $(SLICE2PYFLAGS) "Test1.ice" -Test2_ice.py: "Test2.ice" "$(SLICE2PY)" "$(SLICEPARSERLIB)" +Test2_ice.py: "Test2.ice" "$(SLICEPARSERLIB)" "$(SLICE2PY)" $(SLICE2PYFLAGS) "Test2.ice" clean:: |