Changeset 121

Show
Ignore:
Timestamp:
05/20/08 21:14:04 (6 months ago)
Author:
matthiasm
Message:

Adding libnewt to default build. Fixing NSOF reading bug with missing precedence.

Location:
NEWT0/branches/DyneTK
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/branches/DyneTK/Makefile.in

    r115 r121  
    1 DEBUG = # -g 
     1 
     2# use the first setting for debugging and the second setting for optimized compilation 
     3DEBUG = -g 
     4#DEBUG = -O2 
    25 
    36 
     
    2427EXEEXT = @EXEEXT@ 
    2528LDIMPORT = @NEWT_LDIMPORT@ 
    26 LDFLAGS = $(DEBUG) -O2 @LDFLAGS@ @NEWT_LDFLAGS@ 
     29LDFLAGS = $(DEBUG) @LDFLAGS@ @NEWT_LDFLAGS@ 
    2730LDSHARED = @LIBNEWT_LDSHARED@ 
    2831 
     
    3942VPATH = $(core) 
    4043STRIP = strip -x 
    41 CFLAGS = $(DEBUG) $(DEFS) -O2 -pipe 
     44CFLAGS = $(DEBUG) $(DEFS) -pipe 
    4245CPPFLAGS = -I. -I$(srcdir) -I$(core)/incs -I$(srcdir)/parser -I$(yytmp) @CPPFLAGS@ 
    4346 
     
    113116### all 
    114117 
    115 all: newt @MAKE_EXT@ @MAKE_CONTRIB@ 
     118all: libnewt newt @MAKE_EXT@ @MAKE_CONTRIB@ 
    116119 
    117120### make directory 
  • NEWT0/branches/DyneTK/contrib/inwt/Makefile

    r103 r121  
    1 prefix      = /opt/local 
     1prefix      = /usr/local 
    22exec_prefix = ${prefix} 
    33bindir      = ${exec_prefix}/bin 
  • NEWT0/branches/DyneTK/src/newt_core/NewtNSOF.c

    r113 r121  
    954954    xlen = NSOFReadXlong(nsof); 
    955955 
    956     if (xlen == 0) 
    957         return NcMakeFrame(); 
     956    if (xlen == 0) { 
     957        r = NcMakeFrame(); 
     958        NcAddArraySlot(nsof->precedents, r); 
     959        return r; 
     960    } 
    958961 
    959962    map = NewtMakeMap(kNewtRefNIL, xlen, NULL);