diff -N -r -u -b boost_1_34_0/tools/jam/src/Jambase boost_1_34_0_amiga/tools/jam/src/Jambase --- boost_1_34_0/tools/jam/src/Jambase 2006-03-15 01:43:12 +++ boost_1_34_0_amiga/tools/jam/src/Jambase 2007-05-12 20:03:48 @@ -854,6 +854,22 @@ NOARSCAN ?= true ; STDHDRS ?= /boot/develop/headers/posix ; } +else if $(OS) = AMIGA +{ + BINDIR ?= /sdk/local/c ; + C++ ?= g++ ; + C++FLAGS ?= -mcrt=clib2 ; + CC ?= gcc ; + CCFLAGS ?= -mcrt=clib2 ; + EXEMODE ?= ; + FILEMODE ?= ; + LIBDIR ?= /sdk/local/clib2/lib ; + LINKLIBS ?= -lunix ; + NOARSCAN ?= true ; + YACC ?= yacc ; + YACCFILES ?= y.tab ; + YACCFLAGS ?= -d ; +} else if $(UNIX) { switch $(OS) @@ -861,10 +877,6 @@ case AIX : LINKLIBS ?= -lbsd ; - case AMIGA : - CC ?= gcc ; - YACC ?= "bison -y" ; - case CYGWIN : CC ?= gcc ; CCFLAGS += -D__cygwin__ ; @@ -2433,6 +2445,18 @@ } # +# AmigaOS specific actions +# + +else if $(AMIGA) +{ + actions Link bind NEEDLIBS + { + $(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS) -lunix + } +} + +# # Backwards compatibility with jam 1, where rules were uppercased. #