FreeCalypso > hg > tcs211-fcmodem
diff g23m/system/update_makefile.mak @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/g23m/system/update_makefile.mak Mon Jun 01 03:24:05 2015 +0000 @@ -0,0 +1,22 @@ +# this makefile must be called from \g23m\system +# otherwise most pathes won't work +# +SHELL = sh.exe + +# it is an error if $ABC_EXPORTS_MAKEFILE_NAME is not set +ifndef $(ABC_EXPORTS_MAKEFILE_NAME) + ABC_EXPORTS_MAKEFILE_NAME = $(MFILE).abc_exports_not_set_error +endif + +# we assume our default file if $BUSYB_INI_FILE is not set +ifndef $(BUSYB_INI_FILE) + BUSYB_INI_FILE = system/g23m.ini +endif + +$(MFILE): $(XMLFILE) system/busyb/*.xml system/busyb/sourcesets/*.xml + java "-Xbootclasspath/a:../gpf/tools/lib/java/xercesimpl.jar;../gpf/tools/lib/java/xom.jar" \ + -jar ../gpf/bin/busyb.jar -ini $(BUSYB_INI_FILE) -g -out busyb_tmp1.mak -cfg $< + perl system/busyb/tools/tune_mak_buildconfig.pl busyb_tmp1.mak busyb_tmp2.mak $(XMLFILE) + perl system/busyb/tools/tune_mak.pl busyb_tmp2.mak $@ $(ABC_EXPORTS_MAKEFILE_NAME) + rm busyb_tmp1.mak + rm busyb_tmp2.mak