~mildred/+junk/jam-shell

« back to all changes in this revision

Viewing changes to Jamfile

  • Committer: Mildred
  • Date: 2007-11-07 21:52:39 UTC
  • Revision ID: mildred593@online.fr-20071107215239-qrfzkl2ze2b3kxai
updated from ft-jam 2.5.2 to 2.5.3rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
# For some really stupid reason, classic Jam doesn't define NT
33
33
# when compiling with Mingw, but the variable MINGW instead..
34
34
#
 
35
# since we want to be able to compile FT-Jam with classic Jam
 
36
# on as many platforms as possible, deal with it here
35
37
 
36
38
if ! $(NT) && $(MINGW)
37
39
{
39
41
  JAM_TOOLSET = MINGW ;
40
42
}
41
43
 
42
 
if $(NT)        { code = execunix.c filent.c pathunix.c ; }
 
44
if $(NT)
 
45
{
 
46
  code = execunix.c filent.c pathunix.c spawnnt.c ;
 
47
  if $(JAM_TOOLSET) != MINGW {
 
48
    LINKLIBS += ADVAPI32.LIB ;
 
49
  }
 
50
}
43
51
else if $(OS2)
44
52
{
45
53
  # special case for OS/2: when compiling with GCC/EMX, we use
46
54
  # "fileunix.c" instead of "fileos2.c"
47
 
  code = execunix.c pathunix.c ;
 
55
  code = execunix.c pathunix.c spawnos2.c ;
48
56
  if $(JAM_TOOLSET) = EMX
49
57
  {
50
58
    CCFLAGS += -D__OS2__ ;
55
63
    code += fileos2.c ;
56
64
  }
57
65
}
58
 
else if $(VMS)  { code = execvms.c filevms.c pathvms.c ; }
59
 
else if $(MAC)  { code = execmac.c filemac.c pathmac.c ; }
60
 
else            { code = execunix.c fileunix.c pathunix.c ; }
 
66
else if $(VMS)  { code = execvms.c filevms.c pathvms.c spawn.c ; }
 
67
else if $(MAC)  { code = execmac.c filemac.c pathmac.c spawnmac.c ; }
 
68
else            { code = execunix.c fileunix.c pathunix.c spawnunix.c ; }
61
69
 
62
70
if $(UNIX) && $(OS) = CYGWIN
63
71
{
128
136
 
129
137
Main            jam : jam.c jambase.c ;
130
138
LinkLibraries   jam : libjam.a ;
131
 
GenFile             jambase.c : mkjambase Jambase ;
 
139
GenFile         jambase.c : mkjambase Jambase ;
132
140
 
133
 
if $(UNIX)
 
141
if $(UNIX) && ! $(DEBUG)
134
142
{
135
143
  actions Strip
136
144
  {
145
153
                    glob.c hash.c headers.c lists.c make.c make1.c
146
154
                    newstr.c option.c parse.c regexp.c rules.c scan.c
147
155
                    search.c timestamp.c variable.c
148
 
                    hdrmacro.c
 
156
                    hdrmacro.c rope.c
149
157
                    ;
150
158
 
151
159
# Strip the Jam executable on Mingw
177
185
        jambase.h jamgram.c jamgram.h jamgram.y jamgram.yy jamgramtab.h
178
186
        lists.c lists.h make.c make.h make1.c mkjambase.c newstr.c newstr.h
179
187
        option.c option.h parse.c parse.h patchlevel.h pathmac.c pathsys.h
180
 
        pathunix.c pathvms.c regexp.c regexp.h rules.c rules.h scan.c
181
 
        scan.h search.c search.h timestamp.c timestamp.h variable.c
182
 
        variable.h yyacc
 
188
        pathunix.c pathvms.c regexp.c regexp.h rope.c rope.h rules.c
 
189
        rules.h scan.c scan.h search.c search.h spawn.h spawn.c spawnnt.c
 
190
        spawnunix.c spawnmac.c spawnos2.c
 
191
        timestamp.c timestamp.h variable.c variable.h yyacc
183
192
        hdrmacro.c
184
193
        INSTALL
185
194
        README.ORG
227
236
        }
228
237
}
229
238
 
230
 
 
231
 
VERSION = ftjam-2.5.2 ;
 
239
VERSION = ftjam-2.5.3rc2 ;
232
240
 
233
241
actions Tar-Gz
234
242
{