#
# Jamfile to build Jam 2.2 for Mingw32
#
# NOTE: This file has been modified by Colin Peters for use with the 
#       Minimalist GNU-Win32 package. If you want a more general-purpose
#       version get the real Jam from www.perforce.com.
#
# There are no user-serviceable parts in this file.
#

# Define the NT value to get some bits of Jam to compile.
CCFLAGS += -DNT ;

code = execming.c filent.c pathming.c ;

#
# How to build the compiled in jambase.
#

Main		mkjambase : mkjambase.c ;

#
# The guts of the Jamfile: how to build Jam
#

Main 		jam : jam.c jambase.c ;
LinkLibraries 	jam : libjam.a ;
GenFile 	jambase.c : mkjambase Jambase ;

Library         libjam.a : 
		    command.c compile.c $(code) expand.c
		    glob.c hash.c headers.c
#
# NOTE: Change by Colin Peters, build directly from the yacc file. The jambase
#       assumes you have flex and byacc. This should not impact you if you
#       do not modify jamgram.y.
#
#		    jamgram.c
#
		    jamgram.y
		    lists.c make.c make1.c newstr.c option.c parse.c
		    regexp.c rules.c scan.c search.c timestamp.c
		    variable.c ;

