Makefile revision 68271d9e99c74ee948081ec760827ff0567673d1
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# This file and its contents are supplied under the terms of the
32098293b78922a5fbd10906afa28624820d3756Tinderbox User# Common Development and Distribution License ("CDDL"), version 1.0.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# You may only use this file in accordance with the terms of version
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# 1.0 of the CDDL.
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# A full copy of the text of the CDDL should have accompanied this
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# source. A copy of the CDDL is also available via the Internet at
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright 2011 EveryCity Ltd. All rights reserved.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# Copyright 2013 DEY Storage Systems, Inc.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# Copyright 2015 Joyent, Inc.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan HuntOBJS = charmap.o collate.o ctype.o messages.o monetary.o numeric.o time.o \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserNATIVE_CPPFLAGS += -I $(SRC)/lib/libc/port/locale
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Unfortunately, we have a chicken and an egg problem. libavl is becoming
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# public, which means that all of its symbols are in a version that the build
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# machine doesn't have and traditionally there has been no libavl compilation
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# symlink. Therefore, because we know that we only support building on illumos,
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# we regrettably have to link explicitly against the full library path. Sorry.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox UserCLEANFILES = $(NOBJS) $(OBJS) parser.tab.c parser.tab.h
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User 8859-11.cm 8859-13.cm 8859-14.cm 8859-15.cm \
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User es_AR es_BO es_CL es_CO es_EC es_ES es_GT es_MX es_NI es_PA \
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt# All new locales should be in UTF-8 form.
b66b333f59cf51ef87f973084a5023acd9317fb2Evan Hunt ar_AE ar_BH ar_DZ ar_EG ar_IQ ar_JO ar_KW ar_LB ar_LY ar_MA \
cs_CZ \
da_DK \
es_VE \
et_EE \
fi_FI \
fil_PH \
ga_IE \
gu_IN \
he_IL \
hi_IN \
hr_HR \
hu_HU \
hy_AM \
id_ID \
ii_CN \
is_IS \
ja_JP \
ka_GE \
kk_KZ \
km_KH \
kn_IN \
ko_KR \
kok_IN \
lt_LT \
lv_LV \
mk_MK \
ml_IN \
mr_IN \
ms_MY \
mt_MT \
nb_NO \
nn_NO \
or_IN \
pl_PL \
sa_IN \
si_LK \
sk_SK \
sl_SI \
sq_AL \
te_IN \
th_TH \
tr_TR \
uk_UA \
ug_CN \
vi_VN \
LOCNAMES = \
$(ISO8859_1_LOCALES:%=%.ISO8859-1) \
$(ISO8859_2_LOCALES:%=%.ISO8859-2) \
$(ISO8859_5_LOCALES:%=%.ISO8859-5) \
$(ISO8859_6_LOCALES:%=%.ISO8859-6) \
$(ISO8859_7_LOCALES:%=%.ISO8859-7) \
$(ISO8859_9_LOCALES:%=%.ISO8859-9) \
$(ISO8859_11_LOCALES:%=%.ISO8859-11) \
$(ISO8859_13_LOCALES:%=%.ISO8859-13) \
$(ISO8859_15_LOCALES:%=%.ISO8859-15) \
$(KOI8_R_LOCALES:%=%.KOI8-R) \
$(GB18030_LOCALES:%=%.GB18030) \
$(UTF_8_LOCALES:%=%.UTF-8)
CATDIRS = \
$(LOCDIRS:%=%/LC_COLLATE) \
$(LOCDIRS:%=%/LC_MESSAGES) \
$(LOCDIRS:%=%/LC_MONETARY) \
$(LOCDIRS:%=%/LC_NUMERIC) \
$(NDIR):
mkdir $@
$(NDIR)/%.o: %.c
$(POST_PROCESS)
$(POST_PROCESS)
$(RM) $@
$(INS.dir)
$(INS.file)
# with UTF-8.ct we compiled
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(TOUCH) $@
$(RM) $@
$(RM) $@