Makefile #3

  • //
  • guest/
  • dick_dunbar/
  • jam/
  • src/
  • Makefile
  • View
  • Commits
  • Open Download .zip Download (2 KB)
# Makefile for jam
CCsol = /opt/SUNWspro/bin/cc
CCaix = xlc
CChp  = cc
CCwin = cl

aix:	
	chmod +x yyacc
	./yyacc jamgram.y jamgramtab.h jamgram.yy

	$(CCaix) -o mkjambase mkjambase.c
	./mkjambase jambase.c Jambase

	$(CCaix) -o jam0 -O2 -qmaxmem=-1 \
		fileunix.c pathunix.c execunix.c \
		builtins.c command.c compile.c expand.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 regexp.c \
		rules.c scan.c search.c timestamp.c variable.c
	./jam0 -dx


hp:	
	chmod +x yyacc
	./yyacc jamgram.y jamgramtab.h jamgram.yy

	$(CChp) -o mkjambase mkjambase.c
	./mkjambase jambase.c Jambase

	$(CChp) -o jam0 -O \
		fileunix.c pathunix.c execunix.c \
		builtins.c command.c compile.c expand.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 regexp.c \
		rules.c scan.c search.c timestamp.c variable.c
	./jam0 -dx

sol:	
	chmod +x yyacc
	./yyacc jamgram.y jamgramtab.h jamgram.yy

	$(CCsol) -o mkjambase mkjambase.c
	./mkjambase jambase.c Jambase

	$(CCsol) -o jam0 -O \
		fileunix.c pathunix.c execunix.c \
		builtins.c command.c compile.c expand.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 regexp.c \
		rules.c scan.c search.c timestamp.c variable.c
	./jam0 -dx

win:
	$(CCwin) /nologo -o mkjambase mkjambase.c
	mkjambase jambase.c Jambase
	$(CCwin) /nologo -DNT -I $(MSVCDIR)/include -I ./ /Fejam0 \
		filent.c pathunix.c execunix.c \
		builtins.c  command.c compile.c expand.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 regexp.c \
		rules.c scan.c search.c timestamp.c variable.c \
		$(MSVCNT)/lib/oldnames.lib $(MSVCNT)/lib/kernel32.lib $(MSVCNT)/lib/libc.lib
	jam0.exe -dx


vc_tk:
	cl /nologo -DNT -I $(INCLUDE) /Fejam0 \
		filent.c pathunix.c execunix.c \
		builtins.c  command.c compile.c expand.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 regexp.c \
		rules.c scan.c search.c timestamp.c variable.c \
		oldnames.lib kernel32.lib libc.lib
	jam0.exe -dx

jamgram:
	chmod +x yyacc
	./yyacc jamgram.y jamgramtab.h jamgram.yy

mkjambase:
	cc -o mkjambase mkjambase.c
	mkjambase jambase.c Jambase

clean:
	del /f/q *.obj jam0.exe jam.exe
	rm  -f   *.obj jam0.exe jam.exe



# Change User Description Committed
#3 4361 Dick Dunbar Repair Jam build (rule name changes in Jamfile)
       Submit a starting Test directory
#2 4360 Dick Dunbar Initial set of changes.
 This is a WORK IN PROGRESS.
       There may be some things that do not work in your environment.
       If you tell us, we'll fix it ASAP.
#1 4356 Dick Dunbar Jam 2.5 base established
//guest/perforce_software/jam/src/Makefile
#9 2485 rmg Beos updates for jam from "Ingo Weinhold" <[email protected]>.

Porting change.

=== computer:1666: Change 35634 by seiwald@play-seiwald on 2002/08/16 11:42:39
#8 2481 rmg Put . in the path of jam0, at long last.

=== computer:1666: Change 34039 by seiwald@tricks on 2002/06/03 11:05:04

Jam relnote about $(EXENAME) in the Makefile.

User visible change being documented in RELNOTES.

=== computer:1666: Change 34517 by seiwald@play-seiwald on 2002/06/22 00:19:32
#7 1571 Perforce staff MINGW port by Max Blagai.

Porting change documented in RELNOTES.
#6 1355 rmg Record integration of Change 281 by john_belmonte.
 (This was
actually dropped in as part of the Jam 2.3 release; the
present change serves to record the fact in the integration
history, only.)
#5 1319 rmg Jam 2.3 + Perforce's internal changes.

This change is a drop of the Perforce internal Jam changes
since the 2.3 public release. The individual changes
represented herein are preserved in the
//guest/richard_geiger/intjam/ branch.

The intent of this drop is to provide a base, from which other
contributors' Jam branches may be integrated into. It is not
intended to become a packaged release in this state. We will
be integrating changes from other users prior to creating the
next packaged release.

Please refer to the src/RELNOTES file for an overview of the
changes present in this integration.

  - Richard Geiger
  Open Source Engineer at Perforce
#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