Ticket #1031: tools-jam-src-jambase.c.patch

File tools-jam-src-jambase.c.patch, 1.4 KB (added by ssolie, 15 years ago)
  • tools/jam/src/jambase.c

    diff -N -r -u -b boost_1_34_0/tools/jam/src/jambase.c boost_1_34_0_amiga/tools/jam/src/jambase.c
    old new  
    555555"NOARSCAN    ?= true ;\n",
    556556"STDHDRS     ?= /boot/develop/headers/posix ;\n",
    557557"}\n",
     558"else if $(OS) = AMIGA\n",
     559"{\n",
     560"BINDIR      ?= /sdk/local/c ;\n",
     561"C++         ?= g++ ;\n",
     562"C++FLAGS    ?= -mcrt=clib2 ;\n",
     563"CC          ?= gcc ;\n",
     564"CCFLAGS     ?= -mcrt=clib2 ;\n",
     565"EXEMODE     ?= ;\n",
     566"FILEMODE    ?= ;\n",
     567"LIBDIR      ?= /sdk/local/clib2/lib ;\n",
     568"LINKLIBS    ?= -lunix ;\n",
     569"NOARSCAN    ?= true ;\n",
     570"YACC        ?= yacc ;\n",
     571"YACCFILES   ?= y.tab ;\n",
     572"YACCFLAGS   ?= -d ;\n",
     573"}\n",
    558574"else if $(UNIX)\n",
    559575"{\n",
    560576"switch $(OS)\n",
    561577"{\n",
    562578"case AIX :\n",
    563579"LINKLIBS    ?= -lbsd ;\n",
    564 "case AMIGA :\n",
    565 "CC          ?= gcc ;\n",
    566 "YACC        ?= \"bison -y\" ;\n",
    567580"case CYGWIN :   \n",
    568581"CC          ?= gcc ;\n",
    569582"CCFLAGS     += -D__cygwin__ ;\n",
     
    16601673"$(LINK) -o $(<) $(LINKFLAGS) $(>) $(NEEDLIBS) \"$(LINKLIBS)\"\n",
    16611674"}\n",
    16621675"}\n",
     1676"else if $(AMIGA)\n",
     1677"{\n",
     1678"actions Link bind NEEDLIBS\n",
     1679"{\n",
     1680"$(LINK) $(LINKFLAGS) -o $(<) $(UNDEFS) $(>) $(NEEDLIBS) $(LINKLIBS) -lunix\n",
     1681"}\n",
     1682"}\n",
    16631683"rule BULK { Bulk $(<) : $(>) ; }\n",
    16641684"rule FILE { File $(<) : $(>) ; }\n",
    16651685"rule HDRRULE { HdrRule $(<) : $(>) ; }\n",