option.c: fixed warnings
[k8jam.git] / src / Jamfile
blob7b5fc72abae55675a1e27b2349d6a8434317346c
1 SubDir TOP src ;
3 if $(USE_UNICODE) {
4   # use utf-8 in regexps
5   SubDirDefines RE9_UNICODE_CASE ;
9 # Do we know yacc?
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 ;
17 #Exit $(YACCFLAGS) ;
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
25 if $(USE_UNICODE) {
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*" ] ;
47 Library libjam.a :
48   jamgram.lemon
49   bjprng.c
50   builtins.c
51   command.c
52   compile.c
53   dstrings.c
54   execcmd.c
55   expand.c
56   filent.c
57   fileunix.c
58   gdcdeps.c
59   genman.c
60   hash.c
61   hcache.c
62   hdrmacro.c
63   headers.c
64   re9.c
65   jbunpack.c
66   lists.c
67   make.c
68   make1.c
69   matchglob.c
70   newstr.c
71   option.c
72   parse.c
73   pathsys.c
74   progress.c
75   rexp.c
76   rules.c
77   scan.c
78   search.c
79   timestamp.c
80   variable.c
81   libhaunp.c