Changeset 2088


Ignore:
Timestamp:
Jun 27, 2005, 5:04:42 AM (20 years ago)
Author:
bird
Message:

libc configuring...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/Makefile

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r2087 r2088  
    3333_TARGET_OK := ok
    3434CFLAGS     += \
     35
     36
     37
     38
    3539        -DHAVE_STRNLEN \
    3640        -DHAVE_STPNCPY \
     
    4145        -DHAVE_STRNDUP \
    4246        -DHAVE_MEMPCPY \
    43         -DHAVE_NEWLOCALE
     47        -DHAVE_NEWLOCALE \
     48        -DHAVE_64BIT_FILEIO_TYPES \
     49        -DHAVE_SWPRINTF
    4450endif
    4551
    4652ifeq ($(TARGET),innoteklibc)
    4753SKIPPED    := \
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
    4866        \
    4967        string/test-ffs.c \
     
    5270        string/tst-strfry.c \
    5371        \
     72
     73
    5474        time/tst_wcsftime.c \
    5575        time/tst-ftime_l.c \
     
    6787        wcsmbs/tst-wcrtomb.c \
    6888        time/tst-posixtz.c \
    69         time/tst-strftime.c
     89        time/tst-strftime.c \
     90        stdlib/tst-bsearch.c \
     91        stdlib/tst-qsort.c \
     92        stdlib/tst-putenv.c \
     93        stdio-common/test-popen.c \
     94        stdio-common/test-vfprintf.c \
     95        stdio-common/tst-fphex.c \
     96    stdio-common/tstscanf.c
     97       
     98# NOTES:       
     99# stdio-common/test-vfprintf.c:         File duplication and truncation needs exploring with regards to file position!
     100# stdio-common/tst-fphex.c:                     We don't implement %a.
     101# stdio-common/tst-sscanf.c:            Is doing some thousand separator and internationalization stuff which we don't implement.
     102# stdio-common/tstscanf.c:                      two cases of sscan working in three different ways depending on glibc, bsd or libc. cool!
    70103       
    71104CFLAGS     += -Zomf -g \
     
    101134        catgets/test-gencat.c
    102135_TARGET_OK := ok
    103 CFLAGS     += -I sysdeps/unix/bsd -D__BSD__
     136CFLAGS     += -I sysdeps/unix/bsd -D__BSD__ \
     137        -DHAVE_ASPRINTF \
     138        -DHAVE_SWPRINTF \
     139        -DHAVE_GETLINE
    104140endif
    105141
     
    473509#        stdio-common/tst-printf.c
    474510#        stdio-common/tst-printf.sh
    475 #       stdio-common/tst-unbputc.c
     511#       stdio-common/tst-unbputc.c
    476512#        stdio-common/tst-unbputc.sh
    477513
     
    646682$(OUTDIR)/$2.result: $1 $(OUTDIR)/$(dir $1).dir_created $($(1)_DEPS)
    647683        @echo "########## $1"; \
    648         echo  "##  BUILDING: $$(CC) $$(CFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<"; \
    649         if $$(CC) $$(CFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<; then \
    650                 echo "##  RUNNING : LC_ALL=C $($1_ENVS) $(OUTDIR)/$2.exe $($1_ARGS) $(if $($(1)_INPUT), < $($(1)_INPUT),)"; \
    651                 if LC_ALL=C $($1_ENVS) $(OUTDIR)/$2.exe $($1_ARGS) $(if $($(1)_INPUT), < $($(1)_INPUT),); then\
     684        echo  "##  BUILDING: $$(CC) $$(CFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<"; \
     685        if $$(CC) $$(CFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<; then \
     686                echo "##  RUNNING : ) $(if $($(1)_INPUT), < $($(1)_INPUT),)"; \
     687                if ) $(if $($(1)_INPUT), < $($(1)_INPUT),); then\
    652688                        echo OK > $$@; \
    653689                        printf "########## %-26s - SUCCESS\n" "$1"; \
Note: See TracChangeset for help on using the changeset viewer.