Makefile revision 1.1.1.3
11.1.1.2Schristos# Before running this file, we assume we have generated all tables by running 21.1.1.3Schristos# the command `$(ASL) -T ALL` 31.1.1.2Schristos# 41.1.1.2Schristos# Note: the NAME flag is required when running the test 51.1.1.2Schristos 61.1.1.2Schristosaml_obj=$(NAME).aml 71.1.1.2Schristosdsl_obj=$(NAME).dsl 81.1.1.2Schristosaml_obj2=$(NAME)_recomp.aml 91.1.1.2Schristos 101.1.1.2Schristos 111.1.1.2Schristosall: $(aml_obj2) 121.1.1.2Schristos 131.1.1.2Schristos# recompile and binary compare 141.1.1.2Schristos$(aml_obj2): %_recomp.aml: %.dsl 151.1.1.3Schristos $(ASL) -p `basename $@` $< > /dev/null 2> /dev/null 161.1.1.3Schristos $(acpibin) -c $@ $(patsubst %_recomp.aml,%.aml,$@) > /dev/null 2> /dev/null 171.1.1.2Schristos printf "Data table %s PASS\n" $(basename $< .dsl) 181.1.1.2Schristos 191.1.1.2Schristos# disassemble 201.1.1.2Schristos$(dsl_obj): %.dsl: %.aml 211.1.1.3Schristos $(ASL) -d $< > /dev/null 2> /dev/null 221.1.1.2Schristos 231.1.1.2Schristos# initial compile 241.1.1.2Schristos$(aml_obj): %.aml: %.asl 251.1.1.3Schristos $(ASL) $< > /dev/null 2> /dev/null 261.1Sjruoho 271.1Sjruoho 281.1Sjruohotemplates : 291.1Sjruoho sh templates.sh 301.1Sjruoho 311.1.1.2Schristos.PHONY: clean 321.1.1.2Schristosclean: 331.1Sjruoho rm -f *.asl *.aml *.dsl *.hex diff.log 341.1Sjruoho 35