regexp engine now undestands some character classes (like :space:) and non-greedy ops
[k8jam.git] / src / Jamfile
blob6bf4d147096f17acccdd939a499e76654acbba8b
1 SubDir TOP src ;
4 # Do we know yacc?
5 if $(YACC) { code += jamgram.y ; } else { code += jamgram.c ; }
8 if $(YACC) && $(SUFEXE) = "" {
9   GenFile jamgram.y jamgramtab.h : $(TOP)/tools/yyacc jamgram.yy ;
12 # How to build the compiled in jambase
13 Main mkjambase : mkjambase.c ;
15 # The guts of the Jamfile: how to build Jam
16 Main jam : jam.c jambase.c ;
17 LinkLibraries jam : libjam.a ;
18 GenFile jambase.c : mkjambase $(TOP)/defaults/Jambase ;
20 if $(UNIX) {
21   Strip mkjambase ;
22   Strip jam ;
26 # Strip the Jam executable on Mingw
27 if $(JAM_TOOLSET) = MINGW {
28   Strip jam$(SUFEXE) ;
32 Library libjam.a :
33   $(code)
34   builtins.c
35   command.c
36   compile.c
37   execcmd.c
38   expand.c
39   filent.c
40   fileunix.c
41   glob.c
42   hash.c
43   hcache.c
44   hdrmacro.c
45   headers.c
46   hsregexp.c
47   kstrings.c
48   lists.c
49   make.c
50   make1.c
51   newstr.c
52   option.c
53   parse.c
54   pathsys.c
55   progress.c
56   rules.c
57   scan.c
58   search.c
59   timestamp.c
60   variable.c
62 aliasbreaks =
63   #newstr.c
64   #rules.c
65   #timestamp.c
66   #variable.c
67   #hdrmacro.c
70 if $(THIS_IS_K8JAM) {
71   ObjectNoAliasing $(aliasbreaks) ;
72 } else {
73   ObjectCcFlags $(aliasbreaks) : -fno-strict-aliasing ;
77 # installing
78 if $(UNIX) {
79   InstallBin $(INSTALLDIR_BIN) : jam$(SUFEXE) ;
80   #InstallBin $(INSTALLDIR_BIN) : mkjambase$(SUFEXE) ;
81   SubInclude TOP doc ;