removed unused rule 'Strip' (if was not even defined)
[k8jam.git] / src / Jamfile
blob7141420ba31017c525bc3b16de4d936f43a30629
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 # How to build the compiled in unicode table
16 Main unigen : unigen.c ;
18 # The guts of the Jamfile: how to build Jam
19 Main jam : jam.c jambase.c ;
20 LinkLibraries jam : libjam.a ;
21 GenFile jambase.c : mkjambase $(TOP)/defaults/Jambase ;
22 GenFile hsregexp_unicode_mapping.c : unigen $(TOP)/unidata/UnicodeData.txt ;
24 ###if $(UNIX) {
25 ###  Strip mkjambase ;
26 ###  Strip jam ;
27 ###}
30 # Strip the Jam executable on Mingw
31 ###if $(JAM_TOOLSET) = MINGW {
32 ###  Strip jam$(SUFEXE) ;
33 ###}
36 Library libjam.a :
37   $(code)
38   builtins.c
39   command.c
40   compile.c
41   execcmd.c
42   expand.c
43   filent.c
44   fileunix.c
45   glob.c
46   hash.c
47   hcache.c
48   hdrmacro.c
49   headers.c
50   hsregexp.c
51   kstrings.c
52   lists.c
53   make.c
54   make1.c
55   newstr.c
56   option.c
57   parse.c
58   pathsys.c
59   progress.c
60   rules.c
61   scan.c
62   search.c
63   timestamp.c
64   variable.c
66 aliasbreaks =
67   #newstr.c
68   #rules.c
69   #timestamp.c
70   #variable.c
71   #hdrmacro.c
74 if $(THIS_IS_K8JAM) {
75   ObjectNoAliasing $(aliasbreaks) ;
76 } else {
77   ObjectCcFlags $(aliasbreaks) : -fno-strict-aliasing ;
81 # installing
82 if $(UNIX) {
83   InstallBin $(INSTALLDIR_BIN) : jam$(SUFEXE) ;
84   #InstallBin $(INSTALLDIR_BIN) : mkjambase$(SUFEXE) ;
85   SubInclude TOP doc ;