# Makefile for jam #CC = cc #TARGET = -o jam0 #CFLAGS = # Special flavors - uncomment appropriate lines # NCR seems to have a broken readdir() -- use gnu #CC = gcc # AIX needs -lbsd, and has no identifying cpp symbol # Use _AIX41 if you're not on 3.2 anymore. #LINKLIBS = -lbsd #CFLAGS = -D_AIX #CFLAGS = -D_AIX41 # NT (with Microsoft compiler) # Use FATFS if building on a DOS FAT file system Lib = $(MSVCNT)/lib Include = $(MSVCNT)/include CC = cl /nologo CFLAGS = -I $(Include) -DNT TARGET = /Fejam0 LINKLIBS = $(Lib)/oldnames.lib $(Lib)/kernel32.lib $(Lib)/libc.lib # BeOS - Metroworks CodeWarrior #CC = mwcc #Include = /NewDisk/develop/headers/posix #CFLAGS = -I $(Include) SOURCES = \ command.c compile.c execunix.c execvms.c expand.c \ filent.c fileos2.c fileunix.c filevms.c glob.c hash.c \ headers.c hcache.c jam.c jambase.c jamgram.c lists.c make.c make1.c \ newstr.c option.c parse.c pathunix.c pathvms.c regexp.c \ rules.c scan.c search.c timestamp.c variable.c all: jam0 jam0 jam0: $(CC) $(TARGET) $(CFLAGS) $(SOURCES) $(LINKLIBS)
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 3184 | Craig Mcpheeters | Integration of my recent work jam changes into my public mainline branch | ||
//guest/craig_mcpheeters/work/jam/src/Makefile.nt | |||||
#1 | 782 | Craig Mcpheeters |
Initial return of the Alias|Wavefront mods to jam 2.2. I made a stab at a configuration system - see the file Jamfile.config. Most of the mods are now enclosed within #ifdef blocks, which kind of pollutes the code, but may make it easier to accept or reject some of these changes. Some of these #ifdefs could disappear completely if they are accepted into the mainline This return implements the following extensions: * header cache * dynamic command block size, allowing for *large* commands * slightly improved warnings and errors * serial output from jam - nice when working with multiple jobs * an extension to variable modifiers: $(>:/) and $(>:\\) * ability to ignore header dependencies for a build (jam -p) * new debug level, -d+10, which outputs the dependency graph * added no-care support to internal nodes. if they fail, dependents are built anyway * time stamps on output * a few minor output modifications * a fix for nt batch file names conflicing when more than one jam runs at a time Each of the above can be enabled/disabled on the command line. For example, to turn on the HeaderCache code: jam -sHeaderCache=1 that is, build jam first, then use that jam to build a new one with the options you want. Some of these changes may have been made in the mainline already, my next step will be to integrate the mainline changes into these ones This return isn't yet ready for prime-time |