comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 # this makefile must be called from \g23m\system
2 # otherwise most pathes won't work
3 #
4 SHELL = sh.exe
5
6 # it is an error if $ABC_EXPORTS_MAKEFILE_NAME is not set
7 ifndef $(ABC_EXPORTS_MAKEFILE_NAME)
8 ABC_EXPORTS_MAKEFILE_NAME = $(MFILE).abc_exports_not_set_error
9 endif
10
11 # we assume our default file if $BUSYB_INI_FILE is not set
12 ifndef $(BUSYB_INI_FILE)
13 BUSYB_INI_FILE = system/g23m.ini
14 endif
15
16 $(MFILE): $(XMLFILE) system/busyb/*.xml system/busyb/sourcesets/*.xml
17 java "-Xbootclasspath/a:../gpf/tools/lib/java/xercesimpl.jar;../gpf/tools/lib/java/xom.jar" \
18 -jar ../gpf/bin/busyb.jar -ini $(BUSYB_INI_FILE) -g -out busyb_tmp1.mak -cfg $<
19 perl system/busyb/tools/tune_mak_buildconfig.pl busyb_tmp1.mak busyb_tmp2.mak $(XMLFILE)
20 perl system/busyb/tools/tune_mak.pl busyb_tmp2.mak $@ $(ABC_EXPORTS_MAKEFILE_NAME)
21 rm busyb_tmp1.mak
22 rm busyb_tmp2.mak