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