Author: fperrad Date: Tue Jan 27 14:16:37 2009 New Revision: 36068 Modified: trunk/tools/dev/mk_language_shell.pl
Log: [tools] update the Makefile template for language Modified: trunk/tools/dev/mk_language_shell.pl ============================================================================== --- trunk/tools/dev/mk_language_shell.pl (original) +++ trunk/tools/dev/mk_language_shell.pl Tue Jan 27 14:16:37 2009 @@ -169,17 +169,15 @@ O = @o@ ## Setup some commands -LN_S = @lns@ PERL = @perl@ -RM_RF = @rm_rf@ +RM_F = @rm_f@ CP = @cp@ -PARROT = ../../par...@exe@ CAT = $(PERL) -MExtUtils::Command -e cat +PARROT = ../../par...@exe@ BUILD_DYNPMC = $(PERL) $(BUILD_DIR)/tools/build/dynpmc.pl -RECONFIGURE = $(PERL) $(BUILD_DIR)/tools/dev/reconfigure.pl -#CONDITIONED_LINE(darwin): -#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking -#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ +#IF(darwin): +#IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking +#IF(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@ ## places to look for things PARROT_DYNEXT = $(BUILD_DIR)/runtime/parrot/dynext @@ -261,26 +259,27 @@ CLEANUPS = \ @lcl...@.pbc \ - src/gen_grammar.pir \ - src/gen_actions.pir \ - src/gen_builtins.pir \ - $(PMC_DIR)/*.h \ - $(PMC_DIR)/*.c \ - $(PMC_DIR)/*.dump \ - $(PMC_DIR)/*$(O) \ - $(PMC_DIR)/*$(LOAD_EXT) \ - $(PMC_DIR)/*.exp \ - $(PMC_DIR)/*.ilk \ - $(PMC_DIR)/*.manifest \ - $(PMC_DIR)/*.pdb \ - $(PMC_DIR)/*.lib \ + "src/gen_*.pir" + +PMC_CLEANUPS = \ + "$(PMC_DIR)/*.h" \ + "$(PMC_DIR)/*.c" \ + "$(PMC_DIR)/*.dump" \ + "$(PMC_DIR)/*$(O)" \ +#IF(win32): "$(PMC_DIR)/*.exp" \ +#IF(win32): "$(PMC_DIR)/*.ilk" \ +#IF(win32): "$(PMC_DIR)/*.manifest" \ +#IF(win32): "$(PMC_DIR)/*.pdb" \ +#IF(win32): "$(PMC_DIR)/*.lib" \ + "$(PMC_DIR)/*$(LOAD_EXT)" clean: testclean - $(RM_RF) $(CLEANUPS) + $(RM_F) $(CLEANUPS) +# $(RM_F) $(PMC_CLEANUPS) realclean: clean - $(RM_RF) Makefile + $(RM_F) Makefile distclean: realclean