Makefile #4

  • //
  • guest/
  • richard_geiger/
  • intjam/
  • src/
  • Makefile
  • View
  • Commits
  • Open Download .zip Download (1 KB)
# 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

# 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

# NT (with Microsoft compiler)
# People with DevStudio settings already in shell environment.
#CC = cl /nologo
#CFLAGS = -DNT 
#TARGET = /Fejam0

# BeOS - Metroworks CodeWarrior
#CC = mwcc
#Include = /NewDisk/develop/headers/posix
#CFLAGS = -I $(Include)

# BeOS - gcc
#CC = gcc
#LINKLIBS = -lnet

# Interix - gcc
#CC = gcc

# Cygwin - gcc & cygwin
#CC = gcc
#CFLAGS = -D__cygwin__

# MPEIX
#CC = gcc
#CFLAGS = -I/usr/include -D_POSIX_SOURCE

# QNX rtp (neutrino)
#CC = gcc

SOURCES = \
	builtins.c \
	command.c compile.c execunix.c execvms.c expand.c \
	filent.c fileos2.c fileunix.c filevms.c glob.c hash.c \
	headers.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
#4 1283 Richard Geiger Oops, left the NT compile lines in place for the last submit.

=== computer.perforce.com:1666: Change 20113 by brett@awk on 2001/01/17 08:47:08
#3 1282 Richard Geiger Files:
    //guest/richard_geiger/intjam/src/RELNOTES    # edit

The file builtins.c had been left out of the makefile.

=== computer.perforce.com:1666: Change 20103 by brett@dang on 2001/01/16 17:01:47
#2 1279 Richard Geiger Add entry for DevStudio when the settings are already in the
system environment.

=== computer.perforce.com:1666: Change 20102 by brett@dang on 2001/01/16 16:58:02

Add to relnotes (Porting changes) - rmg
#1 1207 Richard Geiger Establish this branch to use for import of Perforce Jam.
//guest/perforce_software/jam/src/Makefile
#4 486 Perforce staff Jam 2.3.
 See RELNOTES for a list of changes from 2.2.x.

Just about every source file was touched when jam got ANSI-fied.
#3 67 Laura Wingerd Integrate Perforce's jam changes & project page update
(change 59, change 60, change 61, change 62, change 63, change 64,
change 66)
#2 5 Perforce maintenance Jam/MR 2.2.4 (HDRPATTERN, JAMUNAME, JAMSHELL, plus misc tweaks)
#1 2 laura Add Jam/MR 2.2 source