Ignore:
Timestamp:
Jun 17, 2005, 6:32:39 AM (20 years ago)
Author:
bird
Message:

Porting to 64-bit FreeBSD...

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r2043 r2044  
    55all: test-logged
    66
     7#
     8# Basic setup.
     9#
     10OUTDIR = ./out
     11TS     = $(shell date '+"%Y-%m-%d-%H-%M-%S"')
     12LOG    = $(OUTDIR)/$(1)-$(TS).log
     13CC     = gcc
     14CFLAGS = -O -D_GNU_SOURCE -std=gnu99 -DOBJPFX=\"$(OUTDIR)/\"
     15ifeq ($(shell uname -m),amd64)
     16CFLAGS+= -I sysdeps/x86_64 -I .
     17else
     18CFLAGS+= -I sysdeps/i386/i686 -I sysdeps/i386 -I .
     19endif
     20
    721
    822#
     
    1024#
    1125ifeq ($(TARGET),)
    12 TARGET     := glibc
     26TARGET     := bsd
    1327endif
    1428
     
    1731EXCEPTIONS :=
    1832_TARGET_OK := ok
     33CFLAGS     += \
     34        -DHAVE_STRNLEN \
     35        -DHAVE_STPNCPY \
     36        -DHAVE_STRCHRNUL \
     37        -DHAVE_RAWMEMCHR \
     38        -DHAVE_MEMRCHR \
     39        -DHAVE_STRSEP \
     40        -DHAVE_STRNDUP \
     41        -DHAVE_MEMPCPY \
     42        -DHAVE_NEWLOCALE
    1943endif
    2044
     
    2650
    2751ifeq ($(TARGET),bsd)
    28 SKIPPED    :=
     52SKIPPED    := \
     53        string/test-mempcpy.c \
     54        string/test-stpncpy.c \
     55        string/tst-bswap.c \
     56        string/tst-strfry.c
    2957EXCEPTIONS :=
    3058_TARGET_OK := ok
     59CFLAGS     += -I sysdeps/unix/bsd -D__BSD__
    3160endif
    3261
     
    3564endif
    3665
    37 
    38 #
    39 # Basic setup.
    40 #
    41 OUTDIR = ./out
    42 TS     = $(shell date '+"%Y-%m-%d-%H-%M-%S"')
    43 LOG    = $(OUTDIR)/$(1)-$(TS).log
    44 CC     = gcc
    45 CFLAGS = -O -D_GNU_SOURCE -std=gnu99 -I sysdeps/i386/i686 -I sysdeps/i386 -I . -DOBJPFX=\"$(OUTDIR)/\"
    4666
    4767nothing:
Note: See TracChangeset for help on using the changeset viewer.