5 SubDirDefines RE9_UNICODE_CASE ;
10 #if $(YACC) { code += jamgram.y ; } else { code += jamgram.c ; }
13 #if $(YACC) && $(SUFEXE) = "" {
14 # GenFile jamgram.y jamgramtab.h : $(TOP)/tools/yyacc jamgram.yy ;
20 # generate generators in build dir
21 OLD_LOCATE_BIN = $(LOCATE_BIN) ;
22 LOCATE_BIN = $(LOCATE_TARGET)/generators ;
24 # How to build the compiled in unicode table
26 Main unigen : unigen.c ;
27 GenFile re9_unicode_mapping.c : unigen $(TOP)/unidata/UnicodeData.txt ;
30 GenFile jamgram.lemon jamgramtab.h : ":$(TOP)/tools/yyacc" jamgram.yy ;
32 Main lemon : lemon.c lemon_diet.c ;
33 #GenFile jamgram.c : lemon jamgram.y ;
35 # How to build the compiled in jambase
36 Main mkjambase : mkjambase.c ;
38 LOCATE_BIN = $(OLD_LOCATE_BIN) ;
41 # The guts of the Jamfile: how to build Jam
42 Main k8jam : jam.c jambase.c libjam.a ;
43 GenFile jambase.c : mkjambase $(TOP)/defaults/Jambase ;
44 IncFile mkjambase.c : [ BuildFileList "$(TOP)/defaults" : "Jam*" ] ;