Home | History | Annotate | Line # | Download | only in locale
Makefile.inc revision 1.16.8.1
      1 #	from: @(#)Makefile.inc	5.1 (Berkeley) 2/18/91
      2 #	$NetBSD: Makefile.inc,v 1.16.8.1 2000/05/28 22:41:03 minoura Exp $
      3 
      4 # locale sources
      5 .PATH: ${ARCHDIR}/locale ${.CURDIR}/locale
      6 
      7 .if !defined(WITH_RUNE)
      8 WITH_RUNE= no
      9 .endif
     10 .if !defined(DLRUNE)
     11 DLRUNE= no
     12 .endif
     13 
     14 SRCS+=	_def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
     15 	localeconv.c nl_langinfo.c setlocale.c setlocale_sb.c \
     16 	collate.c collcmp.c
     17 
     18 .if ${WITH_RUNE} != "yes"
     19 SRCS+=	ctypeio.c wcsmbs_sb.c
     20 .else
     21 # WITH_RUNE == "yes"
     22 SRCS+=	multibyte.c iswctype.c tolowermb.c touppermb.c \
     23 	runetable.c lconv.c localeconv.c runenone.c rune.c \
     24 	setrunelocale.c runeglue.c runetypemb.c timelocal.c \
     25 	wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslen.c wcsncat.c \
     26 	wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wmemchr.c \
     27 	wmemcmp.c wmemcpy.c wmemmove.c wmemset.c wcswidth.c
     28 CPPFLAGS+= -DWITH_RUNE
     29 .if ${DLRUNE} == "yes"
     30 CPPFLAGS+= -DDLRUNE -DRUNEMOD_MAJOR=1
     31 .if !defined(OBJECT_FMT) || ${OBJECT_FMT} == "aout"
     32 CPPFLAGS+= -DDLRUNE_AOUT
     33 .endif # a.out
     34 .else
     35 # DLRUNE != "yes"
     36 SRCS+= big5.c euc.c euctw.c iso2022.c mskanji.c utf2.c
     37 CPPFLAGS+= -DXPG4
     38 .endif # DLRUNE != "yes"
     39 .endif # WITH_RUNE == "yes"
     40 
     41 MAN+=	nl_langinfo.3 setlocale.3
     42 
     43 MLINKS+=setlocale.3 localeconv.3
     44 
     45